kernel-ark/arch/powerpc
David Gibson 7c40542ffa [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop()
ft_set_prop() from flatdevtree.c in the zImage wrapper will either
replace an existing property in the flat device tree, or add a new
property definiion if the given property isn't present.

However, when adding properties, it adds the property definition
immediately before the node's END_NODE tag, potentially after any
subnode definitions for the node.  This confuses the kernel flat tree
parser in prom.c which assumes that all property definitions for a
node come before all subnode definitions.

This patch corrects ft_set_prop() so that it adds new properties
before the first subnode, instead of before the END_NODE tag.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-05-17 21:11:13 +10:00
..
boot [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop() 2007-05-17 21:11:13 +10:00
configs [POWERPC] Add arch/powerpc support for the Motorola PrPMC2800 2007-05-12 11:32:50 +10:00
kernel [POWERPC] Fix COMMON symbol warnings 2007-05-17 21:10:15 +10:00
lib [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix COMMON symbol warnings 2007-05-17 21:10:15 +10:00
oprofile Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
platforms [POWERPC] viopath: Use a completion in some more places 2007-05-17 21:11:13 +10:00
sysdev [POWERPC] Add Marvell mv64x60 PCI bridge support 2007-05-12 11:32:50 +10:00
xmon Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Add arch/powerpc support for the Motorola PrPMC2800 2007-05-12 11:32:50 +10:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile [POWERPC] Add Makefile rules to wrap dts file in zImage 2007-05-12 11:32:49 +10:00