diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-08 11:29:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-08 11:29:50 -0400 |
commit | 258a57907d158d3ba54ec4e6daf0595d2f670d65 (patch) | |
tree | d23bd81722297b0febeb84ec7db4d4b23020702b /common/fdt_support.c | |
parent | 145921bdbdcfc24f18ce21d570ff86cc7e1fa3ba (diff) | |
parent | 9ac4c2bfe9f502549362c6d394c7024236146a5b (diff) |
Merge branch '2022-05-06-assorted-updates'
- Drop "linux,phandle" setting code, it's very long obsolete.
- Add ability to fix broken GPT via backup GPT.
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r-- | common/fdt_support.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index 8662bd27a47..7e9e6542041 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1544,14 +1544,6 @@ int fdt_set_phandle(void *fdt, int nodeoffset, uint32_t phandle) #endif ret = fdt_setprop_cell(fdt, nodeoffset, "phandle", phandle); - if (ret < 0) - return ret; - - /* - * For now, also set the deprecated "linux,phandle" property, so that we - * don't break older kernels. - */ - ret = fdt_setprop_cell(fdt, nodeoffset, "linux,phandle", phandle); return ret; } |