diff options
| author | Tom Rini <[email protected]> | 2021-08-30 09:16:31 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-07 16:22:31 -0400 |
| commit | 87e8d38a3977ee284e1bbaad03f08d652ca1c7ec (patch) | |
| tree | 7e698249cfd388f894925753b990b1961484c50b /arch | |
| parent | 9774462e34faaa64a91eb9c68b438a52d22bba6a (diff) | |
arm: Add Kconfig entry for MACH_TYPE
As part of migrating support for ATAGs to Kconfig, add an option for
setting and passing MACH_TYPE.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dbf5ceb9d25..21f17c202f6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1937,6 +1937,20 @@ config SERIAL_TAG bool "Pass system serial number via ATAG" depends on SUPPORT_PASSING_ATAGS +config STATIC_MACH_TYPE + bool "Statically define the Machine ID number" + help + When booting via ATAGs, enable this option if we know the correct + machine ID number to use at compile time. Some systems will be + passed the number dynamically by whatever loads U-Boot. + +config MACH_TYPE + int "Machine ID number" + depends on STATIC_MACH_TYPE + help + When booting via ATAGs, the machine type must be passed as a number. + For the full list see https://www.arm.linux.org.uk/developer/machines + config ARCH_SUPPORT_TFABOOT bool |
