Exynos5: Config: Enable USB boot mode for all Exynos5 SoCs
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 18 Jun 2014 12:24:01 +0000 (17:54 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Sun, 22 Jun 2014 23:45:45 +0000 (08:45 +0900)
Right now USB booting is enabled for Exynos5250 only. Moving all the
configs for USB boot mode from exynos5250-dt.h to exynos5-dt.h in order
to enableUSB booting for all Exynos5 SoCs.

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/exynos5-dt.h
include/configs/exynos5250-dt.h

index 1129f59613144630c50b8a2f07edcad1dea37018..3c51650bf0e0890bc361877ea78cb859dd9b29d3 100644 (file)
 
 #define CONFIG_CMD_GPIO
 
+/* USB boot mode */
+#define CONFIG_USB_BOOTING
+#define EXYNOS_COPY_USB_FNPTR_ADDR     0x02020070
+#define EXYNOS_USB_SECONDARY_BOOT      0xfeed0002
+#define EXYNOS_IRAM_SECONDARY_BASE     0x02020018
+
 #endif /* __CONFIG_H */
index 4cfbf25b0dba048af8b5ef119a4a0a9195d1bfaa..3982010b4b6bcdd87a799d9def813c51022b9461 100644 (file)
 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     2
 #define CONFIG_USB_STORAGE
 
-/* USB boot mode */
-#define CONFIG_USB_BOOTING
-#define EXYNOS_COPY_USB_FNPTR_ADDR     0x02020070
-#define EXYNOS_USB_SECONDARY_BOOT      0xfeed0002
-#define EXYNOS_IRAM_SECONDARY_BASE     0x02020018
-
 #define CONFIG_SPL_TEXT_BASE   0x02023400
 
 #define CONFIG_BOOTCOMMAND     "mmc read 40007000 451 2000; bootm 40007000"