diff options
| author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-29 19:08:29 -0500 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-09-07 00:18:50 +0200 |
| commit | ea86b9e64b811753d9eabe0f560ee189fbe5d0c1 (patch) | |
| tree | 70af82b4e01fbc3da58032dc18580cac02c98cf8 /drivers/rtc/bfin_rtc.c | |
| parent | 8e02494e8f86c8f2d7324b5eb9e75271104a01ef (diff) | |
| download | olio-uboot-2014.01-ea86b9e64b811753d9eabe0f560ee189fbe5d0c1.tar.xz olio-uboot-2014.01-ea86b9e64b811753d9eabe0f560ee189fbe5d0c1.zip | |
Prevent crash if random/invalid ramdisks are passed to bootm
Adds returning an error from the ramdisk detection code if
its not a real ramdisk (invalid). There is no reason we can't
just return back to the console if we detect an invalid
ramdisk or CRC error.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/rtc/bfin_rtc.c')
0 files changed, 0 insertions, 0 deletions