Skip to contentSkip to conversation

NDS32: Generic Board Support and Unsupport

PATCH New kunhuahuang 2 participants 5 messages Aug 24, 2015 – Aug 28, 2015 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

cover NDS32: Generic Board Support and Unsupport

From: Kun-Hua Huang <[email protected]>

I'm one of the Andestech's uboot maintainers.
This patch adds NDS32 core's ag101p platform for generic board support. The ag101 and ag102 platform have been deprecated.
We decided to remove ag101 and ag102 platform support.

Kun-Hua Huang (2):
Add nds32 ag101p mainline support.
Remove ag101 and ag102 support

 arch/Kconfig                               |   2 +
 arch/nds32/Kconfig                         |   8 -
 arch/nds32/cpu/n1213/Makefile              |   1 -
 arch/nds32/cpu/n1213/ag101/lowlevel_init.S |  16 +-
 arch/nds32/cpu/n1213/ag102/Makefile        |  21 --
 arch/nds32/cpu/n1213/ag102/cpu.c           |  67 -----
 arch/nds32/cpu/n1213/ag102/lowlevel_init.S | 307 ----------------------
 arch/nds32/cpu/n1213/ag102/timer.c         | 191 --------------
 arch/nds32/cpu/n1213/ag102/watchdog.S      |  33 ---
 arch/nds32/cpu/n1213/start.S               |   7 +-
 arch/nds32/include/asm/mach-types.h        |  28 --
 arch/nds32/include/asm/u-boot.h            |   1 +
 arch/nds32/lib/Makefile                    |   1 -
 arch/nds32/lib/board.c                     | 398 -----------------------------
 arch/nds32/lib/interrupts.c                |   4 +
 board/AndesTech/adp-ag101/Kconfig          |  18 --
 board/AndesTech/adp-ag101/MAINTAINERS      |   6 -
 board/AndesTech/adp-ag101/Makefile         |   9 -
 board/AndesTech/adp-ag101/README           |  74 ------
 board/AndesTech/adp-ag101/adp-ag101.c      |  82 ------
 board/AndesTech/adp-ag101p/adp-ag101p.c    |   1 -
 board/AndesTech/adp-ag102/Kconfig          |  18 --
 board/AndesTech/adp-ag102/MAINTAINERS      |   6 -
 board/AndesTech/adp-ag102/Makefile         |   8 -
 board/AndesTech/adp-ag102/adp-ag102.c      |  91 -------
 common/board_f.c                           |   8 +-
 common/board_r.c                           |   4 +-
 common/command.c                           |   2 +-
 configs/adp-ag101_defconfig                |   4 -
 configs/adp-ag102_defconfig                |   6 -
 doc/{README.ag102 => README.ag101p}        |  16 +-
 include/configs/adp-ag101.h                | 384 ----------------------------
 include/configs/adp-ag101p.h               |  50 +++-
 include/configs/adp-ag102.h                | 334 ------------------------
 34 files changed, 76 insertions(+), 2130 deletions(-)
 delete mode 100644 arch/nds32/cpu/n1213/ag102/Makefile
 delete mode 100644 arch/nds32/cpu/n1213/ag102/cpu.c
 delete mode 100644 arch/nds32/cpu/n1213/ag102/lowlevel_init.S
 delete mode 100644 arch/nds32/cpu/n1213/ag102/timer.c
 delete mode 100644 arch/nds32/cpu/n1213/ag102/watchdog.S
 delete mode 100644 arch/nds32/lib/board.c
 delete mode 100644 board/AndesTech/adp-ag101/Kconfig
 delete mode 100644 board/AndesTech/adp-ag101/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ag101/Makefile
 delete mode 100644 board/AndesTech/adp-ag101/README
 delete mode 100644 board/AndesTech/adp-ag101/adp-ag101.c
 delete mode 100644 board/AndesTech/adp-ag102/Kconfig
 delete mode 100644 board/AndesTech/adp-ag102/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ag102/Makefile
 delete mode 100644 board/AndesTech/adp-ag102/adp-ag102.c
 delete mode 100644 configs/adp-ag101_defconfig
 delete mode 100644 configs/adp-ag102_defconfig
 rename doc/{README.ag102 => README.ag101p} (60%)
 delete mode 100644 include/configs/adp-ag101.h
 delete mode 100644 include/configs/adp-ag102.h
Signature · 1 line
2.3.5
#1 lore raw

PATCH 1/2 NDS32: Generic Board Support and Unsupport

From: Kun-Hua Huang <[email protected]>

Add nds32 ag101p generic board support.

---
 arch/Kconfig                               |   2 +
 arch/nds32/cpu/n1213/Makefile              |   1 -
 arch/nds32/cpu/n1213/ag101/lowlevel_init.S |  16 +-
 arch/nds32/cpu/n1213/start.S               |   7 +-
 arch/nds32/include/asm/u-boot.h            |   1 +
 arch/nds32/lib/Makefile                    |   1 -
 arch/nds32/lib/board.c                     | 398 -----------------------------
 arch/nds32/lib/interrupts.c                |   4 +
 board/AndesTech/adp-ag101p/adp-ag101p.c    |   1 -
 common/board_f.c                           |   8 +-
 common/board_r.c                           |   4 +-
 common/command.c                           |   2 +-
 doc/README.ag101p                          |  36 +++
 include/configs/adp-ag101p.h               |  50 +++-
 14 files changed, 104 insertions(+), 427 deletions(-)
 delete mode 100644 arch/nds32/lib/board.c
 create mode 100644 doc/README.ag101p
arch/Kconfig +2 -0
index e952bb1..4f73819 100644
@@ -56,6 +56,8 @@ config MIPS
 
 config NDS32
 	bool "NDS32 architecture"
+	select HAVE_GENERIC_BOARD
+	select SYS_GENERIC_BOARD
 
 config NIOS2
 	bool "Nios II architecture"
arch/nds32/cpu/n1213/Makefile +0 -1
index 8ab1fce..7d5ae96 100644
@@ -12,4 +12,3 @@
 extra-y	= start.o
 
 obj-$(if $(filter ag101,$(SOC)),y) += ag101/
-obj-$(if $(filter ag102,$(SOC)),y) += ag102/
arch/nds32/cpu/n1213/ag101/lowlevel_init.S +10 -6
index d6484b9..1a94868 100644
@@ -205,8 +205,8 @@ relo_base:
 	 * Remapping
 	 */
 	led	0x1a
-	write32	SDMC_B0_BSR_A, SDMC_B0_BSR_D		! 0x00001100
-	write32	SDMC_B1_BSR_A, SDMC_B1_BSR_D		! 0x00001140
+	write32	SDMC_B0_BSR_A, SDMC_B0_BSR_D		! 0x00001800
+	write32	SDMC_B1_BSR_A, SDMC_B1_BSR_D		! 0x00001880
 
 	/* clear empty BSR registers */
 	led	0x1b
@@ -272,7 +272,11 @@ relo_base:
 	 */
 	led	0x1c
 	write32 SDMC_B0_BSR_A, 0x00001000
-	write32 SDMC_B1_BSR_A, 0x00001040
+	write32 SDMC_B1_BSR_A, 0x00001200
+	li $r5, CONFIG_SYS_TEXT_BASE	/* flash base address */
+	add $r11, $r11, $r5	/* add flash address offset for ret */
+	add $r10, $r10, $r5
+	move $lp, $r11
 	setbf15	AHBC_CR_A, FTAHBC020S_CR_REMAP		! 0x1
 
   /*
@@ -282,9 +286,9 @@ relo_base:
 	li	$r5, AHBC_BSR6_A
 	lwi $r6, [$r5]
 	li  $r4, 0xfff0ffff
-	and $r6 ,$r4 , $r6
+	and $r6 ,$r4, $r6
 	li	$r4, 0x000b0000
-	or  $r6, $r4,	$r6
+	or  $r6, $r4, $r6
 	swi	$r6, [$r5]
 
   /*
@@ -299,7 +303,7 @@ relo_base:
 	or  $r5, $r5, $r6
 	swi $r5,	[$r4]
 #endif /* #ifdef CONFIG_MEM_REMAP */
