ROMCC boards: Fix builds with CBMEM console, timestamps or usbdebug
These features depend on CAR_GLOBAL region, which is not available when romstage is built with ROMCC. Exclude these from romstage, keep them available for ramstage. A follow-up patch will fix the dependencies and allows enabling these features in menuconfig. Change-Id: I9de5ad41ea733655a3fbdc734646f818e39cc471 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3919 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
@ -119,7 +119,7 @@ void console_init(void)
|
||||
#if CONFIG_SPKMODEM
|
||||
spkmodem_init();
|
||||
#endif
|
||||
#if CONFIG_USBDEBUG
|
||||
#if CONFIG_USBDEBUG && !defined(__BOOT_BLOCK__)
|
||||
usbdebug_init();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user