diff options
author | Hannes Schmelzer <oe5hpm@oevsv.at> | 2018-07-06 15:41:24 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-19 17:03:34 -0400 |
commit | 1d469866015d8a4bf914428a04cbf8ce3975dac8 (patch) | |
tree | 866ba41cc3778f56368a249a0bcf5c57a2145625 /board/BuR/brppt1/board.c | |
parent | 96cf89f86b98116539020ddff2a6d22cf70b267b (diff) |
board/BuR/brppt1: drop dead code (CONFIG_SPL_OS_BOOT)
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>
Diffstat (limited to 'board/BuR/brppt1/board.c')
-rw-r--r-- | board/BuR/brppt1/board.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c index ff2a3a2426..f970f9832d 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}; |