-	move	$lp, $r11
+	move $lp, $r11
 2:
 	ret
 
arch/nds32/cpu/n1213/start.S +5 -2
index 0d96c52..2f0b76c 100644
@@ -153,8 +153,11 @@ turnoff_wtdog:
  * $sp must be 8-byte alignment for ABI compliance.
  */
 call_board_init_f:
-	li	$sp, CONFIG_SYS_INIT_SP_ADDR
-	li	$r0, 0x00000000
+	li		$sp, CONFIG_SYS_INIT_SP_ADDR
+	li		$r10, GD_SIZE	/* get GD size */
+	sub		$sp, $sp, $r10	/* GD start addr */
+	move	$r10, $sp
+	li		$r0, 0x00000000
 
 #ifdef __PIC__
 #ifdef __NDS32_N1213_43U1H__
arch/nds32/include/asm/u-boot.h +1 -0
index 44e72d4..2efdeb1 100644
@@ -30,6 +30,7 @@ typedef struct bd_info {
 	unsigned long	bi_flashstart;	/* start of FLASH memory */
 	unsigned long	bi_flashsize;	/* size	 of FLASH memory */
 	unsigned long	bi_flashoffset; /* reserved area for startup monitor */
+	unsigned char	bi_enetaddr[6];
 
 	struct				/* RAM configuration */
 	{
arch/nds32/lib/Makefile +0 -1
index 6ea96db..1a0d26f 100644
@@ -9,7 +9,6 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-y += board.o
 obj-y += cache.o
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
 obj-y += interrupts.o
arch/nds32/lib/board.c deleted +0 -398

398 lines not on this page · raw message

arch/nds32/lib/interrupts.c +4 -0
index d86cc23..72ff78d 100644
@@ -35,6 +35,10 @@ int GIE_STATUS(void)
 
 #ifdef CONFIG_USE_INTERRUPT
 
+int interrupt_init(void)
+{
+	return 0;
+}
 /* enable interrupts */
 void enable_interrupts(void)
 {
board/AndesTech/adp-ag101p/adp-ag101p.c +0 -1
index dd8a6653..84c77f7 100644
@@ -28,7 +28,6 @@ int board_init(void)
 	gd->bd->bi_arch_number = MACH_TYPE_ADPAG101P;
 	gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
 
-	ftsmc020_init();	/* initialize Flash */
 	return 0;
 }
 
common/board_f.c +6 -2
index a2be577..cdc1b1a 100644
@@ -272,6 +272,8 @@ static int setup_mon_len(void)
 	gd->mon_len = (ulong)&_end - (ulong)_init;
 #elif defined(CONFIG_BLACKFIN) || defined(CONFIG_NIOS2)
 	gd->mon_len = CONFIG_SYS_MONITOR_LEN;
+#elif defined(CONFIG_NDS32)
+	gd->mon_len = (ulong)(&__bss_end) - (ulong)(&_start);
 #else
 	/* TODO: use (ulong)&__bss_end - (ulong)&__text_start; ? */
 	gd->mon_len = (ulong)&__bss_end - CONFIG_SYS_MONITOR_BASE;
@@ -792,7 +794,8 @@ static init_fnc_t init_sequence_f[] = {
 	/* TODO: can we rename this to timer_init()? */
 	init_timebase,
 #endif
-#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || defined(CONFIG_BLACKFIN)
+#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
+		defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32)
 	timer_init,		/* initialize timer */
 #endif
 #ifdef CONFIG_SYS_ALLOC_DPRAM
@@ -858,7 +861,8 @@ static init_fnc_t init_sequence_f[] = {
 #endif
 	announce_dram_init,
 	/* TODO: unify all these dram functions? */
-#if defined(CONFIG_ARM) || defined(CONFIG_X86) || defined(CONFIG_MICROBLAZE) || defined(CONFIG_AVR32)
+#if defined(CONFIG_ARM) || defined(CONFIG_X86) || defined(CONFIG_NDS32) || \
+		defined(CONFIG_MICROBLAZE) || defined(CONFIG_AVR32)
 	dram_init,		/* configure available RAM banks */
 #endif
 #if defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_M68K)
common/board_r.c +3 -1
index bf6c725..f8c1baa 100644
@@ -132,6 +132,8 @@ static int initr_reloc_global_data(void)
 {
 #ifdef __ARM__
 	monitor_flash_len = _end - __image_copy_start;
+#elif defined(CONFIG_NDS32)
+	monitor_flash_len = (ulong)&_end - (ulong)&_start;
 #elif !defined(CONFIG_SANDBOX) && !defined(CONFIG_NIOS2)
 	monitor_flash_len = (ulong)&__init_end - gd->relocaddr;
 #endif
@@ -711,7 +713,7 @@ init_fnc_t init_sequence_r[] = {
 #ifdef CONFIG_DM
 	initr_dm,
 #endif
-#ifdef CONFIG_ARM
+#if defined(CONFIG_ARM) || defined(CONFIG_NDS32)
 	board_init,	/* Setup chipselects */
 #endif
 	/*
common/command.c +1 -1
index 381e6a2..972ae28 100644
@@ -445,7 +445,7 @@ void fixup_cmdtable(cmd_tbl_t *cmdtp, int size)
 		ulong addr;
 
 		addr = (ulong)(cmdtp->cmd) + gd->reloc_off;
-#if DEBUG_COMMANDS
+#ifdef DEBUG_COMMANDS
 		printf("Command \"%s\": 0x%08lx => 0x%08lx\n",
 		       cmdtp->name, (ulong)(cmdtp->cmd), addr);
 #endif
doc/README.ag101p new file +36 -0
new file mode 100644
index 0000000..8fc0ac5
@@ -0,0 +1,36 @@
+Andes Technology SoC AG101P
+===========================
+
+AG101P is the mainline SoC produced by Andes Technology using N1213 CPU core
+with FPU and DDR contoller support.
+AG101P has integrated both AHB and APB bus and many periphals for application
+and product development.
+
+ADP-AG101P
+=========
+
+ADP-AG101P is the SoC with AG101 hardcore CPU.
+
+Configurations
+==============
+
+CONFIG_MEM_REMAP:
+	Doing memory remap is essential for preparing some non-OS or RTOS
+	applications.
+
+CONFIG_SKIP_LOWLEVEL_INIT:
+	If you want to boot this system from SPI ROM and bypass e-bios (the
+	other boot loader on ROM). You should undefine CONFIG_SKIP_LOWLEVEL_INIT
+	in "include/configs/adp-ag101p.h".
+
+Build and boot steps
+====================
+
+build:
+1. Prepare the toolchains and make sure the $PATH to toolchains is correct.
+2. Use `make adp-ag101p_defconfig` in u-boot root to build the image.
+
+Burn u-boot to SPI ROM:
+====================
+
+This section will be added later.
include/configs/adp-ag101p.h +36 -14

108 lines not on this page · raw message

Signature · 1 line
2.3.5
#2 lore raw

PATCH 1/2 NDS32: Generic Board Support and Unsupport

Quoted 5 lines · kunhuahuang

From: Kun-Hua Huang <[email protected]>

Add nds32 ag101p generic board support.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150828/2d8fce57/attachment.sig>
#3 lore raw

PATCH 2/2 NDS32: Generic Board Support and Unsupport

In reply to kunhuahuang

From: Kun-Hua Huang <[email protected]>

Remove ag101 and ag102 support

---
 arch/nds32/Kconfig                         |   8 -
 arch/nds32/cpu/n1213/ag102/Makefile        |  21 --
 arch/nds32/cpu/n1213/ag102/cpu.c           |  67 -----
 arch/nds32/cpu/n1213/ag102/lowlevel_init.S | 307 -----------------------
 arch/nds32/cpu/n1213/ag102/timer.c         | 191 --------------
 arch/nds32/cpu/n1213/ag102/watchdog.S      |  33 ---
 arch/nds32/include/asm/mach-types.h        |  28 ---
 board/AndesTech/adp-ag101/Kconfig          |  18 --
 board/AndesTech/adp-ag101/MAINTAINERS      |   6 -
 board/AndesTech/adp-ag101/Makefile         |   9 -
 board/AndesTech/adp-ag101/README           |  74 ------
 board/AndesTech/adp-ag101/adp-ag101.c      |  82 ------
 board/AndesTech/adp-ag102/Kconfig          |  18 --
 board/AndesTech/adp-ag102/MAINTAINERS      |   6 -
 board/AndesTech/adp-ag102/Makefile         |   8 -
 board/AndesTech/adp-ag102/adp-ag102.c      |  91 -------
 configs/adp-ag101_defconfig                |   4 -
 configs/adp-ag102_defconfig                |   6 -
 doc/README.ag102                           |  36 ---
 include/configs/adp-ag101.h                | 384 -----------------------------
 include/configs/adp-ag102.h                | 334 -------------------------
 21 files changed, 1731 deletions(-)
 delete mode 100644 arch/nds32/cpu/n1213/ag102/Makefile
 delete mode 100644 arch/nds32/cpu/n1213/ag102/cpu.c
 delete mode 100644 arch/nds32/cpu/n1213/ag102/lowlevel_init.S
 delete mode 100644 arch/nds32/cpu/n1213/ag102/timer.c
 delete mode 100644 arch/nds32/cpu/n1213/ag102/watchdog.S
 delete mode 100644 board/AndesTech/adp-ag101/Kconfig
 delete mode 100644 board/AndesTech/adp-ag101/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ag101/Makefile
 delete mode 100644 board/AndesTech/adp-ag101/README
 delete mode 100644 board/AndesTech/adp-ag101/adp-ag101.c
 delete mode 100644 board/AndesTech/adp-ag102/Kconfig
 delete mode 100644 board/AndesTech/adp-ag102/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ag102/Makefile
 delete mode 100644 board/AndesTech/adp-ag102/adp-ag102.c
 delete mode 100644 configs/adp-ag101_defconfig
 delete mode 100644 configs/adp-ag102_defconfig
 delete mode 100644 doc/README.ag102
 delete mode 100644 include/configs/adp-ag101.h
 delete mode 100644 include/configs/adp-ag102.h
arch/nds32/Kconfig +0 -8
index 98b0282..4fcd01d 100644
@@ -8,19 +8,11 @@ choice
 	prompt "Target select"
 	optional
 
-config TARGET_ADP_AG101
-	bool "Support adp-ag101"
-
 config TARGET_ADP_AG101P
 	bool "Support adp-ag101p"
 
-config TARGET_ADP_AG102
-	bool "Support adp-ag102"
-
 endchoice
 
-source "board/AndesTech/adp-ag101/Kconfig"
 source "board/AndesTech/adp-ag101p/Kconfig"
-source "board/AndesTech/adp-ag102/Kconfig"
 
 endmenu
arch/nds32/cpu/n1213/ag102/Makefile deleted +0 -21
deleted file mode 100644
index c21ce02..0000000
@@ -1,21 +0,0 @@
-#
-# (C) Copyright 2009
-# Marvell Semiconductor <www.marvell.com>
-# Written-by: Prafulla Wadaskar <[email protected]>
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= cpu.o timer.o
-
-ifndef CONFIG_SKIP_LOWLEVEL_INIT
-obj-y	+= lowlevel_init.o
-endif
-
-ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-obj-y	+= watchdog.o
-endif
arch/nds32/cpu/n1213/ag102/cpu.c deleted +0 -67

67 lines not on this page · raw message

arch/nds32/cpu/n1213/ag102/lowlevel_init.S deleted +0 -307

307 lines not on this page · raw message

arch/nds32/cpu/n1213/ag102/timer.c deleted +0 -191

191 lines not on this page · raw message

arch/nds32/cpu/n1213/ag102/watchdog.S deleted +0 -33
deleted file mode 100644
index 8f450af..0000000
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2011 Andes Technology Corporation
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <asm/arch-ag102/ag102.h>
-#include <linux/linkage.h>
-
-.text
-
-#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-ENTRY(turnoff_watchdog)
-
-#define WD_CR		0xC
-#define WD_ENABLE	0x1
-
-	! Turn off the watchdog, according to Faraday FTWDT010 spec
-	li 	$p0, (CONFIG_FTWDT010_BASE+WD_CR)	! Get the addr of WD CR
-	lwi	$p1, [$p0]				! Get the config of WD
-	andi	$p1, $p1, 0x1f				! Wipe out useless bits
-	li	$r0, ~WD_ENABLE
-	and	$p1, $p1, $r0				! Set WD disable
-	sw	$p1, [$p0]				! Write back to WD CR
-
-	! Disable Interrupts by clear GIE in $PSW reg
-	setgie.d
-
-	ret
-
-ENDPROC(turnoff_watchdog)
-#endif
arch/nds32/include/asm/mach-types.h +0 -28
index 259e4e7..1959d7e 100644
@@ -12,20 +12,6 @@ extern unsigned int __machine_arch_type;
 #endif
 
 /* see arch/arm/kernel/arch.c for a description of these */
-#define MACH_TYPE_ADPAG101             0
-
-#ifdef CONFIG_ARCH_ADPAG101
-# ifdef machine_arch_type
-#  undef machine_arch_type
-#  define machine_arch_type	__machine_arch_type
-# else
-#  define machine_arch_type	MACH_TYPE_ADPAG101
-# endif
-# define machine_is_adpag101()	(machine_arch_type == MACH_TYPE_ADPAG101)
-#else
-# define machine_is_adpag101()	(0)
-#endif
-
 #define MACH_TYPE_ADPAG101P            1
 
 #ifdef CONFIG_ARCH_ADPAG101P
@@ -40,18 +26,4 @@ extern unsigned int __machine_arch_type;
 # define machine_is_adpag101p()	(1)
 #endif
 
-#define MACH_TYPE_ADPAG102             2
-
-#ifdef CONFIG_ARCH_ADPAG102
-# ifdef machine_arch_type
-#  undef machine_arch_type
-#  define machine_arch_type	__machine_arch_type
-# else
-#  define machine_arch_type	MACH_TYPE_ADPAG102
-# endif
-# define machine_is_adpag102()	(machine_arch_type == MACH_TYPE_ADPAG102)
-#else
-# define machine_is_adpag102()	(2)
-#endif
-
 #endif /* __ASM_NDS32_MACH_TYPE_H */
board/AndesTech/adp-ag101/Kconfig deleted +0 -18
deleted file mode 100644
index 8f0197a..0000000
@@ -1,18 +0,0 @@
-if TARGET_ADP_AG101
-
-config SYS_CPU
-	default "n1213"
-
-config SYS_BOARD
-	default "adp-ag101"
-
-config SYS_VENDOR
-	default "AndesTech"
-
-config SYS_SOC
-	default "ag101"
-
-config SYS_CONFIG_NAME
-	default "adp-ag101"
-
-endif
board/AndesTech/adp-ag101/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 1f0169b..0000000
@@ -1,6 +0,0 @@
-ADP-AG101 BOARD
-M:	Andes <[email protected]>
-S:	Maintained
-F:	board/AndesTech/adp-ag101/
-F:	include/configs/adp-ag101.h
-F:	configs/adp-ag101_defconfig
board/AndesTech/adp-ag101/Makefile deleted +0 -9
deleted file mode 100644
index 4cc590f..0000000
@@ -1,9 +0,0 @@
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= adp-ag101.o
board/AndesTech/adp-ag101/README deleted +0 -74

74 lines not on this page · raw message

board/AndesTech/adp-ag101/adp-ag101.c deleted +0 -82

82 lines not on this page · raw message

board/AndesTech/adp-ag102/Kconfig deleted +0 -18
deleted file mode 100644
index fc17be3..0000000
@@ -1,18 +0,0 @@
-if TARGET_ADP_AG102
-
-config SYS_CPU
-	default "n1213"
-
-config SYS_BOARD
-	default "adp-ag102"
-
-config SYS_VENDOR
-	default "AndesTech"
-
-config SYS_SOC
-	default "ag102"
-
-config SYS_CONFIG_NAME
-	default "adp-ag102"
-
-endif
board/AndesTech/adp-ag102/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 94b87c7..0000000
@@ -1,6 +0,0 @@
-ADP-AG102 BOARD
-M:	Andes <[email protected]>
-S:	Maintained
-F:	board/AndesTech/adp-ag102/
-F:	include/configs/adp-ag102.h
-F:	configs/adp-ag102_defconfig
board/AndesTech/adp-ag102/Makefile deleted +0 -8
deleted file mode 100644
index fc4bf88..0000000
@@ -1,8 +0,0 @@
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= adp-ag102.o
board/AndesTech/adp-ag102/adp-ag102.c deleted +0 -91

91 lines not on this page · raw message

configs/adp-ag101_defconfig deleted +0 -4
deleted file mode 100644
index ac1dcaa..0000000
@@ -1,4 +0,0 @@
-CONFIG_NDS32=y
-CONFIG_TARGET_ADP_AG101=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_SYS_PROMPT="NDS32 # "
configs/adp-ag102_defconfig deleted +0 -6
deleted file mode 100644
index 1bef350..0000000
@@ -1,6 +0,0 @@
-CONFIG_NDS32=y
-CONFIG_TARGET_ADP_AG102=y
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_FLASH is not set
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_SYS_PROMPT="NDS32 # "
doc/README.ag102 deleted +0 -36
deleted file mode 100644
index 7d142a7..0000000
@@ -1,36 +0,0 @@
-Andes Technology SoC AG102
-==========================
-
-AG102 is the second SoC produced by Andes Technology using N1213 CPU core
-with FPU and DDR contoller support.
-AG102 has integrated both AHB and APB bus and many periphals for application
-and product development.
-
-ADP-AG102
-=========
-
-ADP-AG102 is the SoC with AG102 hardcore CPU.
-
-Configurations
-==============
-
-CONFIG_MEM_REMAP:
-	Doing memory remap is essential for preparing some non-OS or RTOS
-	applications.
-
-CONFIG_SKIP_LOWLEVEL_INIT:
-	If you want to boot this system from SPI ROM and bypass e-bios (the
-	other boot loader on ROM). You should undefine CONFIG_SKIP_LOWLEVEL_INIT
-	in "include/configs/adp-ag102.h".
-
-Build and boot steps
-====================
-
-build:
-1. Prepare the toolchains and make sure the $PATH to toolchains is correct.
-2. Use `make adp-ag102` in u-boot root to build the image.
-
-Burn u-boot to SPI ROM:
-====================
-
-This section will be added later.
include/configs/adp-ag101.h deleted +0 -384

384 lines not on this page · raw message

include/configs/adp-ag102.h deleted +0 -334

334 lines not on this page · raw message

Signature · 1 line
2.3.5
#4 lore raw

PATCH 2/2 NDS32: Generic Board Support and Unsupport

Quoted 5 lines · kunhuahuang

From: Kun-Hua Huang <[email protected]>

Remove ag101 and ag102 support

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150828/9ef2a395/attachment.sig>