diff options
author | Michael Neuling <mikey@neuling.org> | 2006-05-31 08:31:51 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-06-07 09:42:15 -0500 |
commit | 38e8f8fd88dae07ef8ada9d6baa41b06a4d9ac9f (patch) | |
tree | c97e2c644cb65e0019b7784281b2e98ae9195d68 /dtc.h | |
parent | 05ae3d8eebdad2b8da6e02eeca3baa3cc54fe5f3 (diff) | |
download | dtc-38e8f8fd88dae07ef8ada9d6baa41b06a4d9ac9f.tar.gz |
dtc: add setting of physical boot cpu
dtc always sets the physical boot CPU to 0xfeedbeef. Add a -b option to
set this. Also add warnings when using the wrong property with the
wrong blob version.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Diffstat (limited to 'dtc.h')
-rw-r--r-- | dtc.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -178,7 +178,7 @@ struct node *chain_node(struct node *first, struct node *list); void add_property(struct node *node, struct property *prop); void add_child(struct node *parent, struct node *child); -int check_device_tree(struct node *dt); +int check_device_tree(struct node *dt, int outversion, int boot_cpuid_phys); /* Boot info (tree plus memreserve information */ @@ -207,8 +207,10 @@ struct boot_info *build_boot_info(struct reserve_info *reservelist, /* Flattened trees */ -void dt_to_blob(FILE *f, struct boot_info *bi, int version); -void dt_to_asm(FILE *f, struct boot_info *bi, int version); +void dt_to_blob(FILE *f, struct boot_info *bi, int version, + int boot_cpuid_phys); +void dt_to_asm(FILE *f, struct boot_info *bi, int version, + int boot_cpuid_phys); struct boot_info *dt_from_blob(FILE *f); |