board: Drop ftsdc010 non-dm code
authorRick Chen <rick@andestech.com>
Tue, 20 Mar 2018 05:57:13 +0000 (13:57 +0800)
committerAndes <uboot@andestech.com>
Fri, 30 Mar 2018 05:13:45 +0000 (13:13 +0800)
Remove board_mmc_init() in adp-ag101p, adp-ae3xx
and nx25-ae250 boards.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
board/AndesTech/adp-ae3xx/adp-ae3xx.c
board/AndesTech/adp-ag101p/adp-ag101p.c
board/AndesTech/nx25-ae250/nx25-ae250.c

index 8cffb6ba8bc45e453dcdef66c98224b855753401..52a89dc7a0008786240abc1dd8c13e2ce96720c1 100644 (file)
@@ -12,7 +12,6 @@
 #include <netdev.h>
 #endif
 #include <linux/io.h>
-#include <faraday/ftsdc010.h>
 #include <faraday/ftsmc020.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -75,13 +74,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
                return 0;
        }
 }
-
-int board_mmc_init(bd_t *bis)
-{
-#ifndef CONFIG_DM_MMC
-#ifdef CONFIG_FTSDC010
-       ftsdc010_mmc_init(0);
-#endif
-#endif
-       return 0;
-}
index f918c630c1720669f7564e7ca535012558663422..82928e78a4fca82f2601d70bef69d788b838c7c6 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/io.h>
 #include <asm/mach-types.h>
 
-#include <faraday/ftsdc010.h>
 #include <faraday/ftsmc020.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -82,13 +81,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
                return 0;
        }
 }
-
-int board_mmc_init(bd_t *bis)
-{
-#ifndef CONFIG_DM_MMC
-#ifdef CONFIG_FTSDC010
-       ftsdc010_mmc_init(0);
-#endif
-#endif
-       return 0;
-}
index 12f2d3520bfbb23e8cf04bfed5577deedb495e62..a965218f34528ab966a8a79e448838bf44078d9f 100644 (file)
@@ -11,7 +11,6 @@
 #include <netdev.h>
 #endif
 #include <linux/io.h>
-#include <faraday/ftsdc010.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -65,13 +64,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
 {
        return 0;
 }
-
-int board_mmc_init(bd_t *bis)
-{
-#ifndef CONFIG_DM_MMC
-#ifdef CONFIG_FTSDC010
-       ftsdc010_mmc_init(0);
-#endif
-#endif
-       return 0;
-}