mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
board: Drop ftsdc010 non-dm code
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>
This commit is contained in:
parent
cf52231a93
commit
5ff6b3de6d
3 changed files with 0 additions and 33 deletions
|
@ -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)
|
||||||
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 @@
|
||||||
#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)
|
||||||
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 @@
|
||||||
#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)
|
||||||
{
|
{
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue