Skip to content

Support NAND and OneNAND memories on the OMAP3 EVM

Josh Karabin u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Support multiple CONFIG_ENV options in a single build.common/cmd_nvedit.c common/env_common.c common/env_dataflash.c +9 more+275 -991 reply
2/4Support run-time disabling of NAND and OneNAND memories.drivers/mtd/nand/nand.c drivers/mtd/onenand/onenand_uboot.c include/nand.h +1 more+21 -01 reply
3/4Support run-time disabling of u-boot commands.common/command.c+25 -181 reply
4/4Support NAND and OneNAND memories on the OMAP3 EVM.board/omap3/evm/evm.c board/omap3/evm/evm.h cpu/arm_cortexa8/omap3/mem.c +2 more+76 -291 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] Support NAND and OneNAND memories on the OMAP3 EVM

This patch series permits the OMAP3 EVM to select which set of NAND or OneNAND memory related commands to use, as a function of the detected bootstrap configuration.

In addition to the OMAP3-specific parts, it abstracts the selection of the environment's location so that the choice can be made at run-time, not just compile time. It also makes it possible to disable support for compiled-in u-boot commands.

In particular, the changes to memory types other than NAND and OneNAND will need some scrutiny, since I don't have a good way to test some of those systems, or even to compile them.

Josh Karabin (4):
Support multiple CONFIG_ENV options in a single build. Support run-time disabling of NAND and OneNAND memories. Support run-time disabling of u-boot commands. Support NAND and OneNAND memories on the OMAP3 EVM.

 board/omap3/evm/evm.c                  |   24 +++++++++++
 board/omap3/evm/evm.h                  |    4 +-
 common/cmd_nvedit.c                    |    4 +-
 common/command.c                       |   43 +++++++++++--------
 common/env_common.c                    |   64 ++++++++++++++++++++++++++---
 common/env_dataflash.c                 |   25 ++++++++----
 common/env_eeprom.c                    |   24 +++++++----
 common/env_flash.c                     |   34 +++++++++++----
 common/env_mgdisk.c                    |   23 +++++++----
 common/env_nand.c                      |   61 ++++++++++++++++------------
 common/env_nowhere.c                   |   20 +++++++--
 common/env_nvram.c                     |   27 ++++++++----
 common/env_onenand.c                   |   28 +++++++++----
 common/env_sf.c                        |   21 ++++++---
 cpu/arm_cortexa8/omap3/mem.c           |   71 ++++++++++++++++++++------------
 drivers/mtd/nand/nand.c                |   10 ++++
 drivers/mtd/onenand/onenand_uboot.c    |    9 ++++
 include/asm-arm/arch-omap3/sys_proto.h |    2 +-
 include/configs/omap3_evm.h            |    4 ++
 include/environment.h                  |   43 +++++++++++++++++++
 include/nand.h                         |    1 +
 include/onenand_uboot.h                |    1 +
 22 files changed, 397 insertions(+), 146 deletions(-)