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/veyron_mickey/Kconfig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/google/veyron_mickey/Kconfig') diff --git a/src/mainboard/google/veyron_mickey/Kconfig b/src/mainboard/google/veyron_mickey/Kconfig index 2df0688a1f..6b7b4334af 100644 --- a/src/mainboard/google/veyron_mickey/Kconfig +++ b/src/mainboard/google/veyron_mickey/Kconfig @@ -17,12 +17,10 @@ if BOARD_GOOGLE_VEYRON_MICKEY config BOARD_SPECIFIC_OPTIONS # dummy def_bool y - select BOARD_ID_AUTO select BOARD_ROMSIZE_KB_4096 select COMMON_CBFS_SPI_WRAPPER select HAVE_HARD_RESET select MAINBOARD_HAS_CHROMEOS - select RAM_CODE_SUPPORT select SOC_ROCKCHIP_RK3288 select SPI_FLASH select SPI_FLASH_GIGADEVICE -- cgit v1.2.3