Re: [PATCH v5 10/33] dm: Fix error handling for dev_read_addr_ptr

2020-03-02 Thread Simon Glass
On Fri, 28 Feb 2020 at 14:06, Sean Anderson wrote: > > dev_read_addr_ptr had different semantics depending on whether OF_LIVE was > enabled. This patch converts both implementations to return NULL on error, > and converts all call sites which check for FDT_ADDR_T_NONE to check for > NULL instead.

Re: [PATCH v5 10/33] dm: Fix error handling for dev_read_addr_ptr

2020-03-01 Thread Bin Meng
On Sat, Feb 29, 2020 at 5:06 AM Sean Anderson wrote: > > dev_read_addr_ptr had different semantics depending on whether OF_LIVE was > enabled. This patch converts both implementations to return NULL on error, > and converts all call sites which check for FDT_ADDR_T_NONE to check for > NULL instead

[PATCH v5 10/33] dm: Fix error handling for dev_read_addr_ptr

2020-02-28 Thread Sean Anderson
dev_read_addr_ptr had different semantics depending on whether OF_LIVE was enabled. This patch converts both implementations to return NULL on error, and converts all call sites which check for FDT_ADDR_T_NONE to check for NULL instead. This patch also removes the call to map_physmem, since we have