summaryrefslogtreecommitdiff
path: root/include/configs/colibri_vf.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-16 09:49:34 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-11 21:25:09 +0100
commit472793b924047464877b0e0e53effc8dc9c2f6d9 (patch)
tree0043ab41d77e7925f6e9587e69ad780d825c4a40 /include/configs/colibri_vf.h
parent3e31a716a175454673e295e5dde17fe9ce1abb7c (diff)
imx: add writebcb command
Add writebcb command which creates a NAND Boot Configuration Block (BCB) at the beginning of the active flash device. The BCB stores the information for the SoC internal boot ROM where the application with a valid IVT header can be found on the NAND device. The first two argument of the command need an offset of the NAND device where the primary and secondary application can be found. Typically, U-Boot is the application which gets loaded by the boot ROM. Hence, the offset address need to be the address where U-Boot (u-boot.imx along with a 0x400 long prefix) is stored on the device. At least one location is mandatory. Currently only the FCB (Firmware Configuration Block) is written to the device. The DBBT (Discovered Bad Block Table) is optional and not created by writebcb currently. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include/configs/colibri_vf.h')
-rw-r--r--include/configs/colibri_vf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 0cd77fff51..9d9c908e94 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -43,6 +43,7 @@
/* NAND support */
#define CONFIG_CMD_NAND
+#define CONFIG_CMD_WRITEBCB
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR