[U-Boot] [PATCH] ls102xa: dcu: Add platform support for DCU on LS1021AQDS board

2014-12-15 Thread Xiubo Li
This patch adds the CH7301 HDMI options and the common configuration for DCU on LS1021AQDS board. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Alison Wang alison.w...@freescale.com Cc: Jason Jin jason@freescale.com --- board/freescale/ls1021aqds/Makefile | 1

[U-Boot] [PATCHv4 respin 2/6] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-11-23 Thread Xiubo Li
For some SoCs, the system clock frequency may not equal to the ARCH Timer's frequency. This patch uses the CONFIG_TIMER_CLK_FREQ instead of CONFIG_SYS_CLK_FREQ, then the system clock macro and arch timer macor could be set separately and without interfering each other. Signed-off-by: Xiubo Li

[U-Boot] [PATCHv4 3/6] ls1021a: adding a secondary core boot address and kick functions

2014-11-21 Thread Xiubo Li
HRESET or PORESET, the RCW BOOT_HO field optionally allows for logical core 0 to be released for booting or to remain in boot holdoff. All other cores remain in boot holdoff until their corresponding bit is set. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: York Sun york...@freescale.com

[U-Boot] [PATCHv4 5/6] ARM: ls102xa: allow all the peripheral access permission as R/W.

2014-11-21 Thread Xiubo Li
of the system masters privileges, these features provide protection against indirect unauthorized access to data. For now we configure all the peripheral access permissions as R/W. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: York Sun york...@freescale.com --- arch/arm/include/asm/arch-ls102xa

[U-Boot] [PATCHv4 4/6] ls102xa: changing a few targets' configurations.

2014-11-21 Thread Xiubo Li
Enable hypervisors utilizing the ARMv7 virtualization extension on the LS1021A-QDS/TWR boards with the A7 core tile, we add the required configuration variable. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: York Sun york...@freescale.com --- arch/arm/include/asm/arch-ls102xa/config.h

[U-Boot] [PATCHv4 6/6] ARM: ls102xa: Setting device's stream id for SMMUs.

2014-11-21 Thread Xiubo Li
is identical and share the same register field of STREAM ID registers. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: York Sun york...@freescale.com --- .../include/asm/arch-ls102xa/ls102xa_stream_id.h| 17 + board/freescale/common/Makefile | 2

[U-Boot] [PATCHv4 1/6] ARM: HYP/non-sec: add the pen address BE mode support.

2014-11-21 Thread Xiubo Li
For some SoCs, the pen address register maybe in BE mode and the CPUs are in LE mode. This patch adds BE mode support for smp pen address. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: York Sun york...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 3 +++ 1 file changed, 3

[U-Boot] [PATCHv4 0/6] ls102xa: HYP/non-sec: for ls102xa.

2014-11-21 Thread Xiubo Li
. Xiubo Li (6): ARM: HYP/non-sec: add the pen address BE mode support. ARM: HYP/non-sec: Fix the ARCH Timer frequency setting. ls1021a: adding a secondary core boot address and kick functions ls102xa: changing a few targets' configurations. ARM: ls102xa: allow all the peripheral access

[U-Boot] [PATCHv4 2/6] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-11-21 Thread Xiubo Li
For some SoCs, the system clock frequency may not equal to the ARCH Timer's frequency. This patch uses the CONFIG_TIMER_CLK_FREQ instead of CONFIG_SYS_CLK_FREQ, then the system clock macro and arch timer macor could be set separately and without interfering each other. Signed-off-by: Xiubo Li

[U-Boot] [PATCH v3 2/5] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-10-20 Thread Xiubo Li
For some SoCs, the system clock frequency may not equal to the ARCH Timer's frequency. This patch uses the CONFIG_TIMER_CLK_FREQ instead of CONFIG_SYS_CLK_FREQ, then the system clock macro and arch timer macor could be set separately and without interfering each other. Signed-off-by: Xiubo Li

