]> git.dujemihanovic.xyz Git - u-boot.git/commit
OMAP3 SPL: Add identify_nand_chip function
authorTom Rini <trini@ti.com>
Fri, 18 Nov 2011 12:48:07 +0000 (12:48 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:38 +0000 (23:59 +0100)
commit4e647e12074c11a5bcfc5291c44c3b52531795fa
treed9ad7815affc5e3d4c7987e8a1a94c343070858b
parent9ae0d550741db45e933dc73e7135d1861e3a9b62
OMAP3 SPL: Add identify_nand_chip function

A number of boards are populated with a PoP chip for both DDR and NAND
memory.  Other boards may simply use this as an easy way to identify
board revs.  So we provide a function that can be called early to reset
the NAND chip and return the result of NAND_CMD_READID.  All of this
code is put into spl_id_nand.c and controlled via CONFIG_SPL_OMAP3_ID_NAND.

Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap3/Makefile
arch/arm/cpu/armv7/omap3/spl_id_nand.c [new file with mode: 0644]
arch/arm/include/asm/arch-omap3/sys_proto.h