]> git.sur5r.net Git - u-boot/blobdiff - doc/README.mpc8641hpcn
drivers/qe: Move conditional compilation to Makefile
[u-boot] / doc / README.mpc8641hpcn
index 3b88f8bc728ca5fc0a4f50f0a118b62e873655b9..1c41d77ab028c3f5a52579b7e3e400e30a8c02f8 100644 (file)
@@ -55,7 +55,7 @@ Switches:
                                                         halves (virtual banks)
                                                  0     :: normal
        SW5(3)   = 0            CFG_FLASHWP     = 0     :: not protected
-       SW5(4)   = 0            CFG_PORTDIV     = 1     :: 2:1 for PD4
+       SW5(4)   = 0            CFG_PORTDIV     = 1     :: 2:1 for PD4
                                                           1:1 for PD6
        SW5(5-6) = 11           CFG_PIXISOPT    = 11    :: s/w determined
        SW5(7-8) = 11           CFG_LADOPT      = 11    :: s/w determined
@@ -96,14 +96,17 @@ To Flash U-Boot into the booting bank (0xFFC00000 - 0xFFFFFFFF):
 
        tftp 1000000 u-boot.bin
        protect off all
-       erase fff00000 ffffffff
-       cp.b 1000000 fff00100 80000
+       erase fff00000 +$filesize
+       cp.b 1000000 fff00000 $filesize
+
+or use tftpflash command:
+       run tftpflash
 
 To Flash U-boot into the alternative bank (0xFF800000 - 0xFFBFFFFF):
 
        tftp 1000000 u-boot.bin
-       erase ffb00000 ffbfffff
-       cp.b 1000000 ffb00100 80000
+       erase ffb00000 +$filesize
+       cp.b 1000000 ffb00000 $filesize
 
 
 4. Memory Map