Anatolij Gustschin
d87b2486e6
arm: imx8: don't duplicate build_info()
...
Move build_info() to common place.
Signed-off-by: Anatolij Gustschin <agust@denx.de >
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com >
Cc: Peng Fan <peng.fan@nxp.com >
Reviewed-by: Peng Fan <peng.fan@nxp.com >
2019-07-19 20:14:50 +02:00
Anatolij Gustschin
64b5f46975
arm: imx8: factor out uart init code
...
New imx8 boards started adding duplicated UART init code.
Factor out this to common function sc_pm_setup_uart().
Signed-off-by: Anatolij Gustschin <agust@denx.de >
Cc: Peng Fan <peng.fan@nxp.com >
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com >
Reviewed-by: Peng Fan <peng.fan@nxp.com >
Reviewed-by: Peng Fan <peng.fan@nxp.com >
2019-07-19 20:14:50 +02:00
Peng Fan
1ef20a3d81
imx8: add arch_cpu_init arch_cpu_init_dm
...
Add arch_cpu_init(_dm) mainly to open the channel between ACore and SCU.
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Reviewed-by: Anatolij Gustschin <agust@denx.de >
Cc: Stefano Babic <sbabic@denx.de >
2018-10-22 12:59:01 +02:00
Peng Fan
8aa1505b59
imx8: add boot device detection
...
Add get_boot_device to detect boot device.
Add print_bootinfo to print the boot device info.
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Reviewed-by: Anatolij Gustschin <agust@denx.de >
Cc: Stefano Babic <sbabic@denx.de >
2018-10-22 12:59:01 +02:00