aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion/common.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-02-29 21:12:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-06 12:18:17 +0000
commitbe73a347ec7799aec0aa1008bd991f93dbfa80e8 (patch)
treef1eb1420be7e9c593c303392b955d7ebd0582f14 /arch/arm/mach-orion/common.h
parent29e8c3c304b62f31b799565c9ee85d42bd163f80 (diff)
[ARM] 4845/1: Orion: Ignore memory tags with invalid data
The DNS-323, Kurobox-Pro / Linkstation-Pro, QNAP TS-109/TS-209 and some other orion-based systems have several bogus memory entries in the tag table, which causes the system to crash at startup. Ignore them by resetting the tag ID to 0 in a machine fixup function. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion/common.h')
-rw-r--r--arch/arm/mach-orion/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-orion/common.h b/arch/arm/mach-orion/common.h
index 10154ec885d..501497cc2c4 100644
--- a/arch/arm/mach-orion/common.h
+++ b/arch/arm/mach-orion/common.h
@@ -83,4 +83,10 @@ struct mv_sata_platform_data;
void __init orion_sata_init(struct mv_sata_platform_data *sata_data);
+struct machine_desc;
+struct meminfo;
+struct tag;
+extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *,
+ char **, struct meminfo *);
+
#endif /* __ARCH_ORION_COMMON_H__ */