diff options
author | Julius Werner <jwerner@chromium.org> | 2017-12-01 19:01:55 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-12-07 01:19:27 +0000 |
commit | 4ec3d9d69efddf23de13ffa70c56cad478b219e8 (patch) | |
tree | 6aa35b04f717b8d1f0d8478923c6eb047c1f33fa /src/mainboard/google/smaug | |
parent | 2e029ac6a67a3d4ceb6e4825217e60f062ab7e65 (diff) |
boardid: Switch from Kconfig to weak functions
This patch switches the board_id and ram_code helper framework to use
weak functions rather than Kconfigs to determine whether the board
supplies these IDs. This cuts down on the amount of boilerplate Kconfigs
many boards have to set and also gives them more flexibility, such as
being able to determine at runtime whether a given ID is present.
Change-Id: I97d6d1103ebb2a2a7cf1ecfc45709c7e8c1a5cb0
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/22695
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/smaug')
-rw-r--r-- | src/mainboard/google/smaug/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/google/smaug/Kconfig b/src/mainboard/google/smaug/Kconfig index 06c1cba35e..cfd508fa79 100644 --- a/src/mainboard/google/smaug/Kconfig +++ b/src/mainboard/google/smaug/Kconfig @@ -17,7 +17,6 @@ if BOARD_GOOGLE_SMAUG config BOARD_SPECIFIC_OPTIONS # dummy def_bool y - select BOARD_ID_AUTO select BOARD_ROMSIZE_KB_16384 select COMMON_CBFS_SPI_WRAPPER select EC_GOOGLE_CHROMEEC @@ -30,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy select SOC_NVIDIA_TEGRA210 select MAINBOARD_DO_DSI_INIT select MAINBOARD_HAS_CHROMEOS - select RAM_CODE_SUPPORT config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES |