[U-Boot] [PATCH 2/7] board: Drop ftsdc010 non-dm code
Andes
uboot at andestech.com
Tue Mar 20 07:58:50 UTC 2018
From: Rick Chen <rick at andestech.com>
Remove board_mmc_init() in adp-ag101p, adp-ae3xx
and nx25-ae250 boards.
Signed-off-by: Rick Chen <rick at andestech.com>
Signed-off-by: Rick Chen <rickchen36 at gmail.com>
Cc: Greentime Hu <green.hu at 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 --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;
-}
--
2.7.4
More information about the U-Boot
mailing list