[U-Boot] Kconfig options for several boards
Pascal.Linder at edu.hefr.ch
Thu Jun 6 11:40:08 UTC 2019
I would like to turn on configurations for several Keymile boards, which are all using the Kirkwood architecture. Now, I do not want to change every defconfig file one after the other. Until now, we have used a common header file, but with the conversion to Kconfig another method has to be elaborated.
While searching in the U-Boot source code, I found two different manners to fulfill our needs:
* in arch/arm/mach-kirkwood/Kconfig:
bool "KM_KIRKWOOD Board"
* in board/keymile/km_arm/Kconfig:
config BOARD_SPECIFIC_OPTIONS # dummy
Which one do you guys prefer and for what reasons? Also, I would like to know what the dummy keyword is doing in the second proposition (found that in every usage of BOARD_SPECIFIC_OPTIONS).
Many thanks in advance!
Student Telekommunikation Netzwerke und Sicherheit
More information about the U-Boot