From 44b966656c55c4e70195c293f121b5d8477b3806 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 1 Nov 2022 16:01:07 +0100 Subject: 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 --- commands/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'commands') 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 -- cgit v1.2.3