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:
Jianqun Xu 2021-01-14 14:43:48 +08:00 committed by Jianhong Chen
parent 69bb6ffab4
commit bd3ad955a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;