diff options
author | Jon Hunter <jon-hunter@ti.com> | 2012-10-17 09:41:25 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-17 09:01:14 -0700 |
commit | 8119024ef7363591fd958ec89ebfaee7c18209e3 (patch) | |
tree | 254fb2179b4ba243557177947d99ab87b29a7cc4 /init | |
parent | 64e29fd5ed42f5d0ff5b0ea9395b3abd5d43f89b (diff) |
ARM: OMAP2+: Allow kernel to boot even if GPMC fails to reserve memory
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.
Boot tested on AM335x beagle bone board and OMAP4430 Panda board.
V2 changes:
- Ensure that clock and memory resources are released on error.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions