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

Josh Karabin gkarabin at vocollect.com
Tue May 26 22:13:54 CEST 2009


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(-)



More information about the U-Boot mailing list