diff options
author | Wolfgang Denk <wd@denx.de> | 2011-09-11 21:24:09 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-11 21:24:09 +0200 |
commit | 04e5ae793153e74d682f2d0e297e58fd75366c8f (patch) | |
tree | 2a94d2ea7897d12a9600a5d378cfd3f810ee29fc /doc/README.ublimage | |
parent | 3b7175524939ffc73af2b8eb1ee5166838d3f260 (diff) | |
download | u-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.zip u-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.tar.gz u-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.tar.bz2 |
Minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'doc/README.ublimage')
-rw-r--r-- | doc/README.ublimage | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/README.ublimage b/doc/README.ublimage index add24d6..ab25b26 100644 --- a/doc/README.ublimage +++ b/doc/README.ublimage @@ -101,22 +101,22 @@ This steps are done automagically if you do a "make all" Structure of this binary (Example for the cam_enc_4xx board with a NAND page size = 0x800): -offset : 0x00000 | 0x800 | 0x3800 -content: UBL | nand_spl | u-boot code - Header | code | +offset : 0x00000 | 0x800 | 0x3800 +content: UBL | nand_spl | u-boot code + Header | code | The NAND layout looks for example like this: (Example for the cam_enc_4xx board with a NAND page size = 0x800, block size = 0x20000 and CONFIG_SYS_NROF_UBL_HEADER 5): -offset : 0x80000 | 0xa0000 | 0xa3000 -content: UBL | nand_spl | u-boot code - Header | code | - ^ ^ - ^ 0xa0000 = CONFIG_SYS_NROF_UBL_HEADER * 0x20000 - ^ - 0x80000 = Block 4 * 0x20000 +offset : 0x80000 | 0xa0000 | 0xa3000 +content: UBL | nand_spl | u-boot code + Header | code | + ^ ^ + ^ 0xa0000 = CONFIG_SYS_NROF_UBL_HEADER * 0x20000 + ^ + 0x80000 = Block 4 * 0x20000 If the cpu starts in NAND boot mode, it checks the UBL descriptor starting with block 1 (page 0). When a valid UBL signature is found, @@ -132,7 +132,7 @@ read and processed. Once the user-specified start-up conditions are set, the RBL copies the nand_spl into ARM internal RAM, starting at address 0x0000: 0020. - ^^^^ + ^^^^ The nand_spl code itself now does necessary intializations, and at least, copies the u-boot code from NAND into RAM, and jumps to it ... |