From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Fri, 1 Apr 2016 16:59:41 +0530 Subject: [U-Boot] [PATCH 0/9] device model bringup of nand on am335x gp evm and am437x gp evm Message-ID: <1459510190-26306-1-git-send-email-mugunthanvnm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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