[PATCH] dm: core: support reading a single indexed u64 value

Michal Simek michal.simek at amd.com
Fri Aug 25 11:38:34 CEST 2023



On 8/11/23 15:36, Simon Glass wrote:
> Hi Ashok,
> 
> On Fri, 11 Aug 2023 at 00:11, Ashok Reddy Soma <ashok.reddy.soma at amd.com> wrote:
>>
>> Add helper function to allow reading a single indexed u64 value from a
>> device-tree property containing multiple u64 values, that is an array of
>> u64's.
>>
>> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
>> ---
>>
>>   drivers/core/of_access.c | 22 ++++++++++++++++++++++
>>   drivers/core/ofnode.c    | 30 ++++++++++++++++++++++++++++++
>>   include/dm/of_access.h   | 19 +++++++++++++++++++
>>   include/dm/ofnode.h      | 12 ++++++++++++
>>   4 files changed, 83 insertions(+)
> 
> Please can you add a test in test/dm/ofnode.c ?

Ashok left AMD that's why I am sending v2 with some other related changes and 
also with adding test you requested.

Thanks,
Michal


More information about the U-Boot mailing list