diff mbox series

[U-Boot,07/12] board/BuR/brppt1: drop dead code (CONFIG_SPL_OS_BOOT)

Message ID 1530884489-28089-8-git-send-email-oe5hpm@oevsv.at
State Accepted
Commit 1d469866015d8a4bf914428a04cbf8ce3975dac8
Delegated to: Tom Rini
Headers show
Series Refactor bur board/common code | expand

Commit Message

Hannes Schmelzer July 6, 2018, 1:41 p.m. UTC
The falcon mode was never used on this board, there is also no plan to
use it. So drop this dead code.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
---

 board/BuR/brppt1/board.c | 16 ----------------
 include/configs/brppt1.h | 14 --------------
 2 files changed, 30 deletions(-)

Comments

Tom Rini July 20, 2018, 12:37 p.m. UTC | #1
On Fri, Jul 06, 2018 at 03:41:24PM +0200, Hannes Schmelzer wrote:

> The falcon mode was never used on this board, there is also no plan to
> use it. So drop this dead code.
> 
> Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c
index ff2a3a2..f970f98 100644
--- a/board/BuR/brppt1/board.c
+++ b/board/BuR/brppt1/board.c
@@ -72,22 +72,6 @@  static const struct ctrl_ioregs ddr3_ioregs = {
 	.dt1ioctl = MT41K256M16HA125E_IOCTRL_VALUE,
 };
 
-#ifdef CONFIG_SPL_OS_BOOT
-/*
- * called from spl_nand.c
- * return 0 for loading linux, return 1 for loading u-boot
- */
-int spl_start_uboot(void)
-{
-	if (0 == gpio_get_value(REPSWITCH)) {
-		mdelay(1000);
-		printf("SPL: entering u-boot instead kernel image.\n");
-		return 1;
-	}
-	return 0;
-}
-#endif /* CONFIG_SPL_OS_BOOT */
-
 #define OSC	(V_OSCK/1000000)
 static const struct dpll_params dpll_ddr3 = { 400, OSC-1, 1, -1, -1, -1, -1};
 
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index 6a210b7..32bb83c 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -44,20 +44,6 @@ 
 #define CONFIG_MTD_DEVICE		/* Required for mtdparts */
 #endif /* CONFIG_SPI_BOOT, ... */
 
-#ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_SYS_SPL_ARGS_ADDR		0x80F80000
-
-/* RAW SD card / eMMC */
-#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR	0x900	/* address 0x120000 */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR	0x80	/* address 0x10000 */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS	0x80	/* 64KiB */
-
-/* NAND */
-#ifdef CONFIG_NAND
-#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x140000
-#endif /* CONFIG_NAND */
-#endif /* CONFIG_SPL_OS_BOOT */
-
 #ifdef CONFIG_NAND
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS