diff options
author | Zhao Qiang <B45475@freescale.com> | 2014-09-25 13:52:25 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-19 12:55:45 -0800 |
commit | 93d3320417b16f331d5edb87409cd7a347c4eeaa (patch) | |
tree | 8713b948e78aa24b73b2a34818e1cb04544e72e3 /arch/arm/include | |
parent | f196044dfd64745a163773c6c746f9e149ace127 (diff) | |
download | u-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.zip u-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.tar.gz u-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.tar.bz2 |
qe: add u-qe support to arm board
ls1021 is arm-core and support qe which is u-qe.
add u-qe init for arm board.
Signed-off-by: Zhao Qiang <B45475@freescale.com>
[York Sun: Fix compiling error caused by u_qe_init()]
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-ls102xa/config.h | 4 | ||||
-rw-r--r-- | arch/arm/include/asm/global_data.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/arch/arm/include/asm/arch-ls102xa/config.h index f2c9687..fc6a475 100644 --- a/arch/arm/include/asm/arch-ls102xa/config.h +++ b/arch/arm/include/asm/arch-ls102xa/config.h @@ -72,6 +72,10 @@ #define DCU_LAYER_MAX_NUM 16 +#define QE_MURAM_SIZE 0x6000UL +#define MAX_QE_RISC 1 +#define QE_NUM_OF_SNUM 28 + #define CONFIG_SYS_FSL_SRDS_1 #ifdef CONFIG_LS102XA diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index c69d064..438f128 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -17,6 +17,14 @@ struct arch_global_data { #if defined(CONFIG_FSL_ESDHC) u32 sdhc_clk; #endif + +#if defined(CONFIG_U_QE) + u32 qe_clk; + u32 brg_clk; + uint mp_alloc_base; + uint mp_alloc_top; +#endif /* CONFIG_U_QE */ + #ifdef CONFIG_AT91FAMILY /* "static data" needed by at91's clock.c */ unsigned long cpu_clk_rate_hz; |