scripts/dtc: phandle index start from 0x1000000
Change-Id: I1141545e4592bfebf812f2477d1851d178ee8bd8 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
parent
69bb6ffab4
commit
bd3ad955a3
|
|
@ -569,7 +569,7 @@ struct node *get_node_by_ref(struct node *tree, const char *ref)
|
|||
|
||||
cell_t get_node_phandle(struct node *root, struct node *node)
|
||||
{
|
||||
static cell_t phandle = 1; /* FIXME: ick, static local */
|
||||
static cell_t phandle = 0x10000000; /* FIXME: ick, static local */
|
||||
|
||||
if ((node->phandle != 0) && (node->phandle != -1))
|
||||
return node->phandle;
|
||||
|
|
|
|||
Loading…
Reference in New Issue