From f2f767a90046d6272d4db3a71e9b34dd9416aed5 Mon Sep 17 00:00:00 2001 From: Yacine Belkadi Date: Fri, 21 Dec 2012 15:02:31 +0100 Subject: cleo/linux/arch/arm/spc300: fix "Ignoring unrecognised tag 0x00000000", closes #3650 On SPC300, u-boot passes an ATAG_SPC300 tag to the Linux kernel. That tag is intercepted by spc300_fixup(). This function consumes the tag, then turns it into an ATAG_NONE. The problem is that the function doesn't set the size to 0. Then when the kernel parses the tags, it fails to recognize the ATAG_NONE, and prints the boot message: "Ignoring unrecognised tag 0x00000000" Fix that by setting the size of the new ATAG_NONE tag to 0. --- cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/spc300.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cleopatre') diff --git a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/spc300.c b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/spc300.c index e07fcda3fe..3a5b3bf22d 100644 --- a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/spc300.c +++ b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/spc300.c @@ -360,6 +360,7 @@ void spc300_fixup(struct machine_desc *desc, struct tag *tags, char **cmdline, s { nvram_offset = tags->u.spc300.nvram_offset; tags->hdr.tag = ATAG_NONE; + tags->hdr.size = 0; spc300_plc_mem_size = tags->u.spc300.plc_mem_size; } -- cgit v1.2.3