Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4267
-gerrit
commit f824551b758e54b8521333ce00d4f7ac20b1482e Author: Vladimir Serbinenko phcoder@gmail.com Date: Sun Nov 24 09:41:32 2013 +0100
no-car/cbmemc: Fix compilation
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 phcoder@gmail.com --- 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 9e2f14e..69332aa 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