Hi ,
See here , please!
/* mach-imx6q.c */
DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad/DualLite (Device Tree)")
/*
* i.MX6Q/DL maps system memory at 0x10000000 (offset 256MiB), and
* GPU has a limit on physical address that it accesses, which must
* be below 2GiB.
*/
.dma_zone_size = (SZ_2G - SZ_256M),
.smp = smp_ops(imx_smp_ops),
.map_io = imx6q_map_io,
.init_irq = imx6q_init_irq,
.init_time = imx6q_timer_init,
.init_machine = imx6q_init_machine,
.init_late = imx6q_init_late,
.dt_compat = imx6q_dt_compat,
.restart = mxc_restart,
MACHINE_END
and mxc_restart() is in arch/arm/kernel/system.c
Have a nice day!
TIC weidong sun
Hi Sun,
I know that.
4.1.15 bsp never use mxc_restart.
1 DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad/DualLite (Device Tree)")
2 .smp = smp_ops(imx_smp_ops),
3 .map_io = imx6q_map_io,
4 .init_irq = imx6q_init_irq,
5 .init_machine = imx6q_init_machine,
6 .init_late = imx6q_init_late,
7 .dt_compat = imx6q_dt_compat,
8 .reserve = imx6q_reserve,
9 MACHINE_END