diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-10-11 16:49:56 +0200 |
---|---|---|
committer | Michael Trimarchi <michael@amarulasolutions.com> | 2024-10-12 18:10:56 +0200 |
commit | 4c6f2ab29a27c9efd349dbe9d86c9e3c3d6f65bb (patch) | |
tree | 04cb31b5bb2602aec9ec72dc68dd658b5468b03c | |
parent | 8439ab9b3d11672728f46d508b7a86c9e070ea4b (diff) |
board: bcm96846: Enable NAND options
This adds reasonable NAND options to the BCM96846 reference design:
- CMD_NAND, MTD_RAW_NAND
- Disable SYS_NAND_ONFI_DETECTION as this just give error messages
- MTD, MTDPARTS with DM and related config options
- CMD_UBI and CMD_UBIFS as this is likely used with ubi/ubifs
What I didn't add was something like the following:
CONFIG_MTDPARTS_DEFAULT="nand0:256k(cfi),257024k(image)"
Because I don't actually have a BCM96846 reference design. These
are only available to Broadcom and their customers I think,
but perhaps the people at Broadcom can provide the detail of
the flash layout for BCM96846 so we can add this too so the
bcm96846_config is usable out of the box.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | configs/bcm96846_defconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/bcm96846_defconfig b/configs/bcm96846_defconfig index ea643eddcc6..2f94bd29512 100644 --- a/configs/bcm96846_defconfig +++ b/configs/bcm96846_defconfig @@ -18,5 +18,17 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_HUSH_PARSER=y CONFIG_CMD_CACHE=y +CONFIG_CMD_NAND=y +CONFIG_CMD_UBI=y +CONFIG_CMD_UBIFS=y +CONFIG_CMD_BOOTZ=y +CONFIG_CMD_MTDPARTS=y CONFIG_OF_EMBED=y CONFIG_CLK=y +CONFIG_MTD=y +CONFIG_MTDIDS_DEFAULT="nand0=nand0" +CONFIG_DM_MTD=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_UBI_FASTMAP=y +CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 +CONFIG_SYS_NAND_ONFI_DETECTION=n |