[PATCH v5 10/33] dm: Fix error handling for dev_read_addr_ptr
Bin Meng
bmeng.cn at gmail.com
Mon Mar 2 03:22:57 CET 2020
On Sat, Feb 29, 2020 at 5:06 AM Sean Anderson <seanga2 at gmail.com> 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. This patch also removes the call to map_physmem, since we
> have dev_remap_addr* for those semantics.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> Changes in v5:
> - New
>
> drivers/clk/imx/clk-imx8mp.c | 2 +-
> drivers/core/read.c | 2 +-
> drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 +-
> drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +-
> include/dm/read.h | 4 +++-
> 5 files changed, 7 insertions(+), 5 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list