]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/samsung/common/exynos5-dt.c
exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4.
[people/ms/u-boot.git] / board / samsung / common / exynos5-dt.c
index 4250f722da7bd5160bb5a74e112d201b9a101f5a..4d9e151756b3be9555c81e539bf76f0baee2fbe7 100644 (file)
 #include <power/pmic.h>
 #include <power/max77686_pmic.h>
 #include <power/regulator.h>
+#include <power/s2mps11.h>
 #include <power/s5m8767.h>
+#include <samsung/exynos5-dt-types.h>
+#include <samsung/misc.h>
 #include <tmu.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -335,15 +338,24 @@ int board_usb_init(int index, enum usb_init_type init)
 #ifdef CONFIG_SET_DFU_ALT_INFO
 char *get_dfu_alt_system(char *interface, char *devstr)
 {
+       char *info = "Not supported!";
+
+       if (board_is_odroidxu4())
+               return info;
+
        return getenv("dfu_alt_system");
 }
 
 char *get_dfu_alt_boot(char *interface, char *devstr)
 {
+       char *info = "Not supported!";
        struct mmc *mmc;
        char *alt_boot;
        int dev_num;
 
+       if (board_is_odroidxu4())
+               return info;
+
        dev_num = simple_strtoul(devstr, NULL, 10);
 
        mmc = find_mmc_device(dev_num);