LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin
platform that supports the LS1088A family SoCs. This patch add basic
support of the platform.
Signed-off-by: Alison Wang
Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Ashish Kumar
Signed-off-by: Raghav Dogra
Signed-off-by: Shaohui Xie
---
v2:
Fix indentaion in commit msg
Separate RDB and Si specific file
v3:
1.Re-based on top of
commit d529124fdcf941c34074fd1ce600f4b1b4a7dd07
Merge: f0ca30f 6a5691e
Author: Tom Rini
Date: Tue Aug 8 17:06:19 2017 -0400
Merge git://git.denx.de/u-boot-x86
2.Incorporate review comments on v2
Remove EMU support
Remove RAW timings
Disable default enabled CONFIG_DISPLAY_BOARDINFO and enable
LATE_CONFIG_DISPLAY_BOARDINFO
3.Include PPA support
v4:
some configs moved to arch/arm/Kconfig
retimer code corrected
README added
arch/arm/Kconfig | 14 ++
arch/arm/cpu/armv8/Kconfig| 1 +
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 +
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/fsl-ls1088a-rdb.dts | 40
board/freescale/ls1088a/Kconfig | 15 ++
board/freescale/ls1088a/MAINTAINERS | 7 +
board/freescale/ls1088a/Makefile | 9 +
board/freescale/ls1088a/README| 66 ++
board/freescale/ls1088a/ddr.c | 106 ++
board/freescale/ls1088a/ddr.h | 44
board/freescale/ls1088a/eth_ls1088ardb.c | 102 +
board/freescale/ls1088a/ls1088a.c | 335 ++
board/freescale/ls1088a/ls1088a_qixis.h | 34 +++
configs/ls1088ardb_qspi_defconfig | 29 +++
include/configs/ls1088a_common.h | 200 ++
include/configs/ls1088ardb.h | 316
17 files changed, 1321 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/fsl-ls1088a-rdb.dts
create mode 100644 board/freescale/ls1088a/Kconfig
create mode 100644 board/freescale/ls1088a/MAINTAINERS
create mode 100644 board/freescale/ls1088a/Makefile
create mode 100644 board/freescale/ls1088a/README
create mode 100644 board/freescale/ls1088a/ddr.c
create mode 100644 board/freescale/ls1088a/ddr.h
create mode 100644 board/freescale/ls1088a/eth_ls1088ardb.c
create mode 100644 board/freescale/ls1088a/ls1088a.c
create mode 100644 board/freescale/ls1088a/ls1088a_qixis.h
create mode 100644 configs/ls1088ardb_qspi_defconfig
create mode 100644 include/configs/ls1088a_common.h
create mode 100644 include/configs/ls1088ardb.h
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9cfeede..eaeab27 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -892,6 +892,19 @@ config TARGET_LS1012AFRDM
development platform that supports the QorIQ LS1012A
Layerscape Architecture processor.
+config TARGET_LS1088ARDB
+ bool "Support ls1088ardb"
+ select ARCH_LS1088A
+ select ARM64
+ select ARMV8_MULTIENTRY
+ select ARCH_MISC_INIT
+ select BOARD_LATE_INIT
+ help
+ Support for NXP LS1088ARDB platform.
+ The LS1088A Reference design board (RDB) is a high-performance
+ development platform that supports the QorIQ LS1088A
+ Layerscape Architecture processor.
+
config TARGET_LS1021AQDS
bool "Support ls1021aqds"
select BOARD_LATE_INIT
@@ -1174,6 +1187,7 @@ source "board/creative/xfi3/Kconfig"
source "board/freescale/ls2080a/Kconfig"
source "board/freescale/ls2080aqds/Kconfig"
source "board/freescale/ls2080ardb/Kconfig"
+source "board/freescale/ls1088a/Kconfig"
source "board/freescale/ls1021aqds/Kconfig"
source "board/freescale/ls1043aqds/Kconfig"
source "board/freescale/ls1021atwr/Kconfig"
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
index 8e4c3dd..aecdf81 100644
--- a/arch/arm/cpu/armv8/Kconfig
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -88,6 +88,7 @@ config PSCI_RESET
depends on !ARCH_EXYNOS7 && !ARCH_BCM283X && !TARGET_LS2080A_EMU && \
!TARGET_LS2080A_SIMU && !TARGET_LS2080AQDS && \
!TARGET_LS2080ARDB && !TARGET_LS1012AQDS && \
+ !TARGET_LS1088ARDB && \
!TARGET_LS1012ARDB && !TARGET_LS1012AFRDM && \
!TARGET_LS1043ARDB && !TARGET_LS1043AQDS && \
!TARGET_LS1046ARDB && !TARGET_LS1046AQDS && \
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index dfcc081..be9e401 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -207,6 +207,7 @@ config SYS_LS_PPA_FW_ADDR
default 0x2040 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
default 0x4040 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
default