diff options
| author | Tom Rini <trini@ti.com> | 2013-08-09 11:22:15 -0400 |
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-08-15 18:38:35 -0400 |
| commit | ec101fdb8d419975c7722c1d23470d9674350c3c (patch) | |
| tree | b39ba93a3255302d8a8c0bfcbe41fdd32f755205 /arch/arm/lib/div0.c | |
| parent | 4db4076206d643065c6cd5b87a7b014e15ff17e0 (diff) | |
| download | olio-uboot-2014.01-ec101fdb8d419975c7722c1d23470d9674350c3c.tar.xz olio-uboot-2014.01-ec101fdb8d419975c7722c1d23470d9674350c3c.zip | |
arm: spl: For Falcon Mode, set a default machid of ~0
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.
Acked-by: Dan Murphy <dmurphy@ti.com>
Tested-by: Heiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/lib/div0.c')
0 files changed, 0 insertions, 0 deletions