]> git.baikalelectronics.ru Git - uboot.git/commit
common: Move initr_addr_map() to a bit earlier
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:38 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
commit07845030211e0fa83ecd0c466cc0545715f085ec
tree58bd3c23e7cc8cfda3eb489a317c9f930078ab82
parente9819cfda4a22f3102b4a3172857e79edd2a7277
common: Move initr_addr_map() to a bit earlier

At present initr_addr_map() is put at a late stage in the
init_sequence_r[] calls. This won't work because lot of
device driver initialization (e.g.: serial port) happens
before it but is lack of the address translation support.

This moves the call to a bit earlier, right after the DM
initialization.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
common/board_r.c