diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-03-09 13:46:48 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-03-10 15:30:44 +0100 |
commit | 7841ece730ea42e9c432fad788b8c35f8ff716e2 (patch) | |
tree | 2baf43ac47f661cef73c9617bb14b4884cbf3da2 /src/include/console | |
parent | afc62a7631b92ab43774555552eb6a5ec0c4a7cb (diff) | |
download | coreboot-7841ece730ea42e9c432fad788b8c35f8ff716e2.tar.xz |
CBMEM console: Fix build for ARM
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 <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5356
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/include/console')
-rw-r--r-- | src/include/console/cbmem_console.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |