]> git.sur5r.net Git - u-boot/commitdiff
armv7: ls102xa: Rename GIC_ADDR and DCSR_RCPM_ADDR
authorYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:09:30 +0000 (08:09 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:53:07 +0000 (08:53 -0700)
Instead of using CONFIG_* name space, rename these two macros to
SYS_FSL_* space.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Hongbo Zhang <hongbo.zhang@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c
arch/arm/include/asm/arch-ls102xa/config.h

index 2ac2e6cf9eabcb00d5f80d28fa18509c155a02c2..1cbe93cf41f139f6dfb0c0fa8d6ae5e1f6352047 100644 (file)
@@ -43,7 +43,7 @@ static void __secure ls1_save_ddr_head(void)
 static void __secure ls1_fsm_setup(void)
 {
        void *dcsr_epu_base = (void *)(CONFIG_SYS_DCSRBAR + EPU_BLOCK_OFFSET);
-       void *dcsr_rcpm_base = (void *)CONFIG_SYS_DCSR_RCPM_ADDR;
+       void *dcsr_rcpm_base = (void *)SYS_FSL_DCSR_RCPM_ADDR;
 
        out_be32(dcsr_rcpm_base + DCSR_RCPM_CSTTACR0, 0x00001001);
        out_be32(dcsr_rcpm_base + DCSR_RCPM_CG1CR0, 0x00000001);
@@ -112,7 +112,7 @@ static void __secure ls1_delay(unsigned int loop)
 static void __secure ls1_start_fsm(void)
 {
        void *dcsr_epu_base = (void *)(CONFIG_SYS_DCSRBAR + EPU_BLOCK_OFFSET);
-       void *ccsr_gic_base = (void *)CONFIG_SYS_GIC_ADDR;
+       void *ccsr_gic_base = (void *)SYS_FSL_GIC_ADDR;
        struct ccsr_scfg __iomem *scfg = (void *)CONFIG_SYS_FSL_SCFG_ADDR;
        struct ccsr_ddr __iomem *ddr = (void *)CONFIG_SYS_FSL_DDR_ADDR;
 
index 46de78441fc99417e583c1a48c688dcd2b31c884..fab87740285c89f48271f01d2c37f1361ac2d39e 100644 (file)
@@ -16,9 +16,9 @@
 #define CONFIG_SYS_DCSRBAR                     0x20000000
 
 #define CONFIG_SYS_DCSR_DCFG_ADDR      (CONFIG_SYS_DCSRBAR + 0x00220000)
-#define CONFIG_SYS_DCSR_RCPM_ADDR      (CONFIG_SYS_DCSRBAR + 0x00222000)
+#define SYS_FSL_DCSR_RCPM_ADDR (CONFIG_SYS_DCSRBAR + 0x00222000)
 
-#define CONFIG_SYS_GIC_ADDR                    (CONFIG_SYS_IMMR + 0x00400000)
+#define SYS_FSL_GIC_ADDR                       (CONFIG_SYS_IMMR + 0x00400000)
 #define CONFIG_SYS_FSL_DDR_ADDR                        (CONFIG_SYS_IMMR + 0x00080000)
 #define CONFIG_SYS_CCI400_ADDR                 (CONFIG_SYS_IMMR + 0x00180000)
 #define CONFIG_SYS_FSL_CSU_ADDR                 (CONFIG_SYS_IMMR + 0x00510000)