rockchip: board: ignore cru phandle fix for miss match phandle

This miss match phandle maybe "&pmucru" phandle.
(fixes: 3e45175 rockchip: board: fixup cru phandle for all U-Boot node.)

Change-Id: If053c1d329264967b1d0f1d3dce8f62aea3b69c7
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2019-06-26 10:59:15 +08:00 committed by Jianhong Chen
parent 8d9f99d87b
commit 8526ae77a4
1 changed files with 6 additions and 4 deletions

View File

@ -263,10 +263,12 @@ static int phandles_fixup(void *fdt)
if (first_phandle == -1)
first_phandle = clocks[j];
if (clocks[j] != first_phandle)
printf("WARN: %s: first cru phandle=%d, this=%d\n",
dev_read_name(dev),
first_phandle, clocks[j]);
if (clocks[j] != first_phandle) {
debug("WARN: %s: first cru phandle=%d, this=%d\n",
dev_read_name(dev),
first_phandle, clocks[j]);
continue;
}
clocks[j] = phandle;
}