]> Git Repo - u-boot.git/commit
spl: add RAM boot device only if it is actually defined
authorStefan Agner <[email protected]>
Mon, 21 Nov 2016 18:58:51 +0000 (10:58 -0800)
committerTom Rini <[email protected]>
Tue, 29 Nov 2016 00:49:49 +0000 (19:49 -0500)
commit34ee947ac3be7a79b89fa8bb690379651cc9598a
tree95fe6809915649536a3e386dfea83f67b5ce3389
parent41987784679955c23417b16b8d2b6a35134dc021
spl: add RAM boot device only if it is actually defined

Some devices (e.g. dra7xx) support loading to RAM using DFU without
having direct boot from RAM support. Make sure the linker list
does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_DEVICE is not
enabled.

Fixes: 98136b2f26fa ("spl: Convert spl_ram_load_image() to use linker list")
Signed-off-by: Stefan Agner <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
common/spl/spl.c
This page took 0.034347 seconds and 4 git commands to generate.