android_kernel_xiaomi_sdm845/arch/blackfin
Robin Getz dc437b1b59 Blackfin: fix silent crash when no uClinux MTD filesystem exists
Since we need to relocate the attached filesystem with the uClinux MTD map
(to handle some anomalies), we need to know its real filesize.  If we boot
a kernel without a filesystem actually attached, we end up blindly reading
and copying garbage (since there is no magic value to detect validity).
Often times this results in an early crash and no output.  So add a few
basic sanity checks before operating on things to catch the majority of
cases.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-16 01:52:21 -04:00
..
boot Blackfin: stick the CPU name into boot image name 2009-06-22 21:16:03 -04:00
configs Blackfin: update defconfigs 2009-06-22 21:16:01 -04:00
include/asm sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
kernel Blackfin: fix silent crash when no uClinux MTD filesystem exists 2009-07-16 01:52:21 -04:00
lib Blackfin: export ip_compute_csum/csum_partial_copy_from_user symbols 2009-06-13 07:20:06 -04:00
mach-bf518 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf527 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf533 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf537 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf538 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf548 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-bf561 Blackfin: update anomaly lists to match latest sheets/usage 2009-07-16 01:52:17 -04:00
mach-common Blackfin: cleanup code a bit with comments and defines 2009-07-16 01:39:39 -04:00
mm Blackfin: decouple unrelated cache settings to get exact behavior 2009-06-22 21:15:59 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Kconfig Blackfin: fix GPTMR0_CLOCKSOURCE dependency on BFIN_GPTIMERS 2009-06-22 21:16:15 -04:00
Kconfig.debug Blackfin: make deferred hardware errors more exact 2009-06-12 06:11:44 -04:00
Makefile Blackfin: add support for bzip2/lzma compressed kernel images 2009-06-13 07:20:13 -04:00