diff options
author | Pali Rohár <pali@kernel.org> | 2023-01-08 13:46:14 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2023-03-01 06:39:17 +0100 |
commit | a190667b111bd2731a8cef173c0e84e14fb14218 (patch) | |
tree | a4442394a0b359fe58d2c0459faefeea54fc7b9c /api/api.c | |
parent | 53ee6ec82744666719f2c9954a013c4397b77be9 (diff) | |
download | u-boot-a190667b111bd2731a8cef173c0e84e14fb14218.tar.gz u-boot-a190667b111bd2731a8cef173c0e84e14fb14218.tar.bz2 u-boot-a190667b111bd2731a8cef173c0e84e14fb14218.zip |
tools: kwboot: Add check that kwbimage contains DDR init code
Some NOR images may be execute-in-place and do not contain DDR init code in
its kwbimage header. Such images cannot be booted over UART as BootROM
loads them to RAM. Add check that kwbimage contains DDR init code in its
header (either as binary code header or as the simple register-value set).
In some cases it is possible to load very small image into L2SRAM and when
DDR init code is not required. So check for L2SRAM load address and skip
DDR init code check in this case.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'api/api.c')
0 files changed, 0 insertions, 0 deletions