Skip to content
Snippets Groups Projects
Commit 5ff6b3de authored by Rick Chen's avatar Rick Chen Committed by Andes
Browse files

board: Drop ftsdc010 non-dm code


Remove board_mmc_init() in adp-ag101p, adp-ae3xx
and nx25-ae250 boards.

Signed-off-by: default avatarRick Chen <rick@andestech.com>
Signed-off-by: default avatarRick Chen <rickchen36@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
parent cf52231a
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <netdev.h> #include <netdev.h>
#endif #endif
#include <linux/io.h> #include <linux/io.h>
#include <faraday/ftsdc010.h>
#include <faraday/ftsmc020.h> #include <faraday/ftsmc020.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -75,13 +74,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) ...@@ -75,13 +74,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
return 0; return 0;
} }
} }
int board_mmc_init(bd_t *bis)
{
#ifndef CONFIG_DM_MMC
#ifdef CONFIG_FTSDC010
ftsdc010_mmc_init(0);
#endif
#endif
return 0;
}
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <faraday/ftsdc010.h>
#include <faraday/ftsmc020.h> #include <faraday/ftsmc020.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -82,13 +81,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) ...@@ -82,13 +81,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
return 0; return 0;
} }
} }
int board_mmc_init(bd_t *bis)
{
#ifndef CONFIG_DM_MMC
#ifdef CONFIG_FTSDC010
ftsdc010_mmc_init(0);
#endif
#endif
return 0;
}
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <netdev.h> #include <netdev.h>
#endif #endif
#include <linux/io.h> #include <linux/io.h>
#include <faraday/ftsdc010.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -65,13 +64,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) ...@@ -65,13 +64,3 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
{ {
return 0; return 0;
} }
int board_mmc_init(bd_t *bis)
{
#ifndef CONFIG_DM_MMC
#ifdef CONFIG_FTSDC010
ftsdc010_mmc_init(0);
#endif
#endif
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment