[POWERPC] bootwrapper: Use map_string() instead of lookup_string() in ft_prop().
authorScott Wood <scottwood@freescale.com>
Mon, 12 Mar 2007 20:41:51 +0000 (14:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 13 Mar 2007 10:15:58 +0000 (21:15 +1100)
commit5adeef52ccc0229e06a6e0b2fefe442d8779f025
tree8d6b5cd29a1df299bd228f03b13d2f7eeda0b1c1
parent9dd2c31ab89a12571db89648bcc9992cf71b63d8
[POWERPC] bootwrapper: Use map_string() instead of lookup_string() in ft_prop().

When adding a property, the property name should be added to the string
table if it doesn't already exist.  map_string() does that;
lookup_string() will fail instead.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/flatdevtree.c