summaryrefslogtreecommitdiff
path: root/include/phy_interface.h
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2021-05-14 22:36:16 -0400
committerLeo Yu-Chi Liang <[email protected]>2021-05-17 16:46:33 +0800
commite90cb0db34ec4bd1141ea8255efa5a42f6c0a225 (patch)
tree702f1012e4390d0941aae427dab1ce2c2d408c64 /include/phy_interface.h
parenta6d7e8c9149f5f1b94f68129fbe5dec9e1e1489d (diff)
riscv: Fix arch_fixup_fdt always failing without /chosen
If /chosen was missing, chosen_offset would never get updated with the new /chosen node. This would cause fdt_setprop_u32 to fail. This patch fixes this by setting chosen_offset. In addition, log any errors from setting boot-hartid as well. Fixes: 5370478d1c7 ("riscv: Add boot hartid to device tree") Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Rick Chen <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'include/phy_interface.h')
0 files changed, 0 insertions, 0 deletions