commit | 4decaa2f10ec7a3a218bdbb967e709ee1ac3cab1 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Tue Jul 26 16:40:37 2022 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Tue Jul 26 11:29:00 2022 +0200 |
tree | f009dc6d615c610143b44f3350b5c482f27d82d3 | |
parent | 20402064daf7a3c45d98ec411fd5dabe5dbcc3ee [diff] |
imx: move get_boot_device to common file i.MX8MN/P/ULP supports ROM API, they have almost same get_boot_device implementation, so move to a common file. And when support i.MX9, no need to include the other function copy. Since sys_proto.h is included in imx_romapi.c, there will be build warning for i.MX8M because wdog_regs not defined, so include imx-regs.h in i.MX8M sys_proro.h Signed-off-by: Peng Fan <peng.fan@nxp.com>