[U-Boot] [PATCH 70/93] arm: Remove ap121 board
Simon Glass
sjg at chromium.org
Mon Nov 19 15:53:50 UTC 2018
This board has not been converted to CONFIG_DM_BLK by the deadline.
Remove it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/mips/mach-ath79/Kconfig | 1 -
board/qca/ap121/Kconfig | 27 ----------------
board/qca/ap121/MAINTAINERS | 6 ----
board/qca/ap121/Makefile | 3 --
board/qca/ap121/ap121.c | 46 ---------------------------
configs/ap121_defconfig | 60 ------------------------------------
include/configs/ap121.h | 46 ---------------------------
7 files changed, 189 deletions(-)
delete mode 100644 board/qca/ap121/Kconfig
delete mode 100644 board/qca/ap121/MAINTAINERS
delete mode 100644 board/qca/ap121/Makefile
delete mode 100644 board/qca/ap121/ap121.c
delete mode 100644 configs/ap121_defconfig
delete mode 100644 include/configs/ap121.h
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 1553aabcea7..3d9c616bc0e 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -50,7 +50,6 @@ config BOARD_TPLINK_WDR4300
endchoice
-source "board/qca/ap121/Kconfig"
source "board/tplink/wdr4300/Kconfig"
endmenu
diff --git a/board/qca/ap121/Kconfig b/board/qca/ap121/Kconfig
deleted file mode 100644
index 4fd6a7167a5..00000000000
--- a/board/qca/ap121/Kconfig
+++ /dev/null
@@ -1,27 +0,0 @@
-if TARGET_AP121
-
-config SYS_VENDOR
- default "qca"
-
-config SYS_BOARD
- default "ap121"
-
-config SYS_CONFIG_NAME
- default "ap121"
-
-config SYS_TEXT_BASE
- default 0x9f000000
-
-config SYS_DCACHE_SIZE
- default 32768
-
-config SYS_DCACHE_LINE_SIZE
- default 32
-
-config SYS_ICACHE_SIZE
- default 65536
-
-config SYS_ICACHE_LINE_SIZE
- default 32
-
-endif
diff --git a/board/qca/ap121/MAINTAINERS b/board/qca/ap121/MAINTAINERS
deleted file mode 100644
index 8b02988d605..00000000000
--- a/board/qca/ap121/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-AP121 BOARD
-M: Wills Wang <wills.wang at live.com>
-S: Maintained
-F: board/qca/ap121/
-F: include/configs/ap121.h
-F: configs/ap121_defconfig
diff --git a/board/qca/ap121/Makefile b/board/qca/ap121/Makefile
deleted file mode 100644
index 7cdf53cf9ec..00000000000
--- a/board/qca/ap121/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-
-obj-y = ap121.o
diff --git a/board/qca/ap121/ap121.c b/board/qca/ap121/ap121.c
deleted file mode 100644
index 24acdcb2e6f..00000000000
--- a/board/qca/ap121/ap121.c
+++ /dev/null
@@ -1,46 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2015-2016 Wills Wang <wills.wang at live.com>
- */
-
-#include <common.h>
-#include <asm/io.h>
-#include <asm/addrspace.h>
-#include <asm/types.h>
-#include <mach/ar71xx_regs.h>
-#include <mach/ddr.h>
-#include <mach/ath79.h>
-#include <debug_uart.h>
-
-#ifdef CONFIG_DEBUG_UART_BOARD_INIT
-void board_debug_uart_init(void)
-{
- void __iomem *regs;
- u32 val;
-
- regs = map_physmem(AR71XX_GPIO_BASE, AR71XX_GPIO_SIZE,
- MAP_NOCACHE);
-
- /*
- * GPIO9 as input, GPIO10 as output
- */
- val = readl(regs + AR71XX_GPIO_REG_OE);
- val &= ~AR933X_GPIO(9);
- val |= AR933X_GPIO(10);
- writel(val, regs + AR71XX_GPIO_REG_OE);
-
- /*
- * Enable UART, GPIO9 as UART_SI, GPIO10 as UART_SO
- */
- val = readl(regs + AR71XX_GPIO_REG_FUNC);
- val |= AR933X_GPIO_FUNC_UART_EN | AR933X_GPIO_FUNC_RES_TRUE;
- writel(val, regs + AR71XX_GPIO_REG_FUNC);
-}
-#endif
-
-int board_early_init_f(void)
-{
- ddr_init();
- ath79_eth_reset();
- return 0;
-}
diff --git a/configs/ap121_defconfig b/configs/ap121_defconfig
deleted file mode 100644
index 5d54267cd34..00000000000
--- a/configs/ap121_defconfig
+++ /dev/null
@@ -1,60 +0,0 @@
-CONFIG_MIPS=y
-CONFIG_SYS_TEXT_BASE=0x9F000000
-CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_DEBUG_UART_BOARD_INIT=y
-CONFIG_DEBUG_UART_BASE=0xb8020000
-CONFIG_DEBUG_UART_CLOCK=25000000
-CONFIG_ARCH_ATH79=y
-CONFIG_DEBUG_UART=y
-CONFIG_BOOTDELAY=3
-CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs"
-CONFIG_DISPLAY_CPUINFO=y
-CONFIG_BOARD_EARLY_INIT_F=y
-CONFIG_SYS_PROMPT="ap121 # "
-# CONFIG_CMD_BDI is not set
-# CONFIG_CMD_CONSOLE is not set
-# CONFIG_CMD_ELF is not set
-# CONFIG_CMD_XIMG is not set
-# CONFIG_CMD_EXPORTENV is not set
-# CONFIG_CMD_IMPORTENV is not set
-# CONFIG_CMD_EDITENV is not set
-# CONFIG_CMD_CRC32 is not set
-CONFIG_CMD_MEMTEST=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_SF=y
-CONFIG_CMD_SPI=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nor0=spi-flash.0"
-CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:256k(u-boot),64k(u-boot-env),6144k(rootfs),1600k(uImage),64k(NVRAM),64k(ART)"
-# CONFIG_ISO_PARTITION is not set
-CONFIG_DEFAULT_DEVICE_TREE="ap121"
-CONFIG_ENV_IS_IN_SPI_FLASH=y
-CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_DM_SPI_FLASH=y
-CONFIG_SPI_FLASH=y
-CONFIG_SPI_FLASH_BAR=y
-CONFIG_SPI_FLASH_ATMEL=y
-CONFIG_SPI_FLASH_EON=y
-CONFIG_SPI_FLASH_GIGADEVICE=y
-CONFIG_SPI_FLASH_MACRONIX=y
-CONFIG_SPI_FLASH_SPANSION=y
-CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_SPI_FLASH_SST=y
-CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_SPI_FLASH_DATAFLASH=y
-CONFIG_SPI_FLASH_MTD=y
-CONFIG_DM_ETH=y
-CONFIG_AG7XXX=y
-CONFIG_PINCTRL=y
-CONFIG_PINCONF=y
-CONFIG_PINCTRL_AR933X=y
-CONFIG_DM_SERIAL=y
-CONFIG_DEBUG_UART_AR933X=y
-CONFIG_AR933X_UART=y
-CONFIG_SPI=y
-CONFIG_DM_SPI=y
-CONFIG_ATH79_SPI=y
-CONFIG_LZMA=y
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
deleted file mode 100644
index 96850b5761c..00000000000
--- a/include/configs/ap121.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2015-2016 Wills Wang <wills.wang at live.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_SYS_HZ 1000
-#define CONFIG_SYS_MHZ 200
-#define CONFIG_SYS_MIPS_TIMER_FREQ (CONFIG_SYS_MHZ * 1000000)
-
-#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
-
-#define CONFIG_SYS_MALLOC_LEN 0x40000
-#define CONFIG_SYS_BOOTPARAMS_LEN 0x20000
-
-#define CONFIG_SYS_SDRAM_BASE 0x80000000
-#define CONFIG_SYS_LOAD_ADDR 0x81000000
-
-#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
-#define CONFIG_SYS_INIT_RAM_SIZE 0x8000
-#define CONFIG_SYS_INIT_SP_ADDR \
- (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - 1)
-
-#define CONFIG_SYS_BAUDRATE_TABLE \
- {9600, 19200, 38400, 57600, 115200}
-
-#define CONFIG_BOOTCOMMAND "sf probe;" \
- "mtdparts default;" \
- "bootm 0x9f650000"
-
-#define CONFIG_ENV_SPI_MAX_HZ 25000000
-#define CONFIG_ENV_OFFSET 0x40000
-#define CONFIG_ENV_SECT_SIZE 0x10000
-#define CONFIG_ENV_SIZE 0x10000
-
-/* Miscellaneous configurable options */
-
-/*
- * Diagnostics
- */
-#define CONFIG_SYS_MEMTEST_START 0x80100000
-#define CONFIG_SYS_MEMTEST_END 0x83f00000
-
-#endif /* __CONFIG_H */
--
2.19.1.1215.g8438c0b245-goog
More information about the U-Boot
mailing list