Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/freescale/imx/imx6_machdep.c
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | imx6_attach(platform_t plat) | ||||
return (0); | return (0); | ||||
} | } | ||||
static void | static void | ||||
imx6_late_init(platform_t plat) | imx6_late_init(platform_t plat) | ||||
{ | { | ||||
const uint32_t IMX6_WDOG_SR_PHYS = 0x020bc004; | const uint32_t IMX6_WDOG_SR_PHYS = 0x020bc004; | ||||
if (curcpu != 0) | |||||
return; | |||||
imx_wdog_init_last_reset(IMX6_WDOG_SR_PHYS); | imx_wdog_init_last_reset(IMX6_WDOG_SR_PHYS); | ||||
} | } | ||||
/* | /* | ||||
* Set up static device mappings. | * Set up static device mappings. | ||||
* | * | ||||
* This attempts to cover the most-used devices with 1MB section mappings, which | * This attempts to cover the most-used devices with 1MB section mappings, which | ||||
* is good for performance (uses fewer TLB entries for device access). | * is good for performance (uses fewer TLB entries for device access). | ||||
▲ Show 20 Lines • Show All 169 Lines • Show Last 20 Lines |