[U-Boot] Passing numeric values via fdt

Gary Thomas gary at mlbassoc.com
Thu Oct 13 14:18:48 CEST 2016


I have a device tree property which in the .dts looks like this:
   prop = <1>;

I'd like to be able to pass a 0 or 1 to this property via the 'fdt set'
command, but it seems to only be able to push a string into the field,
which in turn is always interpreted as 0.

How can I push a numeric '1' to my property?  Do I have to change
it to be a string and force my driver to manage those instead of
numeric values?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the U-Boot mailing list