[U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

Heiko Schocher hs at denx.de
Mon Aug 5 05:53:53 CEST 2013


Hello Tom,

Am 02.08.2013 22:26, schrieb Tom Rini:
> With device trees, boards do not always set CONFIG_MACH_TYPE now, so we
> must not rely on this define being set.  The kernel uses ~0 to see if we
> have a valid machine number or not, so set that as the default, invalid
> machine, id and only fix if CONFIG_MACH_TYPE is set.
>
> Cc: Albert ARIBAUD<albert.u.boot at aribaud.net>
> Signed-off-by: Tom Rini<trini at ti.com>
> ---
>   arch/arm/lib/spl.c |    7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)

Tested on an upcoming am1808 based board support.

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list