HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45136 )
Change subject: src/Kconfig: Move mainboards specific symbols to mb/Kconfig
......................................................................
src/Kconfig: Move mainboards specific symbols to mb/Kconfig
Now, symbols are visible in kconfig tools defined in mb/Kconfig
instead of odd.
Change-Id: If09dd487e940e18b11ac12e1c14f725b22b5bf70
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/Kconfig
M src/mainboard/Kconfig
2 files changed, 45 insertions(+), 45 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/45136/1
diff --git a/src/Kconfig b/src/Kconfig
index d6b703b..b9b2992 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -441,51 +441,6 @@
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"
-
-config OVERRIDE_DEVICETREE
- string
- default ""
- help
- This symbol allows variants to provide an override devicetree file to
- override the registers and/or add new devices on top of the ones
- provided by baseboard devicetree using CONFIG_DEVICETREE.
-
- Examples: "devicetree.variant-override.cb"
- "variant/devicetree-override.cb"
-
-config FMDFILE
- string "fmap description file in fmd format"
- default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
- default ""
- help
- The build system creates a default FMAP from ROM_SIZE and CBFS_SIZE,
- but in some cases more complex setups are required.
- When an fmd is specified, it overrides the default format.
-
-config CBFS_SIZE
- hex "Size of CBFS filesystem in ROM"
- depends on FMDFILE = ""
- # Default value set at the end of the file
- help
- This is the part of the ROM actually managed by CBFS, located at the
- end of the ROM (passed through cbfstool -o) on x86 and at at the start
- of the ROM (passed through cbfstool -s) everywhere else. It defaults
- to span the whole ROM on all but Intel systems that use an Intel Firmware
- Descriptor. It can be overridden to make coreboot live alongside other
- components like ChromeOS's vboot/FMAP or Intel's IFD / ME / TXE
- binaries. This symbol should only be used to generate a default FMAP and
- is unused when a non-default fmd file is provided via CONFIG_FMDFILE.
-
endmenu
# load site-local kconfig to allow user specific defaults and overrides
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index be53982..eb45858 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -14,8 +14,53 @@
config MAINBOARD_FAMILY
string
+config FMDFILE
+ string "fmap description file in fmd format"
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS
+ default ""
+ help
+ The build system creates a default FMAP from ROM_SIZE and CBFS_SIZE,
+ but in some cases more complex setups are required.
+ When an fmd is specified, it overrides the default format.
+
+config CBFS_SIZE
+ hex "Size of CBFS filesystem in ROM"
+ depends on FMDFILE = ""
+ # Default value set at the end of the file
+ help
+ This is the part of the ROM actually managed by CBFS, located at the
+ end of the ROM (passed through cbfstool -o) on x86 and at at the start
+ of the ROM (passed through cbfstool -s) everywhere else. It defaults
+ to span the whole ROM on all but Intel systems that use an Intel Firmware
+ Descriptor. It can be overridden to make coreboot live alongside other
+ components like ChromeOS's vboot/FMAP or Intel's IFD / ME / TXE
+ binaries. This symbol should only be used to generate a default FMAP and
+ is unused when a non-default fmd file is provided via CONFIG_FMDFILE.
+
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"
+
+config OVERRIDE_DEVICETREE
+ string
+ default ""
+ help
+ This symbol allows variants to provide an override devicetree file to
+ override the registers and/or add new devices on top of the ones
+ provided by baseboard devicetree using CONFIG_DEVICETREE.
+
+ Examples: "devicetree.variant-override.cb"
+ "variant/devicetree-override.cb"
+
config BOARD_ROMSIZE_KB_64
bool
config BOARD_ROMSIZE_KB_128
--
To view, visit https://review.coreboot.org/c/coreboot/+/45136
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If09dd487e940e18b11ac12e1c14f725b22b5bf70
Gerrit-Change-Number: 45136
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange