[PATCH] kbuild: Drop phandle from diff between base DT and U-Boot augmented DT if DEVICE_TREE_DEBUG=1

Quentin Schulz quentin.schulz at cherry.de
Wed Feb 25 15:52:23 CET 2026


Hi Marek,

On 2/15/26 3:04 PM, Marek Vasut wrote:
> Remove the "phandle = <0x..>;" properties from the DT diff between
> unpatched base DT and U-Boot augmented DT if DEVICE_TREE_DEBUG=1.
> The phandle numbers are only generated by DTC, but not referenced
> anywhere in the DT, because the original references are specifically
> not replaced by phandle numbers when recent DTC is invoked with the
> -I dts -O dts flags . The phandle number are therefore only a noise
> in the diff, filter them out.
> 

I didn't see this patch on the ML and actually implemented something 
similar (using grep -v :) see my patch on the ML).

My patch handled an unspecified of whitespaces anywhere in the line but 
I guess dtc outputs something with always the same amount of whitespaces 
in the same places, so:

Tested-by: Quentin Schulz <quentin.schulz at cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks!
Quentin


More information about the U-Boot mailing list