arm: mach-omap2: n8x0: clean up dummy onenand init
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Thu, 2 Dec 2010 15:51:23 +0000 (15:51 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Dec 2010 01:05:06 +0000 (17:05 -0800)
commita1a92e6fccadbba1846a081f21d0c12a10addd56
tree8529c55639c9d6c4c5acbd2101d91870516da272
parent7203f8a48bb63015ebe58a6f2a38aec1cb208b9d
arm: mach-omap2: n8x0: clean up dummy onenand init

When OneNAND support is disabled, the platform code defines NULL
board_onenand_data and empty init function for us. By utilizing this we
can avoid cluttering board files with dummy definitions/wrappers.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n8x0.c