diff mbox series

[U-Boot,2/7] board: Drop ftsdc010 non-dm code

Message ID 20180320075850.19352-1-uboot@andestech.com
State Accepted
Commit 5ff6b3de6d16f1e25a08ca3343bb8b3f4641b9d8
Delegated to: Andes
Headers show
Series [U-Boot,1/7] mmc: ftsdc010: Drop non-dm code | expand

Commit Message

Andes March 20, 2018, 7:58 a.m. UTC
From: Rick Chen <rick@andestech.com>

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   | 11 -----------
 board/AndesTech/adp-ag101p/adp-ag101p.c | 11 -----------
 board/AndesTech/nx25-ae250/nx25-ae250.c | 11 -----------
 3 files changed, 33 deletions(-)
diff mbox series

Patch

diff --git a/board/AndesTech/adp-ae3xx/adp-ae3xx.c b/board/AndesTech/adp-ae3xx/adp-ae3xx.c
index 8cffb6b..52a89dc 100644
--- a/board/AndesTech/adp-ae3xx/adp-ae3xx.c
+++ b/board/AndesTech/adp-ae3xx/adp-ae3xx.c
@@ -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;
-}
diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c
index f918c63..82928e7 100644
--- a/board/AndesTech/adp-ag101p/adp-ag101p.c
+++ b/board/AndesTech/adp-ag101p/adp-ag101p.c
@@ -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;
-}
diff --git a/board/AndesTech/nx25-ae250/nx25-ae250.c b/board/AndesTech/nx25-ae250/nx25-ae250.c
index 12f2d35..a965218 100644
--- a/board/AndesTech/nx25-ae250/nx25-ae250.c
+++ b/board/AndesTech/nx25-ae250/nx25-ae250.c
@@ -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;
-}