|
@@ -13,9 +13,9 @@
|
|
|
#include <asm/arch/imx-regs.h>
|
|
|
#include <asm/arch/clock.h>
|
|
|
#include <asm/arch/sys_proto.h>
|
|
|
-#include <asm/imx-common/boot_mode.h>
|
|
|
-#include <asm/imx-common/dma.h>
|
|
|
-#include <asm/imx-common/hab.h>
|
|
|
+#include <asm/mach-imx/boot_mode.h>
|
|
|
+#include <asm/mach-imx/dma.h>
|
|
|
+#include <asm/mach-imx/hab.h>
|
|
|
#include <stdbool.h>
|
|
|
#include <asm/arch/mxc_hdmi.h>
|
|
|
#include <asm/arch/crm_regs.h>
|
|
@@ -427,11 +427,6 @@ int arch_cpu_init(void)
|
|
|
|
|
|
imx_set_wdog_powerdown(false); /* Disable PDE bit of WMCR register */
|
|
|
|
|
|
-#ifdef CONFIG_APBH_DMA
|
|
|
- /* Start APBH DMA */
|
|
|
- mxs_dma_init();
|
|
|
-#endif
|
|
|
-
|
|
|
init_src();
|
|
|
|
|
|
return 0;
|
|
@@ -548,7 +543,11 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
|
|
|
const struct boot_mode soc_boot_modes[] = {
|
|
|
{"normal", MAKE_CFGVAL(0x00, 0x00, 0x00, 0x00)},
|
|
|
/* reserved value should start rom usb */
|
|
|
+#if defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
|
|
|
+ {"usb", MAKE_CFGVAL(0x20, 0x00, 0x00, 0x00)},
|
|
|
+#else
|
|
|
{"usb", MAKE_CFGVAL(0x10, 0x00, 0x00, 0x00)},
|
|
|
+#endif
|
|
|
{"sata", MAKE_CFGVAL(0x20, 0x00, 0x00, 0x00)},
|
|
|
{"ecspi1:0", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x08)},
|
|
|
{"ecspi1:1", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x18)},
|