From e937513352ca1f5f9ac3e0e7d554cd649f55cb5e Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Sun, 4 Sep 2016 08:38:33 -0600 Subject: Kconfig: Relocate DEVICETREE symbol Place config DEVICETREE after the sourced mainboard Kconfig. This gives the mainboard the opportunity to set a unique default value. Change-Id: Id877e1e8f555334a99b6c0ee1782d06a4a2b7a04 Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/16493 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Martin Roth Reviewed-by: Aaron Durbin --- src/Kconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Kconfig b/src/Kconfig index 64da06150e..a43a9796d0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -341,17 +341,6 @@ config BOARD_ID_STRING This string is placed in the 'board_id' CBFS file for indicating board type. -config DEVICETREE - string - default "devicetree.cb" - help - This symbol allows mainboards to select a different file under their - mainboard directory for the devicetree.cb file. This allows the board - variants that need different devicetrees to be in the same directory. - - Examples: "devicetree.variant.cb" - "variant/devicetree.cb" - config RAM_CODE_SUPPORT bool default n @@ -382,6 +371,17 @@ menu "Mainboard" source "src/mainboard/Kconfig" +config DEVICETREE + string + default "devicetree.cb" + help + This symbol allows mainboards to select a different file under their + mainboard directory for the devicetree.cb file. This allows the board + variants that need different devicetrees to be in the same directory. + + Examples: "devicetree.variant.cb" + "variant/devicetree.cb" + # defaults for CBFS_SIZE are set at the end of the file. config CBFS_SIZE hex "Size of CBFS filesystem in ROM" -- cgit v1.2.3