summaryrefslogtreecommitdiff
path: root/board/freescale/mx7dsabresd/mx7dsabresd.c
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-09-15 14:05:07 +0800
committerStefano Babic <sbabic@denx.de>2015-09-24 11:32:18 +0200
commit60dba18801a5a7792c8469f42aef1d189a7d863d (patch)
tree5353624f8ce589c6510852e3c2e357f7667bc36b /board/freescale/mx7dsabresd/mx7dsabresd.c
parent4406da0f49dd6aa96c297884911094ff903a8f77 (diff)
downloadu-boot-60dba18801a5a7792c8469f42aef1d189a7d863d.tar.gz
u-boot-60dba18801a5a7792c8469f42aef1d189a7d863d.tar.bz2
u-boot-60dba18801a5a7792c8469f42aef1d189a7d863d.zip
imx: mx7dsabresd: drop code for CONFIG_CMD_BMODE
We use outer pmic reset and drop internal reset signal, bmode will not work as expected, so drop boot mode code for 7dsabresd board. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Adrian Alonso <aalonso@freescale.com>
Diffstat (limited to 'board/freescale/mx7dsabresd/mx7dsabresd.c')
-rw-r--r--board/freescale/mx7dsabresd/mx7dsabresd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index bb823f5342..ee9890b599 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -10,7 +10,6 @@
#include <asm/arch/sys_proto.h>
#include <asm/gpio.h>
#include <asm/imx-common/iomux-v3.h>
-#include <asm/imx-common/boot_mode.h>
#include <asm/io.h>
#include <linux/sizes.h>
#include <common.h>
@@ -421,15 +420,6 @@ int board_init(void)
return 0;
}
-#ifdef CONFIG_CMD_BMODE
-static const struct boot_mode board_boot_modes[] = {
- /* 4 bit bus width */
- {"sd1", MAKE_CFGVAL(0x10, 0x10, 0x00, 0x00)},
- {"emmc", MAKE_CFGVAL(0x10, 0x2a, 0x00, 0x00)},
- {NULL, 0},
-};
-#endif
-
#ifdef CONFIG_POWER
#define I2C_PMIC 0
int power_init_board(void)
@@ -464,10 +454,6 @@ int board_late_init(void)
{
struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR;
-#ifdef CONFIG_CMD_BMODE
- add_board_boot_modes(board_boot_modes);
-#endif
-
#ifdef CONFIG_ENV_IS_IN_MMC
mmc_late_init();
#endif