Shengzhou Liu 2a523f5240 fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers
Add common function fdt_set_node_status() to assist in various locations
that we set a nodes status.  This function utilizes the status values
that are part of the EPAPR spec (on power.org).

fdt_set_status_by_alias() is based on fdt_set_node_status() but uses an
alias string to identify the node to update.

We also add some shortcut functions to help the common cases of setting
"okay" and "disabled":

	fdt_status_okay()
	fdt_status_disabled()
	fdt_status_okay_by_alias()
	fdt_status_disabled_by_alias()

Finally, we fixup the corenet_ds ethernet code which previously had
a function by the same name that can be replaced with the new helpers.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
2011-10-18 00:36:55 -05:00
..
2011-04-13 15:56:39 -04:00
2011-10-17 23:56:57 +02:00
2010-11-28 21:58:24 +01:00
2011-07-28 16:32:50 +02:00
2010-07-24 20:54:46 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-04-13 15:57:00 -04:00
2011-07-28 16:32:50 +02:00
2011-04-08 00:44:27 -04:00
2011-07-28 16:41:06 +02:00
2011-01-09 18:06:50 +01:00
2011-04-29 03:20:01 -05:00
2011-07-15 20:29:22 -05:00
2010-12-17 14:32:12 -06:00
2011-10-17 22:25:35 +02:00
2010-07-16 10:55:09 -05:00
2011-07-26 14:10:14 +02:00
2011-07-26 14:10:14 +02:00
2011-10-05 22:22:17 +02:00
2011-10-09 23:24:48 +02:00
2010-10-12 23:31:10 +02:00
2011-10-01 23:34:21 +02:00
2011-07-28 17:22:53 +02:00
2003-06-27 21:31:46 +00:00
2011-07-26 16:34:22 +02:00
2011-07-26 16:34:22 +02:00
2011-04-13 19:43:28 +10:00
2011-02-02 22:36:10 +01:00
2011-10-17 22:46:13 +02:00
2010-01-18 00:23:00 +01:00
2011-10-01 23:26:35 +02:00
2011-10-17 22:25:35 +02:00
2011-10-17 23:56:57 +02:00
2002-08-17 09:36:01 +00:00
2011-09-04 23:27:52 +02:00