summaryrefslogtreecommitdiff
path: root/common/fdt_support.c
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-06-25 23:25:28 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-08-10 19:21:36 -0400
commitfd61e55dd8cb52ce3ff91b3917af26e24b6b0845 (patch)
treed55b8d1953fdd3008ab831b90f3e1c5776d97912 /common/fdt_support.c
parent6f35ded9e85493595e0eb66a82b502a95326d049 (diff)
Create new fdt boardsetup command, fix bug parsing [] form of set values.
Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setup() out by creating a new fdt boardsetup command. Fix a bug when parsing fdt set command values which have the square bracket form [00 11 22 33] - the length was updated incorrectly in when parsing that form. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r--common/fdt_support.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index ec04a639f..259bd42cc 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -32,10 +32,6 @@
#include <libfdt.h>
#include <fdt_support.h>
-#ifdef CONFIG_OF_BOARD_SETUP
-void ft_board_setup(void *blob, bd_t *bd);
-#endif
-
/*
* Global data (for the gd->bd)
*/
@@ -62,17 +58,6 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force)
return err;
}
-#ifdef CONFIG_OF_BOARD_SETUP
- /*
- * ft_board_setup() sets various board-specific properties to
- * the proper values.
- *
- * STRICTLY SPEAKING, this is out of place, but it isn't clear
- * where a better place would be.
- */
- ft_board_setup(fdt, bd);
-#endif
-
if (initrd_start && initrd_end) {
struct fdt_reserve_entry re;
int used;