[U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-10-20 Thread Xiubo Li
manner. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/ls102xa/cpu.c | 15 +++ arch/arm/include/asm/arch-ls102xa/config.h| 2 ++ arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 3 +++ include/configs/ls1021aqds.h

[U-Boot] [PATCH v3 0/5] ls102xa: HYP/non-sec: for ls102xa.

2014-10-20 Thread Xiubo Li
Change for V3: - Fix the language in commit message. Change for V2: - All the registers are defined as a struct, here use it. - Use CONFIG_PEN_ADDR_BIG_ENDIAN instead of CONFIG_SOC_BIG_ENDIAN. Xiubo Li (5): ARM: HYP/non-sec: add the pen address BE mode support. ARM: HYP/non-sec: Fix

[U-Boot] [PATCH v3 4/5] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-10-20 Thread Xiubo Li
of the system masters privileges, these features provide protection against indirect unauthorized access to data. For now we configure all the peripheral access permissions as R/W. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/include/asm/arch-ls102xa/config.h| 1 + arch/arm/include/asm

[U-Boot] [PATCH v3 5/5] ARM: ls102xa: Setting device's stream id for SMMUs.

2014-10-20 Thread Xiubo Li
is identical and share the same register field of STREAM ID registers. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../include/asm/arch-ls102xa/ls102xa_stream_id.h| 17 + board/freescale/common/Makefile | 2 ++ board/freescale/common/ls102xa_stream_id.c

[U-Boot] [PATCH v3 1/5] ARM: HYP/non-sec: add the pen address BE mode support.

2014-10-20 Thread Xiubo Li
For some SoCs, the pen address register maybe in BE mode and the CPUs are in LE mode. This patch adds BE mode support for smp pen address. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu

[U-Boot] [PATCH v2 2/4] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-10-07 Thread Xiubo Li
For some SoCs, the CONFIG_SYS_CLK_FREQ maybe won't equal the ARCH Timer's frequency. Here using the CONFIG_TIMER_CLK_FREQ instead if the ARCH Timer's frequency need to config here. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 4 ++-- include/configs

[U-Boot] [PATCH v2 1/4] ARM: HYP/non-sec: add the pen address byte reverting support.

2014-10-07 Thread Xiubo Li
For some SoCs, the pen address may has different endianness with the CPUs, so this need the byte revertion for it, Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch

[U-Boot] [PATCH v2 3/4] ls102xa: HYP/non-sec: support for ls102xa boards

2014-10-07 Thread Xiubo Li
manner. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/ls102xa/cpu.c | 15 +++ arch/arm/include/asm/arch-ls102xa/config.h| 2 ++ arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 3 +++ include/configs/ls1021aqds.h

[U-Boot] [PATCH v2 0/4] ls102xa: HYP/non-sec: for ls102xa.

2014-10-07 Thread Xiubo Li
Change for V2: - All the registers are defined as a struct, here use it. - Use CONFIG_PEN_ADDR_BIG_ENDIAN instead of CONFIG_SOC_BIG_ENDIAN. Xiubo Li (4): ARM: HYP/non-sec: add the pen address byte reverting support. ARM: HYP/non-sec: Fix the ARCH Timer frequency setting. ls102xa: HYP/non

[U-Boot] [PATCH v2 4/4] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-10-07 Thread Xiubo Li
of the system masters privileges, these features provide protection against indirect unauthorized access to data. For now we configure all the peripheral access permissions as R/W. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/include/asm/arch-ls102xa/config.h| 1 + arch/arm/include/asm

[U-Boot] [PATCH] ARM: LS1021A: Configure device stream id for smmu.

2014-10-07 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../include/asm/arch-ls102xa/ls102xa_stream_id.h | 17 + board/freescale/common/Makefile| 2 ++ board/freescale/common/ls102xa_stream_id.c | 19 +++ board/freescale/ls1021aqds

[U-Boot] [PATCH 2/4] ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

2014-09-15 Thread Xiubo Li
For some SoCs, the CONFIG_SYS_CLK_FREQ maybe won't equal the ARCH Timer's frequency. Here using the CONFIG_TIMER_CLK_FREQ instead if the ARCH Timer's frequency need to config here. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 4 ++-- include/configs

[U-Boot] [PATCH 0/4] ls102xa: HYP/non-sec: for ls102xa.

2014-09-15 Thread Xiubo Li
Xiubo Li (4): ARM: HYP/non-sec: add the pen address byte reverting support. ARM: HYP/non-sec: Fix the ARCH Timer frequency setting. ls102xa: HYP/non-sec: support for ls102xa boards ARM: ls102xa: allow all device accessable in non-secure state arch/arm/cpu/armv7/ls102xa/cpu.c

[U-Boot] [PATCH 3/4] ls102xa: HYP/non-sec: support for ls102xa boards

2014-09-15 Thread Xiubo Li
manner. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/ls102xa/cpu.c | 15 +++ arch/arm/include/asm/arch-ls102xa/config.h| 2 ++ arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 3 +++ include/configs/ls1021aqds.h

[U-Boot] [PATCH 1/4] ARM: HYP/non-sec: add the pen address byte reverting support.

2014-09-15 Thread Xiubo Li
For some SoCs, the pen address may has different endianness with the CPUs, so this need the byte revertion for it, Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch

[U-Boot] [PATCH 4/4] ARM: ls102xa: allow all the peripheral access permissions as R/W.

2014-09-15 Thread Xiubo Li
of the system masters privileges, these features provide protection against indirect unauthorized access to data. For now we configure all the peripheral access permissions as R/W. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/include/asm/arch-ls102xa/config.h| 1 + arch/arm/include/asm

[U-Boot] [PATCH] ARM: non-sec: Add spin table reserved memory support

2014-08-06 Thread Xiubo Li
The memory where loaded the smp_waitloop code section probablly be corrupted by Linux Kernel, then the secondary cores will be running the random code, leading booting the secondary cores failed. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 6

[U-Boot] [PATCH] arch/arm: Add individual TLB size support.

2014-07-06 Thread Xiubo Li
This adds CONFIG_TLB_SIZE for individual board, whose TLB size maybe larger than PGTABLE_SIZE. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/lib/board.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index dc34190..b7327ce 100644

[U-Boot] [PATCH 1/4] ARM: fix the ARCH Timer frequency setting.

2014-07-03 Thread Xiubo Li
For some SoCs, the CONFIG_SYS_CLK_FREQ maybe won't equal the ARCH Timer's frequency. Here using the CONFIG_TIMER_CLK_FREQ instead if the ARCH Timer's frequency need to config here. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH 2/4] ARM: add the pen address byte reverting support.

2014-07-03 Thread Xiubo Li
For some SoCs, the pen address may has different endianness with the CPUs, so this need the byte revertion for it, Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/nonsec_virt.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch

[U-Boot] [PATCH 3/4] ARM: LS1021A: enable ARMv7 virt support for LS1021A A7

2014-07-03 Thread Xiubo Li
specific manner. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/cpu/armv7/ls102xa/cpu.c | 12 include/configs/ls1021aqds.h | 9 + include/configs/ls1021atwr.h | 9 + 3 files changed, 30 insertions(+) diff --git a/arch/arm/cpu/armv7/ls102xa/cpu.c b/arch

[U-Boot] [PATCH 0/4] Add LS1021A-QDS/TWR Non-secure and HYP support.

2014-07-03 Thread Xiubo Li
that are not synchronized, effectively seeing time going backward... Patch work: http://patchwork.ozlabs.org/patch/343084/ Xiubo Li (4): ARM: fix the ARCH Timer frequency setting. ARM: add the pen address byte reverting support. ARM: LS1021A: enable ARMv7 virt support for LS1021A A7

[U-Boot] [PATCH 4/4] ARM: LS1021A: to allow non-secure R/W access for all devices' mapped region

2014-07-03 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 98 +-- board/freescale/ls1021aqds/ls1021aqds.c | 110 +++-- board/freescale/ls1021atwr/ls1021atwr.c | 111 -- 3 files