diff options
author | Greg Malysa <greg.malysa@timesys.com> | 2024-03-19 22:16:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-10 09:34:53 -0600 |
commit | bcdd02328e65130915965fdc378c89bb8e2c08bc (patch) | |
tree | b6e58fc635f5e803098d2800d112516f5887c87d /Kconfig | |
parent | e8ff287595465fd8c68c2f1a0c9577825263a8a8 (diff) | |
download | u-boot-bcdd02328e65130915965fdc378c89bb8e2c08bc.tar.gz u-boot-bcdd02328e65130915965fdc378c89bb8e2c08bc.tar.bz2 u-boot-bcdd02328e65130915965fdc378c89bb8e2c08bc.zip |
build: Revive and update LDR format support
LDR format files are used primarily by Analog Devices processors but may
be of interest to other vendors. Previously support existed for this
format as part of the U-Boot build, but it has been unmaintained and
unused for a long time. In preparation for adding support for modern ADI
processors that use LDR, modernize the LDR support:
- Introduce CONFIG_LDR_CPU as the CPU string recognized by the LDR tool
may not be the same as CONFIG_CPU
- Add an SPL target that repackages u-boot-spl inside an LDR file
An almost identical target for packaging u-boot into an LDR file already
exists and did not need to be created.
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -715,6 +715,20 @@ config SYS_CLK_FREQ A static value for the CPU frequency. Note that if not required for a given SoC, this can be left at 0. +config HAS_LDR + bool + help + Enables building .ldr targets for U-Boot and SPL. This does not + automatically build any additional targets with make or buildman. + +config LDR_CPU + string "CPU name to be passed to LDR utility." + depends on HAS_LDR + help + Set the CPU name for the -T parameter in the LDR utility. This is + generally used on processors from Analog Devices, but may be also + be useful for other vendors. + source "api/Kconfig" endmenu # General setup |