58c3938705
This patch attempts to finish the separation between CONFIG_VBOOT and CONFIG_CHROMEOS by moving the remaining options and code (including image generation code for things like FWID and GBB flags, which are intrinsic to vboot itself) from src/vendorcode/google/chromeos to src/vboot. Also taking this opportunity to namespace all VBOOT Kconfig options, and clean up menuconfig visibility for them (i.e. some options were visible even though they were tied to the hardware while others were invisible even though it might make sense to change them). CQ-DEPEND=CL:459088 Change-Id: I3e2e31150ebf5a96b6fe507ebeb53a41ecf88122 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/18984 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
48 lines
1 KiB
Text
48 lines
1 KiB
Text
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2016 Marvell, Inc.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
|
|
if BOARD_GOOGLE_ROTOR
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select SOC_MARVELL_MVMAP2315
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select BOARD_ROMSIZE_KB_4096
|
|
|
|
config VBOOT
|
|
select VBOOT_MOCK_SECDATA
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default google/rotor
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "rotor"
|
|
|
|
config GBB_HWID
|
|
string
|
|
depends on CHROMEOS
|
|
default "ROTOR TEST 1234"
|
|
|
|
config VBOOT_FWID_MODEL
|
|
string
|
|
default "Marvell_Rotor"
|
|
|
|
config DRAM_SIZE_MB
|
|
int
|
|
default 232
|
|
|
|
endif # BOARD_MARVELL_ROTOR
|