ARM: OMAP2+: Allow kernel to boot even if GPMC fails to reserve memory
authorJon Hunter <jon-hunter@ti.com>
Tue, 16 Oct 2012 20:22:58 +0000 (15:22 -0500)
committerTony Lindgren <tony@atomide.com>
Wed, 17 Oct 2012 02:13:25 +0000 (19:13 -0700)
Currently, if the GPMC driver fails to reserve memory when probed we will
call BUG() and the kernel will not boot. Instead of calling BUG(), return
an error from probe and allow kernel to boot.

Tested on AM335x beagle bone board.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found