]> git.sur5r.net Git - u-boot/commit
omap: Don't enable GPMC CS0 with nothing attached
authorAsh Charles <ashcharles@gmail.com>
Fri, 6 Jun 2014 18:27:28 +0000 (11:27 -0700)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 21:53:41 +0000 (17:53 -0400)
commit2868a5dff373f6d173ba2d060bbe910c38254cbf
tree34cac333b8e3c7446b54a9bdc66ebbe514a5ea1f
parent0a26e1d6c394aacbf1153977b7348d1dff85db3f
omap: Don't enable GPMC CS0 with nothing attached

If CONFIG_(NAND|NOR|ONENAND) is not defined, no configuration is set
for GPMC on chip select #0---size is 0.  In this case, the GPMC
configuration should be reset but not enabled.  Enabling causes the
Gumstix DuoVero board to hang when entering Linux.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
[trini: Switch to testing base as GPMC_SIZE_256M is 0x0]
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/mem-common.c