]> git.sur5r.net Git - u-boot/commit
83xx: mpc8315erdb: fix silly thinko in fdt_tsec1_fixup
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 10 Jul 2008 13:20:51 +0000 (17:20 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Wed, 16 Jul 2008 19:16:44 +0000 (14:16 -0500)
commit021f6df6e96af5b387810cf96d24848da1faa55c
tree95607c6bc5b38d41233690a3165dd2e1f1f117a6
parent25f5f0d49a3ae89bf4396f2557ce98debfef21da
83xx: mpc8315erdb: fix silly thinko in fdt_tsec1_fixup

The thinko was quite silly indeed, I messed with !ptr. Normally this
would trigger some fault, but in U-Boot NULL pointer is equal to phys
0, so the code was working still, just didn't actually test mpc8315erdb
environment variable value. Heh.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
board/freescale/mpc8315erdb/mpc8315erdb.c