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.b...@aribaud.net>
Signed-off-by: Tom Rini<tr...@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 <h...@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to