[PATCH v4 1/9] core: read: add dev_read_addr_size_index_ptr function
Jonas Karlman
jonas at kwiboo.se
Tue Jul 25 21:16:10 CEST 2023
Hi Simon,
On 2023-07-24 04:28, Simon Glass wrote:
> Hi Jonas,
>
> On Sat, 22 Jul 2023 at 07:30, Jonas Karlman <jonas at kwiboo.se> wrote:
>>
>> Add dev_read_addr_size_index_ptr function with the same functionality as
>> dev_read_addr_size_index, but instead a return pointer is given.
>> Use map_sysmem() function as cast for the return.
>>
>> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
>> Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
>> ---
>> v4:
>> - No change
>>
>> v3:
>> - Collect r-b tag
>>
>> v2:
>> - New patch
>>
>> drivers/core/read.c | 11 +++++++++++
>> include/dm/read.h | 21 +++++++++++++++++++++
>> 2 files changed, 32 insertions(+)
>>
>
> So how about a test in test/dm/read.c ?
I can take a look at adding tests for the three dev_read_addr ptr
related functions in a separate series/patch.
Would really not like to delay this 3 month old fixes series, and this
2 month old patch more than what is absolutely necessary ;-)
Regards,
Jonas
>
[...]
>
> Regards,
> Simon
More information about the U-Boot
mailing list