From 7841ece730ea42e9c432fad788b8c35f8ff716e2 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sun, 9 Mar 2014 13:46:48 +0200 Subject: CBMEM console: Fix build for ARM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This preprocessor guard was used to disable CBMEM console from romstage of ROMCC boards. It unintentionally disabled it for ARM too as they do not have CACHE_AS_RAM selected. Option EARLY_CBMEM_INIT implies CAR migration which is required to have CBMEM console in romstage. This change should have been done in commit f8bf5a10 already, but we missed it. Change-Id: I03e95183be0e78bc7dd439d5fef5b10e54966dc3 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5356 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/include/console/cbmem_console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/console/cbmem_console.h') diff --git a/src/include/console/cbmem_console.h b/src/include/console/cbmem_console.h index 69332aa937..4f4a54f6b7 100644 --- a/src/include/console/cbmem_console.h +++ b/src/include/console/cbmem_console.h @@ -19,7 +19,7 @@ #ifndef _CONSOLE_CBMEM_CONSOLE_H_ #define _CONSOLE_CBMEM_CONSOLE_H_ -#if CONFIG_CACHE_AS_RAM || !defined(__PRE_RAM__) +#if CONFIG_EARLY_CBMEM_INIT || !defined(__PRE_RAM__) void cbmemc_init(void); void cbmemc_reinit(void); void cbmemc_tx_byte(unsigned char data); -- cgit v1.2.3