mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
arc: Rename AXS101 board to more generic AXS10x
As of now we have 2 flavors of ARC SDP boards: 1) AXS101 - with ARC770 in ASIC 2) AXS103 - with ARC HS38 in FPGA Both options share exactly the same base-board and only differ with CPU-tiles in use. That means all peripherals are the same (they are implemented in FPGA on the base-board) and so generic board could be used for both. While at it: * Recreated defconfigs with savedefconfig * In include/configs/axs10x.h numerical sizes replaced with defines from linux/sizes.h for better readability. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
cc8be222d1
commit
65fcba1251
12 changed files with 31 additions and 30 deletions
|
@ -118,7 +118,7 @@ config SYS_DCACHE_OFF
|
|||
|
||||
choice
|
||||
prompt "Target select"
|
||||
default TARGET_AXS101
|
||||
default TARGET_AXS10X
|
||||
|
||||
config TARGET_TB100
|
||||
bool "Support tb100"
|
||||
|
@ -126,13 +126,13 @@ config TARGET_TB100
|
|||
config TARGET_NSIM
|
||||
bool "Support standalone nSIM & Free nSIM"
|
||||
|
||||
config TARGET_AXS101
|
||||
bool "Support axs101"
|
||||
config TARGET_AXS10X
|
||||
bool "Support Synopsys Designware SDP board (AXS101 & AXS103)"
|
||||
|
||||
endchoice
|
||||
|
||||
source "board/abilis/tb100/Kconfig"
|
||||
source "board/synopsys/Kconfig"
|
||||
source "board/synopsys/axs101/Kconfig"
|
||||
source "board/synopsys/axs10x/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
dtb-$(CONFIG_TARGET_AXS101) += axs10x.dtb
|
||||
dtb-$(CONFIG_TARGET_AXS10X) += axs10x.dtb
|
||||
dtb-$(CONFIG_TARGET_NSIM) += nsim.dtb
|
||||
dtb-$(CONFIG_TARGET_TB100) += abilis_tb100.dtb
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += axs101.o
|
||||
obj-$(CONFIG_CMD_NAND) += nand.o
|
|
@ -1,12 +1,12 @@
|
|||
if TARGET_AXS101
|
||||
if TARGET_AXS10X
|
||||
|
||||
config SYS_BOARD
|
||||
default "axs101"
|
||||
default "axs10x"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "synopsys"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "axs101"
|
||||
default "axs10x"
|
||||
|
||||
endif
|
|
@ -1,7 +1,7 @@
|
|||
AXS101 BOARD
|
||||
AXS10X BOARD
|
||||
M: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
S: Maintained
|
||||
F: board/synopsys/axs101/
|
||||
F: include/configs/axs101.h
|
||||
F: board/synopsys/axs10x/
|
||||
F: include/configs/axs10x.h
|
||||
F: configs/axs101_defconfig
|
||||
F: configs/axs103_defconfig
|
8
board/synopsys/axs10x/Makefile
Normal file
8
board/synopsys/axs10x/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += axs10x.o
|
||||
obj-$(CONFIG_CMD_NAND) += nand.o
|
|
@ -1,7 +1,7 @@
|
|||
CONFIG_ARC=y
|
||||
CONFIG_SYS_DCACHE_OFF=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYS_CLK_FREQ=750000000
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYS_TEXT_BASE=0x81000000
|
||||
CONFIG_DEFAULT_DEVICE_TREE="axs10x"
|
||||
CONFIG_BOOTDELAY=3
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CONFIG_ARC=y
|
||||
CONFIG_ISA_ARCV2=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYS_CLK_FREQ=100000000
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYS_TEXT_BASE=0x81000000
|
||||
CONFIG_DEFAULT_DEVICE_TREE="axs10x"
|
||||
CONFIG_BOOTDELAY=3
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
/*
|
||||
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
|
||||
* Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef _CONFIG_AXS101_H_
|
||||
#define _CONFIG_AXS101_H_
|
||||
#ifndef _CONFIG_AXS10X_H_
|
||||
#define _CONFIG_AXS10X_H_
|
||||
|
||||
#include <linux/sizes.h>
|
||||
/*
|
||||
* CPU configuration
|
||||
*/
|
||||
|
@ -24,13 +25,13 @@
|
|||
|
||||
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
|
||||
#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
|
||||
#define CONFIG_SYS_SDRAM_SIZE 0x20000000 /* 512 Mb */
|
||||
#define CONFIG_SYS_SDRAM_SIZE SZ_512M
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR \
|
||||
(CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
#define CONFIG_SYS_MALLOC_LEN 0x200000 /* 2 MB */
|
||||
#define CONFIG_SYS_BOOTM_LEN 0x2000000 /* 32 MB */
|
||||
#define CONFIG_SYS_MALLOC_LEN SZ_2M
|
||||
#define CONFIG_SYS_BOOTM_LEN SZ_32M
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x82000000
|
||||
|
||||
/*
|
||||
|
@ -113,7 +114,7 @@
|
|||
* Environment settings
|
||||
*/
|
||||
#define CONFIG_ENV_IS_IN_EEPROM
|
||||
#define CONFIG_ENV_SIZE 0x00200 /* 512 bytes */
|
||||
#define CONFIG_ENV_SIZE SZ_512
|
||||
#define CONFIG_ENV_OFFSET 0
|
||||
|
||||
/*
|
||||
|
@ -127,7 +128,7 @@
|
|||
* Console configuration
|
||||
*/
|
||||
#define CONFIG_SYS_LONGHELP
|
||||
#define CONFIG_SYS_CBSIZE 256
|
||||
#define CONFIG_SYS_CBSIZE SZ_256
|
||||
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
|
||||
sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
|
@ -137,4 +138,4 @@
|
|||
*/
|
||||
#define CONFIG_BOUNCE_BUFFER
|
||||
|
||||
#endif /* _CONFIG_AXS101_H_ */
|
||||
#endif /* _CONFIG_AXS10X_H_ */
|
Loading…
Reference in a new issue