soc/intel/apollolake: Avoid UART BAR relocation at ramstage

UART bar gets overwritten during resource allocation stage. As result
the serial driver ends up using stale BAR so serial output does not
work. This driver simply tells resource allocator not to change BAR
of UART device.

Change-Id: I81f4f04089106c80bea97f0bbaba890df00c8ac5
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/13997
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Andrey Petrov
2016-03-08 16:12:06 -08:00
committed by Aaron Durbin
parent e953dce7c4
commit 1e70cda320
2 changed files with 57 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ ramstage-y += gpio.c
ramstage-$(CONFIG_SOC_UART_DEBUG) += uart_early.c
ramstage-y += memmap.c
ramstage-y += mmap_boot.c
ramstage-y += uart.c
CPPFLAGS_common += -I$(src)/soc/intel/apollolake/include