diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2014-07-10 15:24:18 -0700 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-03-05 17:33:38 +0100 |
commit | f752d013b0cede9e7d4a8463827b6ef3a8238e0d (patch) | |
tree | a497e435dd108ea2cd9cec2c4ae354cdeaf22d6c /src/mainboard/google/storm/Kconfig | |
parent | 30cda7e83f06f5a84eb9dfea3be9f435bb36d392 (diff) |
storm: Provide ability to build ap148 variant
With BOARD_VARIANT_AP148 configuration option enabled the image will
be built for 512MB DRAM instead of 1024MB and the
mainboard_part_number field in the lb_mainboard entry will be set to
"AP148" instead of "Storm".
BUG=chrome-os-partner:30440
TEST=manual
. built and booted both AP148 and proto0 all the way to reading the
kernel
. verified that the config file includes correct part number and
memory size
. verified proper machine IDs reportted when starting the kernel
Original-Change-Id: Ie609544a460fc991e66e8b95e8d7a3ed5e845f7b
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/207427
Original-Reviewed-by: Trevor Bourget <tbourget@codeaurora.org>
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit a80ab00f27eef9e3aa2f761659d6945d6fce2ef6)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: I477e672dc4f48fa9c9893bf0759704501ea07b1a
Reviewed-on: http://review.coreboot.org/8590
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/mainboard/google/storm/Kconfig')
-rw-r--r-- | src/mainboard/google/storm/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/storm/Kconfig b/src/mainboard/google/storm/Kconfig index 5e34802ddf..10c0f1bf3e 100644 --- a/src/mainboard/google/storm/Kconfig +++ b/src/mainboard/google/storm/Kconfig @@ -28,16 +28,22 @@ config BOARD_SPECIFIC_OPTIONS select SPI_FLASH select SPI_FLASH_SPANSION +config BOARD_VARIANT_AP148 + bool "pick this to build an image for ap148" + default n + config MAINBOARD_DIR string default google/storm config MAINBOARD_PART_NUMBER string + default "AP148" if BOARD_VARIANT_AP148 default "Storm" config DRAM_SIZE_MB int + default 512 if BOARD_VARIANT_AP148 default 1024 config DRAM_DMA_START |