]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap3 beagle: nand (mostly) cleanups
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 2 Sep 2008 17:23:55 +0000 (10:23 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 5 Sep 2008 16:43:22 +0000 (09:43 -0700)
commit05c19c4a970bb1a65266e75882dd79bb398bbd75
treedf99645af46821e12e8b8cad8329e736629b2151
parentca7efef2357840a9b88a69ad6534f90944993c03
omap3 beagle: nand (mostly) cleanups

Clean up the Beagle NAND config a bit:  use SZ_128K instead of
an arithmetic expression for the NAND block size.  Set the
NAND_BUSWIDTH_16 flag.  Make its init routine static.

(Unrelated:  make omap3_beagle_i2c_init be part of beagle_init.
It shouldn't be called on non-beagle hardware; and beagle_init
already runs with other arch_initcall code.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Richard Woodruff <r-woodruff2@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3beagle.c