From 5ff6b3de6d16f1e25a08ca3343bb8b3f4641b9d8 Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Tue, 20 Mar 2018 13:57:13 +0800 Subject: [PATCH] board: Drop ftsdc010 non-dm code Remove board_mmc_init() in adp-ag101p, adp-ae3xx and nx25-ae250 boards. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- 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 8cffb6ba8b..52a89dc7a0 100644 --- a/board/AndesTech/adp-ae3xx/adp-ae3xx.c +++ b/board/AndesTech/adp-ae3xx/adp-ae3xx.c @@ -12,7 +12,6 @@ #include #endif #include -#include #include 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 f918c630c1..82928e78a4 100644 --- a/board/AndesTech/adp-ag101p/adp-ag101p.c +++ b/board/AndesTech/adp-ag101p/adp-ag101p.c @@ -14,7 +14,6 @@ #include #include -#include #include 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 12f2d3520b..a965218f34 100644 --- a/board/AndesTech/nx25-ae250/nx25-ae250.c +++ b/board/AndesTech/nx25-ae250/nx25-ae250.c @@ -11,7 +11,6 @@ #include #endif #include -#include 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.30.2