diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-11-01 16:01:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-12-12 20:06:44 +0100 |
commit | 44b966656c55c4e70195c293f121b5d8477b3806 (patch) | |
tree | cf82409e258c9cbec777217a7b8bb0578fdeec29 /commands | |
parent | 8e3ca7baebf5164e1f095cf8e9f37a2593f24aec (diff) | |
download | barebox-44b966656c55c4e70195c293f121b5d8477b3806.tar.gz |
imx-bbu-nand-fcb: Add fcb command
The FCB on NAND has a special page layout and thus can't be read with
the normal MTD driver. Add a fcb command for printing information about
the installed FCB on the console.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 9894ecb9aa..cab72b9226 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -326,6 +326,15 @@ config CMD_SLICE command can be used to print informations about slices and also to manipulate them on the command line for debugging purposes. +config CMD_FCB + depends on BAREBOX_UPDATE_IMX_NAND_FCB + tristate + prompt "fcb" + help + Several i.MX SoCs booting from NAND flash need a so called Flash Control Block + at the beginning of the NAND device. The fcb command prints information about + the FCB. + # end Information commands endmenu |