From 5183ab64b5896133b1e02ed4687e27aaa41877e7 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 24 Nov 2013 09:41:32 +0100 Subject: no-car/cbmemc: Fix compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the part !CAR && PRE_RAM is obviously meant as dummies. Unfortunately cbmemc_tx_byte has wrong number of arguments and hence causes compilation failure. Found out when compiling for vexpress-a9. Change-Id: Ic84d142bac5c455c2371fbc9439c898de04a974e Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/4267 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/include/console/cbmem_console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/console/cbmem_console.h b/src/include/console/cbmem_console.h index 9e2f14e715..69332aa937 100644 --- a/src/include/console/cbmem_console.h +++ b/src/include/console/cbmem_console.h @@ -26,7 +26,7 @@ void cbmemc_tx_byte(unsigned char data); #else #define cbmemc_init() #define cbmemc_reinit() -#define cbmemc_tx_byte() +#define cbmemc_tx_byte(x) #endif #endif -- cgit v1.2.3