From 4ec3d9d69efddf23de13ffa70c56cad478b219e8 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Fri, 1 Dec 2017 19:01:55 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/22695 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/gru/Kconfig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/google/gru') diff --git a/src/mainboard/google/gru/Kconfig b/src/mainboard/google/gru/Kconfig index 0a17138fb8..bbaec7261c 100644 --- a/src/mainboard/google/gru/Kconfig +++ b/src/mainboard/google/gru/Kconfig @@ -42,7 +42,6 @@ config GRU_BASEBOARD_SCARLET config BOARD_SPECIFIC_OPTIONS def_bool y - select BOARD_ID_AUTO select BOARD_ROMSIZE_KB_8192 select COMMON_CBFS_SPI_WRAPPER select EC_GOOGLE_CHROMEEC @@ -52,7 +51,6 @@ config BOARD_SPECIFIC_OPTIONS select MAINBOARD_FORCE_NATIVE_VGA_INIT select MAINBOARD_HAS_CHROMEOS select MAINBOARD_HAS_NATIVE_VGA_INIT - select RAM_CODE_SUPPORT select RK3399_SPREAD_SPECTRUM_DDR if BOARD_GOOGLE_BOB select RTC select SOC_ROCKCHIP_RK3399 -- cgit v1.2.3