]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/configs/km/kmp204x-common.h
km: update the boot script to check for a DTB
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 13 Nov 2015 15:15:20 +0000 (16:15 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:50 +0000 (15:28 -0500)
commitc6d32dfd99f6e36c68c82d0d706158132a07e140
tree852e9e45c3607e12e5af9fca9b1ce9195edf46b6
parent7f70460eec5d628dd385fdd8668a8d7a36c83be9
km: update the boot script to check for a DTB

If a DTB is found with cramfsls, the bootscript continues as expected.
If none is found, the cramfsloadfdt and boot subbootcmds are updated to
not load the DTB from cramfs and not pass it to the kernel. The kernel
thus must have an appended DTB otherwise the boot will fail.

This is required for the km_kirkwood boards that must support .esw where
the DTB sometimes is appended (for backwards compatibility) and sometimes
is passed correctly (as we do now for all newer boards).

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h
include/configs/km/km_arm.h
include/configs/km/kmp204x-common.h