[U-Boot] [PATCH 69/93] arm: Remove ap143 board

Simon Glass sjg at chromium.org
Mon Nov 19 15:53:49 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/ap143/Kconfig      | 27 ----------------
 board/qca/ap143/MAINTAINERS  |  6 ----
 board/qca/ap143/Makefile     |  3 --
 board/qca/ap143/ap143.c      | 62 ------------------------------------
 configs/ap143_defconfig      | 55 --------------------------------
 include/configs/ap143.h      | 50 -----------------------------
 7 files changed, 204 deletions(-)
 delete mode 100644 board/qca/ap143/Kconfig
 delete mode 100644 board/qca/ap143/MAINTAINERS
 delete mode 100644 board/qca/ap143/Makefile
 delete mode 100644 board/qca/ap143/ap143.c
 delete mode 100644 configs/ap143_defconfig
 delete mode 100644 include/configs/ap143.h

diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index bc86f591df8..1553aabcea7 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -51,7 +51,6 @@ config BOARD_TPLINK_WDR4300
 endchoice
 
 source "board/qca/ap121/Kconfig"
-source "board/qca/ap143/Kconfig"
 source "board/tplink/wdr4300/Kconfig"
 
 endmenu
diff --git a/board/qca/ap143/Kconfig b/board/qca/ap143/Kconfig
deleted file mode 100644
index 74c632a03e7..00000000000
--- a/board/qca/ap143/Kconfig
+++ /dev/null
@@ -1,27 +0,0 @@
-if TARGET_AP143
-
-config SYS_VENDOR
-	default "qca"
-
-config SYS_BOARD
-	default "ap143"
-
-config SYS_CONFIG_NAME
-	default "ap143"
-
-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/ap143/MAINTAINERS b/board/qca/ap143/MAINTAINERS
deleted file mode 100644
index 11cb14fc74d..00000000000
--- a/board/qca/ap143/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-AP143 BOARD
-M:	Wills Wang <wills.wang at live.com>
-S:	Maintained
-F:	board/qca/ap143/
-F:	include/configs/ap143.h
-F:	configs/ap143_defconfig
diff --git a/board/qca/ap143/Makefile b/board/qca/ap143/Makefile
deleted file mode 100644
index bf9fd83af9b..00000000000
--- a/board/qca/ap143/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-
-obj-y	= ap143.o
diff --git a/board/qca/ap143/ap143.c b/board/qca/ap143/ap143.c
deleted file mode 100644
index 8ee26ababaa..00000000000
--- a/board/qca/ap143/ap143.c
+++ /dev/null
@@ -1,62 +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 |= QCA953X_GPIO(9);
-	val &= ~QCA953X_GPIO(10);
-	writel(val, regs + AR71XX_GPIO_REG_OE);
-
-	/*
-	 * Enable GPIO10 as UART0_SOUT
-	 */
-	val = readl(regs + QCA953X_GPIO_REG_OUT_FUNC2);
-	val &= ~QCA953X_GPIO_MUX_MASK(16);
-	val |= QCA953X_GPIO_OUT_MUX_UART0_SOUT << 16;
-	writel(val, regs + QCA953X_GPIO_REG_OUT_FUNC2);
-
-	/*
-	 * Enable GPIO9 as UART0_SIN
-	 */
-	val = readl(regs + QCA953X_GPIO_REG_IN_ENABLE0);
-	val &= ~QCA953X_GPIO_MUX_MASK(8);
-	val |= QCA953X_GPIO_IN_MUX_UART0_SIN << 8;
-	writel(val, regs + QCA953X_GPIO_REG_IN_ENABLE0);
-
-	/*
-	 * Enable GPIO10 output
-	 */
-	val = readl(regs + AR71XX_GPIO_REG_OUT);
-	val |= QCA953X_GPIO(10);
-	writel(val, regs + AR71XX_GPIO_REG_OUT);
-}
-#endif
-
-int board_early_init_f(void)
-{
-	ddr_init();
-	ath79_eth_reset();
-	return 0;
-}
diff --git a/configs/ap143_defconfig b/configs/ap143_defconfig
deleted file mode 100644
index 83eb583b563..00000000000
--- a/configs/ap143_defconfig
+++ /dev/null
@@ -1,55 +0,0 @@
-CONFIG_MIPS=y
-CONFIG_SYS_TEXT_BASE=0x9F000000
-CONFIG_SYS_MALLOC_F_LEN=0x800
-CONFIG_DEBUG_UART_BOARD_INIT=y
-CONFIG_DEBUG_UART_BASE=0xb8020000
-CONFIG_DEBUG_UART_CLOCK=25000000
-CONFIG_ARCH_ATH79=y
-CONFIG_TARGET_AP143=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="ap143 # "
-# 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_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nor0=spi-flash.0"
-CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1472k(uImage),64k(ART)"
-# CONFIG_ISO_PARTITION is not set
-CONFIG_DEFAULT_DEVICE_TREE="ap143"
-CONFIG_ENV_IS_IN_SPI_FLASH=y
-# CONFIG_NET is not set
-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_PINCTRL=y
-CONFIG_DM_SERIAL=y
-CONFIG_DEBUG_UART_SHIFT=2
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_DM_SPI=y
-CONFIG_ATH79_SPI=y
-CONFIG_LZMA=y
diff --git a/include/configs/ap143.h b/include/configs/ap143.h
deleted file mode 100644
index 4dbca917e39..00000000000
--- a/include/configs/ap143.h
+++ /dev/null
@@ -1,50 +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                  325
-#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        0x2000
-#define CONFIG_SYS_INIT_SP_ADDR \
-	(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - 1)
-
-/*
- * Serial Port
- */
-#define CONFIG_SYS_NS16550_CLK          25000000
-#define CONFIG_SYS_BAUDRATE_TABLE \
-	{9600, 19200, 38400, 57600, 115200}
-
-#define CONFIG_BOOTCOMMAND              "sf probe;" \
-					"mtdparts default;" \
-					"bootm 0x9f680000"
-
-#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