summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2013-11-24 09:41:32 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2013-11-24 18:25:18 +0100
commit5183ab64b5896133b1e02ed4687e27aaa41877e7 (patch)
tree3f0807d1b915ad1f8464bc55ec8bd59307fa2c85
parent990555b0efafa2860888eeb335477720f464acb2 (diff)
downloadcoreboot-5183ab64b5896133b1e02ed4687e27aaa41877e7.tar.xz
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> Reviewed-on: http://review.coreboot.org/4267 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/include/console/cbmem_console.h2
1 files changed, 1 insertions, 1 deletions
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