]> git.sur5r.net Git - u-boot/commit
Blackfin: fix crash when booting from external memory
authorMike Frysinger <vapier@gentoo.org>
Fri, 13 Feb 2009 22:10:58 +0000 (17:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 2 Apr 2009 10:41:56 +0000 (06:41 -0400)
commitad9073211ca9e62162a39851e082b8d07a662fb6
treeba4c415b936854441c8860f720d20858d3387021
parent84a9dda324c3faa56be14449d7519b993d9397a9
Blackfin: fix crash when booting from external memory

When testing a u-boot binary that hasn't been booted from the bootrom, we
have to make sure the bootstruct structure has sane storage space.  If we
don't, the initcode will crash when it tries to dereference an invalid
pointer.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/initcode.c
cpu/blackfin/start.S