commit | 7ccd4126ce2039c7536f5979fe995349c9925817 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan.agner@toradex.com> | Mon Nov 21 10:58:51 2016 -0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 28 19:49:49 2016 -0500 |
tree | 95fe6809915649536a3e386dfea83f67b5ce3389 | |
parent | 86811f20a7b425c1ba6f30720853d3d181f154b3 [diff] |
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 <stefan.agner@toradex.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com>