[U-Boot] [PATCH 0/9] device model bringup of nand on am335x gp evm and am437x gp evm

Mugunthan V N mugunthanvnm at ti.com
Fri Apr 1 13:29:41 CEST 2016


This patch seires adds nand uclass driver and enables omap_gpmc to
adopt driver model. This has been tested on AM335x GP EVM and
AM437x GP EVM (logs [1]).
Also pushed a branch for testing [2]

[1]: http://pastebin.ubuntu.com/15575957/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-nand

Mugunthan V N (9):
  include: nand: move endif to end of file
  cmd: nand: abstract global variable usage for dm conversion
  drivers: nand: Kconfig: add NAND as Kconfig option
  drivers: nand: implement a NAND uclass
  drivers: nand: omap_gpmc: convert driver to adopt driver model
  am43xx_evm: nand: do not define DM_NAND for spl
  defconfig: am437x_gp_evm: enable NAND driver model
  am335x_evm: nand: do not define DM_NAND for spl
  defconfig: am335x_gp_evm: enable NAND driver model

 cmd/nand.c                      |  72 +++++++-------
 configs/am335x_gp_evm_defconfig |   2 +
 configs/am437x_gp_evm_defconfig |   2 +
 drivers/mtd/nand/Kconfig        |  22 ++++-
 drivers/mtd/nand/Makefile       |   2 +
 drivers/mtd/nand/nand-uclass.c  |  62 ++++++++++++
 drivers/mtd/nand/nand.c         |  14 ++-
 drivers/mtd/nand/omap_gpmc.c    | 205 ++++++++++++++++++++++++++++++++++++++++
 include/configs/am335x_evm.h    |   1 +
 include/configs/am43xx_evm.h    |   1 +
 include/dm/uclass-id.h          |   1 +
 include/nand.h                  |  27 +++++-
 12 files changed, 370 insertions(+), 41 deletions(-)
 create mode 100644 drivers/mtd/nand/nand-uclass.c

-- 
2.8.0.rc3.9.g44915db



More information about the U-Boot mailing list