nand: boot code cleanupdev-mini2440-stablemaster
commit18b91f222c2aebb2eb45cb7e6d5f58ca668e2aa2
authorMichel Pollet <buserror@gmail.com>
Thu, 13 Oct 2011 11:24:48 +0000 (13 12:24 +0100)
committerMichel Pollet <buserror@gmail.com>
Thu, 13 Oct 2011 11:24:48 +0000 (13 12:24 +0100)
tree49d2621e0dcc3ad4ebdf29c6f7935fa000899dbd
parentc3a5c4f0211c7dc072c1f53817e50af99074edb5
nand: boot code cleanup

Refactored the init phase added a MINI2440_BOOT=nor/nand environment
variable to act like the hardware switch in the real board, and added
a few warnings for when the image doesn't match what's needed.

Signed-off-by: Michel Pollet <buserror@gmail.com>
hw/mini2440.c
hw/nand.c
mini2440/mini2440_start.sh