global: Move remaining CONFIG_SYS_NOR_* to CFG_SYS_NOR_*
Subsystems (58)
PATCH 9/17 global: Move remaining CONFIG_SYS_PCI* to CFG_SYS_PCI*
In reply to Tom RiniThe rest of the unmigrated CONFIG symbols in the CONFIG_SYS_PCI and CONFIG_SYS_PCIE namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.
--- arch/arm/cpu/armv7/ls102xa/cpu.c | 16 +++---- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 46 +++++++++---------- .../arm/include/asm/arch-fsl-layerscape/cpu.h | 24 +++++----- .../asm/arch-fsl-layerscape/immap_lsch2.h | 10 ++-- .../asm/arch-fsl-layerscape/immap_lsch3.h | 34 +++++++------- arch/arm/include/asm/arch-ls102xa/config.h | 24 +++++----- arch/m68k/include/asm/immap.h | 8 ++-- arch/powerpc/cpu/mpc83xx/pcie.c | 10 ++-- arch/powerpc/cpu/mpc85xx/liodn.c | 2 +- arch/powerpc/include/asm/fsl_pci.h | 32 ++++++------- arch/powerpc/include/asm/immap_85xx.h | 4 +- board/freescale/common/p_corenet/tlb.c | 12 ++--- board/freescale/mpc8548cds/tlb.c | 6 +-- board/freescale/p1010rdb/tlb.c | 4 +- board/freescale/p1_p2_rdb_pc/tlb.c | 4 +- board/freescale/t102xrdb/tlb.c | 4 +- board/freescale/t104xrdb/tlb.c | 4 +- board/freescale/t208xqds/tlb.c | 10 ++-- board/freescale/t208xrdb/tlb.c | 10 ++-- board/freescale/t4rdb/tlb.c | 12 ++--- board/keymile/kmcent2/tlb.c | 4 +- board/socrates/tlb.c | 4 +- common/fdt_support.c | 4 +- drivers/pci/pci_auto.c | 8 ++-- drivers/pci/pcie_fsl.c | 16 +++---- drivers/pci/pcie_fsl.h | 12 ++--- drivers/pci/pcie_layerscape.h | 16 +++---- drivers/pci/pcie_layerscape_ep.c | 6 +-- drivers/pci/pcie_layerscape_gen4.c | 6 +-- drivers/pci/pcie_layerscape_gen4.h | 8 ++-- include/configs/MPC837XERDB.h | 18 ++++---- include/configs/MPC8548CDS.h | 24 +++++----- include/configs/P1010RDB.h | 24 +++++----- include/configs/P2041RDB.h | 20 ++++---- include/configs/T102xRDB.h | 20 ++++---- include/configs/T104xRDB.h | 24 +++++----- include/configs/T208xQDS.h | 24 +++++----- include/configs/T208xRDB.h | 24 +++++----- include/configs/T4240RDB.h | 24 +++++----- include/configs/kmcent2.h | 8 ++-- include/configs/p1_p2_rdb_pc.h | 24 +++++----- include/configs/socrates.h | 4 +- 42 files changed, 299 insertions(+), 299 deletions(-)
arch/arm/cpu/armv7/ls102xa/cpu.c +8 -8
@@ -168,18 +168,18 @@ static void mmu_setup(void)/* Level 1 has 512 entries */ for (i =0 ; i <512 ; i++) {/* Mapping for PCIe 1 */ -if (va_start >=CONFIG_SYS_PCIE1_VIRT_ADDR && - va_start < (CONFIG_SYS_PCIE1_VIRT_ADDR + -CONFIG_SYS_PCIE_MMAP_SIZE )) +if (va_start >=CFG_SYS_PCIE1_VIRT_ADDR && + va_start < (CFG_SYS_PCIE1_VIRT_ADDR + +CFG_SYS_PCIE_MMAP_SIZE ))set_pgsection (level1_table, i, -CONFIG_SYS_PCIE1_PHYS_BASE + va_start, +CFG_SYS_PCIE1_PHYS_BASE + va_start,MT_DEVICE_MEM );/* Mapping for PCIe 2 */ -else if (va_start >=CONFIG_SYS_PCIE2_VIRT_ADDR && - va_start < (CONFIG_SYS_PCIE2_VIRT_ADDR + -CONFIG_SYS_PCIE_MMAP_SIZE )) +else if (va_start >=CFG_SYS_PCIE2_VIRT_ADDR && + va_start < (CFG_SYS_PCIE2_VIRT_ADDR + +CFG_SYS_PCIE_MMAP_SIZE ))set_pgsection (level1_table, i, -CONFIG_SYS_PCIE2_PHYS_BASE + va_start, +CFG_SYS_PCIE2_PHYS_BASE + va_start,MT_DEVICE_MEM );else set_pgsection(level1_table, i,
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +23 -23
93 lines not on this page · raw message
arch/arm/include/asm/arch-fsl-layerscape/cpu.h +12 -12
@@ -35,17 +35,17 @@#define CONFIG_SYS_FSL_QBMAN_SIZE 0x8000000#define CONFIG_SYS_FSL_QBMAN_SIZE_1 0x4000000#ifdef CONFIG_ARCH_LS2080A -#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x200000000 -#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x200000000 -#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x200000000 -#define CONFIG_SYS_PCIE4_PHYS_SIZE 0x200000000 +#define CFG_SYS_PCIE1_PHYS_SIZE 0x200000000 +#define CFG_SYS_PCIE2_PHYS_SIZE 0x200000000 +#define CFG_SYS_PCIE3_PHYS_SIZE 0x200000000 +#define CFG_SYS_PCIE4_PHYS_SIZE 0x200000000#else -#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x800000000 -#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x800000000 -#ifndef CONFIG_SYS_PCIE3_PHYS_SIZE -#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE1_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE2_PHYS_SIZE 0x800000000 +#ifndef CFG_SYS_PCIE3_PHYS_SIZE +#define CFG_SYS_PCIE3_PHYS_SIZE 0x800000000#endif -#define CONFIG_SYS_PCIE4_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE4_PHYS_SIZE 0x800000000#define SYS_PCIE5_PHYS_SIZE 0x800000000#define SYS_PCIE6_PHYS_SIZE 0x800000000#endif
@@ -83,9 +83,9 @@#define CONFIG_SYS_FSL_QBMAN_SIZE 0x10000000#define CONFIG_SYS_FSL_DRAM_BASE2 0x880000000#define CONFIG_SYS_FSL_DRAM_SIZE2 0x780000000/* 30GB */ -#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x800000000 -#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x800000000 -#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE1_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE2_PHYS_SIZE 0x800000000 +#define CFG_SYS_PCIE3_PHYS_SIZE 0x800000000#define CONFIG_SYS_FSL_DRAM_BASE3 0x8800000000#define CONFIG_SYS_FSL_DRAM_SIZE3 0x7800000000/* 480GB */ #endif
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h +5 -5
@@ -33,8 +33,8 @@#define CONFIG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + 0x01f00000)#define CONFIG_SYS_XHCI_USB2_ADDR (CONFIG_SYS_IMMR + 0x02000000)#define CONFIG_SYS_XHCI_USB3_ADDR (CONFIG_SYS_IMMR + 0x02100000) -#define CONFIG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) -#define CONFIG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000) +#define CFG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) +#define CFG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000)#define CONFIG_SYS_SEC_MON_ADDR (CONFIG_SYS_IMMR + 0xe90000)#define CONFIG_SYS_SFP_ADDR (CONFIG_SYS_IMMR + 0xe80200)
@@ -90,9 +90,9 @@#define QDMA_BASE_ADDR (CONFIG_SYS_IMMR + 0x07380000)#define QMAN_CQSIDR_REG 0x20a80 -#define CONFIG_SYS_PCIE1_PHYS_ADDR 0x4000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_ADDR 0x4800000000ULL -#define CONFIG_SYS_PCIE3_PHYS_ADDR 0x5000000000ULL +#define CFG_SYS_PCIE1_PHYS_ADDR 0x4000000000ULL +#define CFG_SYS_PCIE2_PHYS_ADDR 0x4800000000ULL +#define CFG_SYS_PCIE3_PHYS_ADDR 0x5000000000ULL/* LUT registers */ #ifdef CONFIG_ARCH_LS1012A #define PCIE_LUT_BASE 0xC0000
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h +17 -17
@@ -192,35 +192,35 @@/* PCIe */ -#define CONFIG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) -#define CONFIG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000) +#define CFG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) +#define CFG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000)#if defined(CONFIG_ARCH_LX2160A ) || defined(CONFIG_ARCH_LX2162A )#define SYS_PCIE5_ADDR (CONFIG_SYS_IMMR + 0x2800000)#define SYS_PCIE6_ADDR (CONFIG_SYS_IMMR + 0x2900000)#endif #if defined(CONFIG_ARCH_LX2160A ) || defined(CONFIG_ARCH_LX2162A ) -#define CONFIG_SYS_PCIE1_PHYS_ADDR 0x8000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_ADDR 0x8800000000ULL -#define CONFIG_SYS_PCIE3_PHYS_ADDR 0x9000000000ULL -#define CONFIG_SYS_PCIE4_PHYS_ADDR 0x9800000000ULL +#define CFG_SYS_PCIE1_PHYS_ADDR 0x8000000000ULL +#define CFG_SYS_PCIE2_PHYS_ADDR 0x8800000000ULL +#define CFG_SYS_PCIE3_PHYS_ADDR 0x9000000000ULL +#define CFG_SYS_PCIE4_PHYS_ADDR 0x9800000000ULL#define SYS_PCIE5_PHYS_ADDR 0xa000000000ULL#define SYS_PCIE6_PHYS_ADDR 0xa800000000ULL#elif CONFIG_ARCH_LS1088A -#define CONFIG_SYS_PCIE1_PHYS_ADDR 0x2000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_ADDR 0x2800000000ULL -#define CONFIG_SYS_PCIE3_PHYS_ADDR 0x3000000000ULL +#define CFG_SYS_PCIE1_PHYS_ADDR 0x2000000000ULL +#define CFG_SYS_PCIE2_PHYS_ADDR 0x2800000000ULL +#define CFG_SYS_PCIE3_PHYS_ADDR 0x3000000000ULL#elif CONFIG_ARCH_LS1028A -#define CONFIG_SYS_PCIE1_PHYS_ADDR 0x8000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_ADDR 0x8800000000ULL -#define CONFIG_SYS_PCIE3_PHYS_ADDR 0x01f0000000ULL +#define CFG_SYS_PCIE1_PHYS_ADDR 0x8000000000ULL +#define CFG_SYS_PCIE2_PHYS_ADDR 0x8800000000ULL +#define CFG_SYS_PCIE3_PHYS_ADDR 0x01f0000000ULL/* this is used by integrated PCI on LS1028, includes ECAM and register space */ -#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x0010000000ULL +#define CFG_SYS_PCIE3_PHYS_SIZE 0x0010000000ULL#else -#define CONFIG_SYS_PCIE1_PHYS_ADDR 0x1000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_ADDR 0x1200000000ULL -#define CONFIG_SYS_PCIE3_PHYS_ADDR 0x1400000000ULL -#define CONFIG_SYS_PCIE4_PHYS_ADDR 0x1600000000ULL +#define CFG_SYS_PCIE1_PHYS_ADDR 0x1000000000ULL +#define CFG_SYS_PCIE2_PHYS_ADDR 0x1200000000ULL +#define CFG_SYS_PCIE3_PHYS_ADDR 0x1400000000ULL +#define CFG_SYS_PCIE4_PHYS_ADDR 0x1600000000ULL#endif /* Device Configuration */
arch/arm/include/asm/arch-ls102xa/config.h +12 -12
@@ -55,22 +55,22 @@#define LPUART_BASE (CONFIG_SYS_IMMR + 0x01950000) -#define CONFIG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) -#define CONFIG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000) - -#define CONFIG_SYS_PCIE1_PHYS_BASE 0x4000000000ULL -#define CONFIG_SYS_PCIE2_PHYS_BASE 0x4800000000ULL -#define CONFIG_SYS_PCIE1_VIRT_ADDR 0x24000000UL -#define CONFIG_SYS_PCIE2_VIRT_ADDR 0x34000000UL -#define CONFIG_SYS_PCIE_MMAP_SIZE (192 * 1024 * 1024)/* 192M */ +#define CFG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) +#define CFG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000) + +#define CFG_SYS_PCIE1_PHYS_BASE 0x4000000000ULL +#define CFG_SYS_PCIE2_PHYS_BASE 0x4800000000ULL +#define CFG_SYS_PCIE1_VIRT_ADDR 0x24000000UL +#define CFG_SYS_PCIE2_VIRT_ADDR 0x34000000UL +#define CFG_SYS_PCIE_MMAP_SIZE (192 * 1024 * 1024)/* 192M */ /* * TLB will map VIRT_ADDR to (PHYS_BASE + VIRT_ADDR) * So 40bit PCIe PHY addr can directly be converted to a 32bit virtual addr. */ -#define CONFIG_SYS_PCIE1_PHYS_ADDR (CONFIG_SYS_PCIE1_PHYS_BASE + \ - CONFIG_SYS_PCIE1_VIRT_ADDR) -#define CONFIG_SYS_PCIE2_PHYS_ADDR (CONFIG_SYS_PCIE2_PHYS_BASE + \ - CONFIG_SYS_PCIE2_VIRT_ADDR) +#define CFG_SYS_PCIE1_PHYS_ADDR (CFG_SYS_PCIE1_PHYS_BASE + \ + CFG_SYS_PCIE1_VIRT_ADDR) +#define CFG_SYS_PCIE2_PHYS_ADDR (CFG_SYS_PCIE2_PHYS_BASE + \ + CFG_SYS_PCIE2_VIRT_ADDR)/* SATA */ #define AHCI_BASE_ADDR (CONFIG_SYS_IMMR + 0x02200000)
arch/m68k/include/asm/immap.h +4 -4
@@ -337,10 +337,10 @@#define CONFIG_SYS_NUM_IRQS (128)#ifdef CONFIG_PCI -#define CONFIG_SYS_PCI_BAR0 (0x40000000) -#define CONFIG_SYS_PCI_BAR1 (CONFIG_SYS_SDRAM_BASE) -#define CONFIG_SYS_PCI_TBATR0 (CONFIG_SYS_MBAR) -#define CONFIG_SYS_PCI_TBATR1 (CONFIG_SYS_SDRAM_BASE) +#define CFG_SYS_PCI_BAR0 (0x40000000) +#define CFG_SYS_PCI_BAR1 (CONFIG_SYS_SDRAM_BASE) +#define CFG_SYS_PCI_TBATR0 (CONFIG_SYS_MBAR) +#define CFG_SYS_PCI_TBATR1 (CONFIG_SYS_SDRAM_BASE)#endif #endif /* CONFIG_M547x */
arch/powerpc/cpu/mpc83xx/pcie.c +5 -5
@@ -24,13 +24,13 @@ static struct {u32 size; } mpc83xx_pcie_cfg_space[] = { { - .base = CONFIG_SYS_PCIE1_CFG_BASE, - .size = CONFIG_SYS_PCIE1_CFG_SIZE, + .base = CFG_SYS_PCIE1_CFG_BASE, + .size = CFG_SYS_PCIE1_CFG_SIZE, }, -#if defined(CONFIG_SYS_PCIE2_CFG_BASE) && defined(CONFIG_SYS_PCIE2_CFG_SIZE) +#if defined(CFG_SYS_PCIE2_CFG_BASE) && defined(CFG_SYS_PCIE2_CFG_SIZE) { - .base = CONFIG_SYS_PCIE2_CFG_BASE, - .size = CONFIG_SYS_PCIE2_CFG_SIZE, + .base = CFG_SYS_PCIE2_CFG_BASE, + .size = CFG_SYS_PCIE2_CFG_SIZE, }, #endif };
arch/powerpc/cpu/mpc85xx/liodn.c +1 -1
@@ -387,7 +387,7 @@ void fdt_fixup_liodn(void *blob)fdt_fixup_liodn_tbl (blob, rman_liodn_tbl, rman_liodn_tbl_sz);#endif -ccsr_pcix_t *pcix = (ccsr_pcix_t *)CONFIG_SYS_PCIE1_ADDR ; +ccsr_pcix_t *pcix = (ccsr_pcix_t *)CFG_SYS_PCIE1_ADDR ;int pci_ver = pcix->ipver1 &0xffff , liodn_base =0 ;if (pci_ver >=0x0204 ) {
arch/powerpc/include/asm/fsl_pci.h +16 -16
@@ -193,35 +193,35 @@ int fsl_pcie_init_board(int busno);#define SET_STD_PCI_INFO (x, num) \ { \ - x.regs = CONFIG_SYS_PCI##num##_ADDR; \ - x.mem_bus = CONFIG_SYS_PCI##num##_MEM_BUS; \ - x.mem_phys = CONFIG_SYS_PCI##num##_MEM_PHYS; \ - x.mem_size = CONFIG_SYS_PCI##num##_MEM_SIZE; \ - x.io_bus = CONFIG_SYS_PCI##num##_IO_BUS; \ - x.io_phys = CONFIG_SYS_PCI##num##_IO_PHYS; \ - x.io_size = CONFIG_SYS_PCI##num##_IO_SIZE; \ + x.regs = CFG_SYS_PCI##num##_ADDR; \ + x.mem_bus = CFG_SYS_PCI##num##_MEM_BUS; \ + x.mem_phys = CFG_SYS_PCI##num##_MEM_PHYS; \ + x.mem_size = CFG_SYS_PCI##num##_MEM_SIZE; \ + x.io_bus = CFG_SYS_PCI##num##_IO_BUS; \ + x.io_phys = CFG_SYS_PCI##num##_IO_PHYS; \ + x.io_size = CFG_SYS_PCI##num##_IO_SIZE; \ x.law = LAW_TRGT_IF_PCI_##num; \ x.pci_num = num; \ }#define SET_STD_PCIE_INFO (x, num) \ { \ - x.regs = CONFIG_SYS_PCIE##num##_ADDR; \ - x.mem_bus = CONFIG_SYS_PCIE##num##_MEM_BUS; \ - x.mem_phys = CONFIG_SYS_PCIE##num##_MEM_PHYS; \ - x.mem_size = CONFIG_SYS_PCIE##num##_MEM_SIZE; \ - x.io_bus = CONFIG_SYS_PCIE##num##_IO_BUS; \ - x.io_phys = CONFIG_SYS_PCIE##num##_IO_PHYS; \ - x.io_size = CONFIG_SYS_PCIE##num##_IO_SIZE; \ + x.regs = CFG_SYS_PCIE##num##_ADDR; \ + x.mem_bus = CFG_SYS_PCIE##num##_MEM_BUS; \ + x.mem_phys = CFG_SYS_PCIE##num##_MEM_PHYS; \ + x.mem_size = CFG_SYS_PCIE##num##_MEM_SIZE; \ + x.io_bus = CFG_SYS_PCIE##num##_IO_BUS; \ + x.io_phys = CFG_SYS_PCIE##num##_IO_PHYS; \ + x.io_size = CFG_SYS_PCIE##num##_IO_SIZE; \ x.law = LAW_TRGT_IF_PCIE_##num; \ x.pci_num = num; \ }#define __FT_FSL_PCI_SETUP (blob, compat, num) \ - ft_fsl_pci_setup(blob, compat, CONFIG_SYS_PCI##num##_ADDR) + ft_fsl_pci_setup(blob, compat, CFG_SYS_PCI##num##_ADDR)#define __FT_FSL_PCIE_SETUP (blob, compat, num) \ - ft_fsl_pci_setup(blob, compat, CONFIG_SYS_PCIE##num##_ADDR) + ft_fsl_pci_setup(blob, compat, CFG_SYS_PCIE##num##_ADDR)#define FT_FSL_PCI1_SETUP __FT_FSL_PCI_SETUP(blob, FSL_PCI_COMPAT, 1)#define FT_FSL_PCI2_SETUP __FT_FSL_PCI_SETUP(blob, FSL_PCI_COMPAT, 2)
arch/powerpc/include/asm/immap_85xx.h +2 -2
@@ -2662,9 +2662,9 @@ struct ccsr_pman {#define CONFIG_SYS_PAMU_ADDR \ (CONFIG_SYS_IMMR + CFG_SYS_FSL_PAMU_OFFSET) -#define CONFIG_SYS_PCIE1_ADDR \ +#define CFG_SYS_PCIE1_ADDR \ (CONFIG_SYS_IMMR + CFG_SYS_MPC85xx_PCIE1_OFFSET) -#define CONFIG_SYS_PCIE2_ADDR \ +#define CFG_SYS_PCIE2_ADDR \ (CONFIG_SYS_IMMR + CFG_SYS_MPC85xx_PCIE2_OFFSET)#define CONFIG_SYS_SFP_ADDR \
board/freescale/common/p_corenet/tlb.c +6 -6
@@ -91,23 +91,23 @@ struct fsl_e_tlb_entry tlb_table[] = { 0, 2, BOOKE_PAGESZ_256M, 1),/* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT +0x40000000 , -CONFIG_SYS_PCIE1_MEM_PHYS +0x40000000 , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT +0x40000000 , +CFG_SYS_PCIE1_MEM_PHYS +0x40000000 ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,4 ,BOOKE_PAGESZ_256M ,1 ), -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT +0x50000000 , -CONFIG_SYS_PCIE1_MEM_PHYS +0x50000000 , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT +0x50000000 , +CFG_SYS_PCIE1_MEM_PHYS +0x50000000 ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,5 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 6, BOOKE_PAGESZ_256K, 1),
board/freescale/mpc8548cds/tlb.c +3 -3
@@ -62,7 +62,7 @@ struct fsl_e_tlb_entry tlb_table[] = {* Entry 4: * PCI and PCIe MEM 1G Non-cacheable, guarded */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCI1_MEM_VIRT ,CONFIG_SYS_PCI1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCI1_MEM_VIRT ,CFG_SYS_PCI1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 4, BOOKE_PAGESZ_1G, 1),
@@ -70,7 +70,7 @@ struct fsl_e_tlb_entry tlb_table[] = {* Entry 5: * PCI1 IO 1M Non-cacheable, guarded */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCI1_IO_VIRT ,CONFIG_SYS_PCI1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCI1_IO_VIRT ,CFG_SYS_PCI1_IO_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 5, BOOKE_PAGESZ_1M, 1),
@@ -78,7 +78,7 @@ struct fsl_e_tlb_entry tlb_table[] = {* Entry 6: * PCIe IO 1M Non-cacheable, guarded */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 6, BOOKE_PAGESZ_1M, 1), };
board/freescale/p1010rdb/tlb.c +2 -2
@@ -52,12 +52,12 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifdef CONFIG_PCI /* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,4 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 5, BOOKE_PAGESZ_256K, 1), #endif
board/freescale/p1_p2_rdb_pc/tlb.c +2 -2
@@ -45,12 +45,12 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifdef CONFIG_PCI /* *I*G* - PCI memory 1.5G */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI I/O effective: 192K */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 4, BOOKE_PAGESZ_256K, 1), #endif
board/freescale/t102xrdb/tlb.c +2 -2
@@ -54,12 +54,12 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifndef CONFIG_SPL_BUILD /* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 4, BOOKE_PAGESZ_256K, 1),
board/freescale/t104xrdb/tlb.c +2 -2
@@ -67,12 +67,12 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifndef CONFIG_SPL_BUILD /* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 4, BOOKE_PAGESZ_256K, 1),
board/freescale/t208xqds/tlb.c +5 -5
@@ -66,28 +66,28 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifndef CONFIG_SPL_BUILD /* *I*G* - PCIe 1, 0x80000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_512M ,1 ),/* *I*G* - PCIe 2, 0xa0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE2_MEM_VIRT ,CONFIG_SYS_PCIE2_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE2_MEM_VIRT ,CFG_SYS_PCIE2_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,4 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCIe 3, 0xb0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE3_MEM_VIRT ,CONFIG_SYS_PCIE3_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE3_MEM_VIRT ,CFG_SYS_PCIE3_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,5 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCIe 4, 0xc0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE4_MEM_VIRT ,CONFIG_SYS_PCIE4_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE4_MEM_VIRT ,CFG_SYS_PCIE4_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,6 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 7, BOOKE_PAGESZ_256K, 1),
board/freescale/t208xrdb/tlb.c +5 -5
@@ -66,28 +66,28 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifndef CONFIG_SPL_BUILD /* *I*G* - PCIe 1, 0x80000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_512M ,1 ),/* *I*G* - PCIe 2, 0xa0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE2_MEM_VIRT ,CONFIG_SYS_PCIE2_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE2_MEM_VIRT ,CFG_SYS_PCIE2_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,4 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCIe 3, 0xb0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE3_MEM_VIRT ,CONFIG_SYS_PCIE3_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE3_MEM_VIRT ,CFG_SYS_PCIE3_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,5 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCIe 4, 0xc0000000 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE4_MEM_VIRT ,CONFIG_SYS_PCIE4_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE4_MEM_VIRT ,CFG_SYS_PCIE4_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,6 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 7, BOOKE_PAGESZ_256K, 1),
board/freescale/t4rdb/tlb.c +6 -6
@@ -52,23 +52,23 @@ struct fsl_e_tlb_entry tlb_table[] = {#ifndef CONFIG_SPL_BUILD /* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT +0x40000000 , -CONFIG_SYS_PCIE1_MEM_PHYS +0x40000000 , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT +0x40000000 , +CFG_SYS_PCIE1_MEM_PHYS +0x40000000 ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,4 ,BOOKE_PAGESZ_256M ,1 ), -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT +0x50000000 , -CONFIG_SYS_PCIE1_MEM_PHYS +0x50000000 , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT +0x50000000 , +CFG_SYS_PCIE1_MEM_PHYS +0x50000000 ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,5 ,BOOKE_PAGESZ_256M ,1 ),/* *I*G* - PCI I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 6, BOOKE_PAGESZ_256K, 1),
board/keymile/kmcent2/tlb.c +2 -2
@@ -46,12 +46,12 @@ struct fsl_e_tlb_entry tlb_table[] = { 0, 2, BOOKE_PAGESZ_128M, 1),/* *I*G* - PCI1 */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_MEM_VIRT ,CONFIG_SYS_PCIE1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_MEM_VIRT ,CFG_SYS_PCIE1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G ,0 ,3 ,BOOKE_PAGESZ_1G ,1 ),/* *I*G* - PCI1 I/O */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCIE1_IO_VIRT ,CONFIG_SYS_PCIE1_IO_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCIE1_IO_VIRT ,CFG_SYS_PCIE1_IO_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 4, BOOKE_PAGESZ_256K, 1),
board/socrates/tlb.c +2 -2
@@ -41,7 +41,7 @@ struct fsl_e_tlb_entry tlb_table[] = {* TLB 2: 256M Non-cacheable, guarded * 0x80000000 256M PCI1 MEM First half */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCI1_MEM_PHYS ,CONFIG_SYS_PCI1_MEM_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_PCI1_MEM_PHYS ,CFG_SYS_PCI1_MEM_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 2, BOOKE_PAGESZ_256M, 1),
@@ -49,7 +49,7 @@ struct fsl_e_tlb_entry tlb_table[] = {* TLB 3: 256M Non-cacheable, guarded * 0x90000000 256M PCI1 MEM Second half */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_PCI1_MEM_PHYS +0x10000000 ,CONFIG_SYS_PCI1_MEM_PHYS +0x10000000 , +SET_TLB_ENTRY (1 ,CFG_SYS_PCI1_MEM_PHYS +0x10000000 ,CFG_SYS_PCI1_MEM_PHYS +0x10000000 ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_I |MAS2_G , 0, 3, BOOKE_PAGESZ_256M, 1),
common/fdt_support.c +2 -2
@@ -739,7 +739,7 @@ int fdt_delete_disabled_nodes(void *blob) }#ifdef CONFIG_PCI -#define CONFIG_SYS_PCI_NR_INBOUND_WIN 4 +#define CFG_SYS_PCI_NR_INBOUND_WIN 4#define FDT_PCI_PREFETCH (0x40000000)#define FDT_PCI_MEM32 (0x02000000)
@@ -751,7 +751,7 @@ int fdt_pci_dma_ranges(void *blob, int phb_off, struct pci_controller *hose) {int addrcell, sizecell, len, r;u32 *dma_range;/* sized based on pci addr cells, size-cells, & address-cells */ -u32 dma_ranges[(3 +2 +2 ) *CONFIG_SYS_PCI_NR_INBOUND_WIN ]; +u32 dma_ranges[(3 +2 +2 ) *CFG_SYS_PCI_NR_INBOUND_WIN ]; addrcell =fdt_getprop_u32_default (blob,"/" ,"#address-cells" ,1 ); sizecell =fdt_getprop_u32_default (blob,"/" ,"#size-cells" ,1 );
drivers/pci/pci_auto.c +4 -4
@@ -16,9 +16,9 @@#include <time.h> #include "pci_internal.h" -/* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */ -#ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE -#define CONFIG_SYS_PCI_CACHE_LINE_SIZE 8 +/* the user can define CFG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */ +#ifndef CFG_SYS_PCI_CACHE_LINE_SIZE +#define CFG_SYS_PCI_CACHE_LINE_SIZE 8#endif static void dm_pciauto_setup_device(struct udevice *dev,
@@ -178,7 +178,7 @@ static void dm_pciauto_setup_device(struct udevice *dev,dm_pci_write_config16 (dev,PCI_COMMAND , cmdstat);dm_pci_write_config8 (dev,PCI_CACHE_LINE_SIZE , -CONFIG_SYS_PCI_CACHE_LINE_SIZE ); +CFG_SYS_PCI_CACHE_LINE_SIZE );dm_pci_write_config8 (dev,PCI_LATENCY_TIMER ,0x80 ); }
drivers/pci/pcie_fsl.c +8 -8
@@ -343,8 +343,8 @@ static int fsl_pcie_setup_outbound_wins(struct fsl_pcie *pcie)static int fsl_pcie_setup_inbound_wins (struct fsl_pcie *pcie) { -phys_addr_t phys_start =CONFIG_SYS_PCI_MEMORY_PHYS ; -pci_addr_t bus_start =CONFIG_SYS_PCI_MEMORY_BUS ; +phys_addr_t phys_start =CFG_SYS_PCI_MEMORY_PHYS ; +pci_addr_t bus_start =CFG_SYS_PCI_MEMORY_BUS ;u64 sz =min ((u64 )gd->ram_size, (1ull <<32 ));pci_size_t pci_sz;int idx;
@@ -367,8 +367,8 @@ static int fsl_pcie_setup_inbound_wins(struct fsl_pcie *pcie) sz =2ull <<__ilog2_u64 (sz);fsl_pcie_setup_inbound_win (pcie, idx--, true, -CONFIG_SYS_PCI_MEMORY_PHYS , -CONFIG_SYS_PCI_MEMORY_BUS , sz); +CFG_SYS_PCI_MEMORY_PHYS , +CFG_SYS_PCI_MEMORY_BUS , sz);#if defined(CONFIG_PHYS_64BIT ) && defined(CONFIG_SYS_PCI_64BIT )/* * On 64-bit capable systems, set up a mapping for all of DRAM
@@ -380,12 +380,12 @@ static int fsl_pcie_setup_inbound_wins(struct fsl_pcie *pcie) pci_sz =1ull << (__ilog2_u64 (gd->ram_size) +1 );dev_dbg (pcie->bus,"R64 bus_start: %llx phys_start: %llx size: %llx\n" , - (u64 )CONFIG_SYS_PCI64_MEMORY_BUS , - (u64 )CONFIG_SYS_PCI_MEMORY_PHYS , (u64 )pci_sz); + (u64 )CFG_SYS_PCI64_MEMORY_BUS , + (u64 )CFG_SYS_PCI_MEMORY_PHYS , (u64 )pci_sz);fsl_pcie_setup_inbound_win (pcie, idx--, true, -CONFIG_SYS_PCI_MEMORY_PHYS , -CONFIG_SYS_PCI64_MEMORY_BUS , pci_sz); +CFG_SYS_PCI_MEMORY_PHYS , +CFG_SYS_PCI64_MEMORY_BUS , pci_sz);#endif return 0 ;
drivers/pci/pcie_fsl.h +6 -6
@@ -28,16 +28,16 @@#define DBI_RO_WR_EN 0x8bc -#ifndef CONFIG_SYS_PCI_MEMORY_BUS -#define CONFIG_SYS_PCI_MEMORY_BUS 0 +#ifndef CFG_SYS_PCI_MEMORY_BUS +#define CFG_SYS_PCI_MEMORY_BUS 0#endif -#ifndef CONFIG_SYS_PCI_MEMORY_PHYS -#define CONFIG_SYS_PCI_MEMORY_PHYS 0 +#ifndef CFG_SYS_PCI_MEMORY_PHYS +#define CFG_SYS_PCI_MEMORY_PHYS 0#endif -#if defined(CONFIG_SYS_PCI_64BIT ) && !defined(CONFIG_SYS_PCI64_MEMORY_BUS ) -#define CONFIG_SYS_PCI64_MEMORY_BUS (64ull * 1024 * 1024 * 1024) +#if defined(CONFIG_SYS_PCI_64BIT ) && !defined(CFG_SYS_PCI64_MEMORY_BUS ) +#define CFG_SYS_PCI64_MEMORY_BUS (64ull * 1024 * 1024 * 1024)#endif #define PEX_CSR0_LTSSM_MASK 0xFC
drivers/pci/pcie_layerscape.h +8 -8
@@ -13,20 +13,20 @@#include <asm/arch-fsl-layerscape/svr.h> #include <asm/arch-ls102xa/svr.h> -#ifndef CONFIG_SYS_PCI_MEMORY_BUS -#define CONFIG_SYS_PCI_MEMORY_BUS CONFIG_SYS_SDRAM_BASE +#ifndef CFG_SYS_PCI_MEMORY_BUS +#define CFG_SYS_PCI_MEMORY_BUS CONFIG_SYS_SDRAM_BASE#endif -#ifndef CONFIG_SYS_PCI_MEMORY_PHYS -#define CONFIG_SYS_PCI_MEMORY_PHYS CONFIG_SYS_SDRAM_BASE +#ifndef CFG_SYS_PCI_MEMORY_PHYS +#define CFG_SYS_PCI_MEMORY_PHYS CONFIG_SYS_SDRAM_BASE#endif -#ifndef CONFIG_SYS_PCI_MEMORY_SIZE -#define CONFIG_SYS_PCI_MEMORY_SIZE SZ_4G +#ifndef CFG_SYS_PCI_MEMORY_SIZE +#define CFG_SYS_PCI_MEMORY_SIZE SZ_4G#endif -#ifndef CONFIG_SYS_PCI_EP_MEMORY_BASE -#define CONFIG_SYS_PCI_EP_MEMORY_BASE CONFIG_SYS_LOAD_ADDR +#ifndef CFG_SYS_PCI_EP_MEMORY_BASE +#define CFG_SYS_PCI_EP_MEMORY_BASE CONFIG_SYS_LOAD_ADDR#endif #define PCIE_PHYS_SIZE 0x200000000
drivers/pci/pcie_layerscape_ep.c +3 -3
@@ -72,7 +72,7 @@ static void ls_pcie_ep_setup_atu(struct ls_pcie_ep *pcie_ep, u32 pf)u32 vf_flag =0 ;u64 phys =0 ; - phys =CONFIG_SYS_PCI_EP_MEMORY_BASE + pf *SZ_64M ; + phys =CFG_SYS_PCI_EP_MEMORY_BASE + pf *SZ_64M ; phys =ALIGN (phys,PCIE_BAR0_SIZE );/* ATU 0 : INBOUND : map BAR0 */
@@ -117,8 +117,8 @@ static void ls_pcie_ep_setup_atu(struct ls_pcie_ep *pcie_ep, u32 pf)/* ATU: OUTBOUND : map MEM */ ls_pcie_atu_outbound_set (pcie, pf,PCIE_ATU_TYPE_MEM , (u64 )pcie_ep->addr_res.start + - pf *CONFIG_SYS_PCI_MEMORY_SIZE , -0 ,CONFIG_SYS_PCI_MEMORY_SIZE ); + pf *CFG_SYS_PCI_MEMORY_SIZE , +0 ,CFG_SYS_PCI_MEMORY_SIZE ); }/* BAR0 and BAR1 are 32bit BAR2 and BAR4 are 64bit */
drivers/pci/pcie_layerscape_gen4.c +3 -3
@@ -333,7 +333,7 @@ static void ls_pcie_g4_ep_setup_wins(struct ls_pcie_g4 *pcie, int pf)if ((!pcie->sriov_support && pf >LS_G4_PF0 ) || pf >LS_G4_PF1 )return ; - phys =CONFIG_SYS_PCI_EP_MEMORY_BASE +PCIE_BAR_SIZE *4 * pf; + phys =CFG_SYS_PCI_EP_MEMORY_BASE +PCIE_BAR_SIZE *4 * pf;for (bar =0 ; bar <PF_BAR_NUM ; bar++) {ls_pcie_g4_ep_inbound_win_set (pcie, pf, bar, phys); phys +=PCIE_BAR_SIZE ;
@@ -342,8 +342,8 @@ static void ls_pcie_g4_ep_setup_wins(struct ls_pcie_g4 *pcie, int pf)/* OUTBOUND: map MEM */ ls_pcie_g4_outbound_win_set (pcie, pf,PAB_AXI_TYPE_MEM , pcie->cfg_res.start + -CONFIG_SYS_PCI_MEMORY_SIZE * pf,0x0 , -CONFIG_SYS_PCI_MEMORY_SIZE ); +CFG_SYS_PCI_MEMORY_SIZE * pf,0x0 , +CFG_SYS_PCI_MEMORY_SIZE ); val =ccsr_readl (pcie,PAB_AXI_AMAP_PCI_HDR_PARAM (pf)); val &= ~FUNC_NUM_PCIE_MASK ;
drivers/pci/pcie_layerscape_gen4.h +4 -4
@@ -11,12 +11,12 @@#include <pci.h> #include <linux/bitops.h> -#ifndef CONFIG_SYS_PCI_MEMORY_SIZE -#define CONFIG_SYS_PCI_MEMORY_SIZE (4 * 1024 * 1024 * 1024ULL) +#ifndef CFG_SYS_PCI_MEMORY_SIZE +#define CFG_SYS_PCI_MEMORY_SIZE (4 * 1024 * 1024 * 1024ULL)#endif -#ifndef CONFIG_SYS_PCI_EP_MEMORY_BASE -#define CONFIG_SYS_PCI_EP_MEMORY_BASE CONFIG_SYS_LOAD_ADDR +#ifndef CFG_SYS_PCI_EP_MEMORY_BASE +#define CFG_SYS_PCI_EP_MEMORY_BASE CONFIG_SYS_LOAD_ADDR#endif #define PCIE_PF_NUM 2
include/configs/MPC837XERDB.h +9 -9
@@ -177,15 +177,15 @@* General PCI * Addresses are mapped 1-1. */ -#define CONFIG_SYS_PCIE1_CFG_BASE 0xA0000000 -#define CONFIG_SYS_PCIE1_CFG_SIZE 0x08000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xA8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xB8000000 - -#define CONFIG_SYS_PCIE2_CFG_BASE 0xC0000000 -#define CONFIG_SYS_PCIE2_CFG_SIZE 0x08000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xC8000000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xD8000000 +#define CFG_SYS_PCIE1_CFG_BASE 0xA0000000 +#define CFG_SYS_PCIE1_CFG_SIZE 0x08000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xA8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xB8000000 + +#define CFG_SYS_PCIE2_CFG_BASE 0xC0000000 +#define CFG_SYS_PCIE2_CFG_SIZE 0x08000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xC8000000 +#define CFG_SYS_PCIE2_IO_PHYS 0xD8000000/* * TSEC
include/configs/MPC8548CDS.h +12 -12
@@ -254,31 +254,31 @@* General PCI * Memory space is mapped 1-1, but I/O space must start from 0. */ -#define CONFIG_SYS_PCI1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCI1_MEM_VIRT 0x80000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCI1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCI1_MEM_PHYS 0xc00000000ull#else -#define CONFIG_SYS_PCI1_MEM_PHYS 0x80000000 +#define CFG_SYS_PCI1_MEM_PHYS 0x80000000#endif -#define CONFIG_SYS_PCI1_IO_VIRT 0xe2000000 +#define CFG_SYS_PCI1_IO_VIRT 0xe2000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCI1_IO_PHYS 0xfe2000000ull +#define CFG_SYS_PCI1_IO_PHYS 0xfe2000000ull#else -#define CONFIG_SYS_PCI1_IO_PHYS 0xe2000000 +#define CFG_SYS_PCI1_IO_PHYS 0xe2000000#endif #ifdef CONFIG_PCIE1 -#define CONFIG_SYS_PCIE1_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE1_MEM_VIRT 0xa0000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE1_MEM_PHYS 0xc20000000ull#else -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xa0000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xa0000000#endif -#define CONFIG_SYS_PCIE1_IO_VIRT 0xe3000000 +#define CFG_SYS_PCIE1_IO_VIRT 0xe3000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_IO_PHYS 0xfe3000000ull +#define CFG_SYS_PCIE1_IO_PHYS 0xfe3000000ull#else -#define CONFIG_SYS_PCIE1_IO_PHYS 0xe3000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xe3000000#endif #endif
include/configs/P1010RDB.h +12 -12
@@ -68,31 +68,31 @@* Memory space is mapped 1-1, but I/O space must start from 0. */ /* controller 1, Slot 1, tgtid 1, Base address a000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull#else -#define CONFIG_SYS_PCIE1_MEM_PHYS 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0x80000000#endif -#define CONFIG_SYS_PCIE1_IO_VIRT 0xffc00000 +#define CFG_SYS_PCIE1_IO_VIRT 0xffc00000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_IO_PHYS 0xfffc00000ull +#define CFG_SYS_PCIE1_IO_PHYS 0xfffc00000ull#else -#define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000 +#define CFG_SYS_PCIE1_IO_PHYS 0xffc00000#endif /* controller 2, Slot 2, tgtid 2, Base address 9000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull#else -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xa0000000#endif -#define CONFIG_SYS_PCIE2_IO_VIRT 0xffc10000 +#define CFG_SYS_PCIE2_IO_VIRT 0xffc10000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE2_IO_PHYS 0xfffc10000ull +#define CFG_SYS_PCIE2_IO_PHYS 0xfffc10000ull#else -#define CONFIG_SYS_PCIE2_IO_PHYS 0xffc10000 +#define CFG_SYS_PCIE2_IO_PHYS 0xffc10000#endif #endif
include/configs/P2041RDB.h +10 -10
@@ -234,20 +234,20 @@*/ /* controller 1, direct to uli, tgtid 3, Base address 20000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull/* controller 2, Slot 2, tgtid 2, Base address 201000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull/* controller 3, Slot 1, tgtid 1, Base address 202000 */ -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xc0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc40000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xc0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc40000000ull/* Qman/Bman */ #define CONFIG_SYS_BMAN_NUM_PORTALS 10
include/configs/T102xRDB.h +10 -10
@@ -331,24 +331,24 @@#ifdef CONFIG_PCI /* controller 1, direct to uli, tgtid 3, Base address 20000 */ #ifdef CONFIG_PCIE1 -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull#endif /* controller 2, Slot 2, tgtid 2, Base address 201000 */ #ifdef CONFIG_PCIE2 -#define CONFIG_SYS_PCIE2_MEM_VIRT 0x90000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc10000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0x90000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc10000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull#endif /* controller 3, Slot 1, tgtid 1, Base address 202000 */ #ifdef CONFIG_PCIE3 -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc20000000ull#endif #endif /* CONFIG_PCI */
include/configs/T104xRDB.h +12 -12
@@ -307,30 +307,30 @@#ifdef CONFIG_PCI /* controller 1, direct to uli, tgtid 3, Base address 20000 */ #ifdef CONFIG_PCIE1 -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull#endif /* controller 2, Slot 2, tgtid 2, Base address 201000 */ #ifdef CONFIG_PCIE2 -#define CONFIG_SYS_PCIE2_MEM_VIRT 0x90000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc10000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0x90000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc10000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull#endif /* controller 3, Slot 1, tgtid 1, Base address 202000 */ #ifdef CONFIG_PCIE3 -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc20000000ull#endif /* controller 4, Base address 203000 */ #ifdef CONFIG_PCIE4 -#define CONFIG_SYS_PCIE4_MEM_VIRT 0xb0000000 -#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc30000000ull +#define CFG_SYS_PCIE4_MEM_VIRT 0xb0000000 +#define CFG_SYS_PCIE4_MEM_PHYS 0xc30000000ull#endif #endif /* CONFIG_PCI */
include/configs/T208xQDS.h +12 -12
@@ -345,24 +345,24 @@* Memory space is mapped 1-1, but I/O space must start from 0. */ /* controller 1, direct to uli, tgtid 3, Base address 20000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull/* controller 2, Slot 2, tgtid 2, Base address 201000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull/* controller 3, Slot 1, tgtid 1, Base address 202000 */ -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xb0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc30000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xb0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc30000000ull/* controller 4, Base address 203000 */ -#define CONFIG_SYS_PCIE4_MEM_VIRT 0xc0000000 -#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc40000000ull +#define CFG_SYS_PCIE4_MEM_VIRT 0xc0000000 +#define CFG_SYS_PCIE4_MEM_PHYS 0xc40000000ull/* Qman/Bman */ #ifndef CONFIG_NOBQFMAN
include/configs/T208xRDB.h +12 -12
@@ -299,24 +299,24 @@* Memory space is mapped 1-1, but I/O space must start from 0. */ /* controller 1, direct to uli, tgtid 3, Base address 20000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull/* controller 2, Slot 2, tgtid 2, Base address 201000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull/* controller 3, Slot 1, tgtid 1, Base address 202000 */ -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xb0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc30000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xb0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc30000000ull/* controller 4, Base address 203000 */ -#define CONFIG_SYS_PCIE4_MEM_VIRT 0xc0000000 -#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc40000000ull +#define CFG_SYS_PCIE4_MEM_VIRT 0xc0000000 +#define CFG_SYS_PCIE4_MEM_PHYS 0xc40000000ull/* Qman/Bman */ #ifndef CONFIG_NOBQFMAN
include/configs/T4240RDB.h +12 -12
@@ -107,24 +107,24 @@*/ /* controller 1, direct to uli, tgtid 3, Base address 20000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull/* controller 2, Slot 2, tgtid 2, Base address 201000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull -#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000 -#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000 +#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull/* controller 3, Slot 1, tgtid 1, Base address 202000 */ -#define CONFIG_SYS_PCIE3_MEM_VIRT 0xc0000000 -#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc40000000ull +#define CFG_SYS_PCIE3_MEM_VIRT 0xc0000000 +#define CFG_SYS_PCIE3_MEM_PHYS 0xc40000000ull/* controller 4, Base address 203000 */ -#define CONFIG_SYS_PCIE4_MEM_BUS 0xe0000000 -#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc60000000ull +#define CFG_SYS_PCIE4_MEM_BUS 0xe0000000 +#define CFG_SYS_PCIE4_MEM_PHYS 0xc60000000ull/* * Miscellaneous configurable options
include/configs/kmcent2.h +4 -4
@@ -346,10 +346,10 @@ int get_scl(void);* Memory space is mapped 1-1, but I/O space must start from 0. */ /* controller 1 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull -#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000 -#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000 +#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull#define CONFIG_SYS_BMAN_NUM_PORTALS 10#define CONFIG_SYS_BMAN_MEM_BASE 0xf4000000
include/configs/p1_p2_rdb_pc.h +12 -12
@@ -343,31 +343,31 @@*/ /* controller 2, direct to uli, tgtid 2, Base address 9000 */ -#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000 +#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull +#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull#else -#define CONFIG_SYS_PCIE2_MEM_PHYS 0xa0000000 +#define CFG_SYS_PCIE2_MEM_PHYS 0xa0000000#endif -#define CONFIG_SYS_PCIE2_IO_VIRT 0xffc10000 +#define CFG_SYS_PCIE2_IO_VIRT 0xffc10000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE2_IO_PHYS 0xfffc10000ull +#define CFG_SYS_PCIE2_IO_PHYS 0xfffc10000ull#else -#define CONFIG_SYS_PCIE2_IO_PHYS 0xffc10000 +#define CFG_SYS_PCIE2_IO_PHYS 0xffc10000#endif /* controller 1, Slot 2, tgtid 1, Base address a000 */ -#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000 +#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull +#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull#else -#define CONFIG_SYS_PCIE1_MEM_PHYS 0x80000000 +#define CFG_SYS_PCIE1_MEM_PHYS 0x80000000#endif -#define CONFIG_SYS_PCIE1_IO_VIRT 0xffc00000 +#define CFG_SYS_PCIE1_IO_VIRT 0xffc00000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_PCIE1_IO_PHYS 0xfffc00000ull +#define CFG_SYS_PCIE1_IO_PHYS 0xfffc00000ull#else -#define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000 +#define CFG_SYS_PCIE1_IO_PHYS 0xffc00000#endif #endif /* CONFIG_PCI */
include/configs/socrates.h +2 -2
@@ -109,8 +109,8 @@* Memory space is mapped 1-1. */ -#define CONFIG_SYS_PCI1_MEM_PHYS 0x80000000 -#define CONFIG_SYS_PCI1_IO_PHYS 0xE2000000 +#define CFG_SYS_PCI1_MEM_PHYS 0x80000000 +#define CFG_SYS_PCI1_IO_PHYS 0xE2000000#define CONFIG_TSEC1 1#define CONFIG_TSEC1_NAME "TSEC0"
Signature · 1 line
2.25.1
Re: [PATCH 09/17] global: Move remaining CONFIG_SYS_PCI* to CFG_SYS_PCI*
Quoted 43 lines · Tom Rini
The rest of the unmigrated CONFIG symbols in the
CONFIG_SYS_PCIandCONFIG_SYS_PCIEnamespace do not easily transition toKconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.Signed-off-by Tom Rini <[email protected]>--- arch/arm/cpu/armv7/ls102xa/cpu.c | 16 +++---- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 46 +++++++++---------- .../arm/include/asm/arch-fsl-layerscape/cpu.h | 24 +++++----- .../asm/arch-fsl-layerscape/immap_lsch2.h | 10 ++-- .../asm/arch-fsl-layerscape/immap_lsch3.h | 34 +++++++------- arch/arm/include/asm/arch-ls102xa/config.h | 24 +++++----- arch/m68k/include/asm/immap.h | 8 ++-- arch/powerpc/cpu/mpc83xx/pcie.c | 10 ++-- arch/powerpc/cpu/mpc85xx/liodn.c | 2 +- arch/powerpc/include/asm/fsl_pci.h | 32 ++++++------- arch/powerpc/include/asm/immap_85xx.h | 4 +- board/freescale/common/p_corenet/tlb.c | 12 ++--- board/freescale/mpc8548cds/tlb.c | 6 +-- board/freescale/p1010rdb/tlb.c | 4 +- board/freescale/p1_p2_rdb_pc/tlb.c | 4 +- board/freescale/t102xrdb/tlb.c | 4 +- board/freescale/t104xrdb/tlb.c | 4 +- board/freescale/t208xqds/tlb.c | 10 ++-- board/freescale/t208xrdb/tlb.c | 10 ++-- board/freescale/t4rdb/tlb.c | 12 ++--- board/keymile/kmcent2/tlb.c | 4 +- board/socrates/tlb.c | 4 +- common/fdt_support.c | 4 +- drivers/pci/pci_auto.c | 8 ++-- drivers/pci/pcie_fsl.c | 16 +++---- drivers/pci/pcie_fsl.h | 12 ++--- drivers/pci/pcie_layerscape.h | 16 +++---- drivers/pci/pcie_layerscape_ep.c | 6 +-- drivers/pci/pcie_layerscape_gen4.c | 6 +-- drivers/pci/pcie_layerscape_gen4.h | 8 ++-- include/configs/MPC837XERDB.h | 18 ++++---- include/configs/MPC8548CDS.h | 24 +++++----- include/configs/P1010RDB.h | 24 +++++----- include/configs/P2041RDB.h | 20 ++++---- include/configs/T102xRDB.h | 20 ++++----
Quoted 9 lines
include/configs/T104xRDB.h | 24 +++++----- include/configs/T208xQDS.h | 24 +++++----- include/configs/T208xRDB.h | 24 +++++----- include/configs/T4240RDB.h | 24 +++++----- include/configs/kmcent2.h | 8 ++-- include/configs/p1_p2_rdb_pc.h | 24 +++++----- include/configs/socrates.h | 4 +- 42 files changed, 299 insertions(+), 299 deletions(-)
PATCH 10/17 Convert CONFIG_SYS_PMAN et al to Kconfig
In reply to Tom RiniThis converts the following to Kconfig:
CONFIG_NOBQFMAN
CONFIG_SYS_DPAA_DCE
CONFIG_SYS_DPAA_FMAN
CONFIG_SYS_DPAA_PME
CONFIG_SYS_DPAA_RMAN
CONFIG_SYS_PMAN
--- arch/Kconfig.nxp | 3 ++ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 ++ .../armv8/fsl-layerscape/fsl_lsch2_speed.c | 8 ++--- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 2 +- .../arm/cpu/armv8/fsl-layerscape/ls1043_ids.c | 2 +- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 35 +++++++++++++++++++ include/configs/P2041RDB.h | 4 --- include/configs/T102xRDB.h | 2 -- include/configs/T104xRDB.h | 3 -- include/configs/T208xQDS.h | 6 ---- include/configs/T208xRDB.h | 6 ---- include/configs/T4240RDB.h | 6 ---- include/configs/kmcent2.h | 3 -- include/configs/ls1043a_common.h | 1 - include/configs/ls1046a_common.h | 1 - 16 files changed, 45 insertions(+), 41 deletions(-)
arch/Kconfig.nxp +3 -0
@@ -251,3 +251,6 @@ config QIXIS_I2C_ACCESS config HAS_FSL_DR_USB def_bool y depends on USB_EHCI_HCD && PPC + +config SYS_DPAA_FMAN + bool
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +2 -0
@@ -69,6 +69,7 @@ config ARCH_LS1043A select GICV2 select HAS_FSL_XHCI_USB if USB_HOST select SKIP_LOWLEVEL_INIT + select SYS_DPAA_FMAN select SYS_FSL_SRDS_1 select SYS_HAS_SERDES select SYS_FSL_DDR
@@ -106,6 +107,7 @@ config ARCH_LS1046A select GICV2 select HAS_FSL_XHCI_USB if USB_HOST select SKIP_LOWLEVEL_INIT + select SYS_DPAA_FMAN select SYS_FSL_SRDS_1 select SYS_HAS_SERDES select SYS_FSL_DDR
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c +2 -6
@@ -24,11 +24,7 @@ void get_sys_info(struct sys_info *sys_info)/* rcw_tmp is needed to get FMAN clock, or to get cluster group A * mux 2 clock for LS1043A/LS1046A. */ -#if defined(CONFIG_SYS_DPAA_FMAN ) || \ - defined(CONFIG_ARCH_LS1046A ) || \ - defined(CONFIG_ARCH_LS1043A ) -u32 rcw_tmp; -#endif +__maybe_unused u32 rcw_tmp;struct ccsr_clk *clk = (void *)(CFG_SYS_FSL_CLK_ADDR );unsigned int cpu;const u8 core_cplx_pll[8 ] = {
@@ -96,7 +92,7 @@ void get_sys_info(struct sys_info *sys_info)#define HWA_CGA_M1_CLK_SEL 0xe0000000#define HWA_CGA_M1_CLK_SHIFT 29 -#ifdef CONFIG_SYS_DPAA_FMAN +#if defined(CONFIG_SYS_DPAA_FMAN ) && !defined(CONFIG_SPL_BUILD ) rcw_tmp =in_be32 (&gur->rcwsr[7 ]);switch ((rcw_tmp &HWA_CGA_M1_CLK_SEL ) >>HWA_CGA_M1_CLK_SHIFT ) {case 2 :
arch/arm/cpu/armv8/fsl-layerscape/icid.c +1 -1
@@ -41,7 +41,7 @@ void set_icids(void)/* setup general icid offsets */ set_icid (icid_tbl, icid_tbl_sz); -#ifdef CONFIG_SYS_DPAA_FMAN +#if defined(CONFIG_SYS_DPAA_FMAN ) && !defined(CONFIG_SPL_BUILD )set_fman_icids (fman_icid_tbl, fman_icid_tbl_sz);#endif }
arch/arm/cpu/armv8/fsl-layerscape/ls1043_ids.c +1 -1
@@ -59,7 +59,7 @@ struct icid_id_table icid_tbl[] = {int icid_tbl_sz =ARRAY_SIZE (icid_tbl); -#ifdef CONFIG_SYS_DPAA_FMAN +#if defined(CONFIG_SYS_DPAA_FMAN ) && !defined(CONFIG_SPL_BUILD )struct fman_icid_id_table fman_icid_tbl[] = {/* port id, icid */ SET_FMAN_ICID_ENTRY(0x02, FSL_DPAA1_STREAM_ID_END),
arch/arm/cpu/armv8/fsl-layerscape/ls1046_ids.c +1 -1
@@ -58,7 +58,7 @@ struct icid_id_table icid_tbl[] = {int icid_tbl_sz =ARRAY_SIZE (icid_tbl); -#ifdef CONFIG_SYS_DPAA_FMAN +#if defined(CONFIG_SYS_DPAA_FMAN ) && !defined(CONFIG_SPL_BUILD )struct fman_icid_id_table fman_icid_tbl[] = {/* port id, icid */ SET_FMAN_ICID_ENTRY(0x02, FSL_DPAA1_STREAM_ID_END),
arch/powerpc/cpu/mpc85xx/Kconfig +35 -0
@@ -252,6 +252,8 @@ config TARGET_KMCENT2 bool "Support kmcent2" select VENDOR_KM select FSL_CORENET + select SYS_DPAA_FMAN + select SYS_DPAA_PME select SYS_L3_SIZE_256KB endchoice
@@ -618,6 +620,9 @@ config ARCH_P2041 select E500MC select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_FMAN + select SYS_DPAA_PME + select SYS_DPAA_RMAN select SYS_FSL_ERRATUM_A004510 select SYS_FSL_ERRATUM_A004849 select SYS_FSL_ERRATUM_A005275
@@ -762,6 +767,7 @@ config ARCH_T1024 select FSL_CORENET select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_FMAN select SYS_FSL_DDR_VER_50 select SYS_FSL_ERRATUM_A008378 select SYS_FSL_ERRATUM_A008109
@@ -792,6 +798,8 @@ config ARCH_T1040 select FSL_CORENET select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_FMAN + select SYS_DPAA_PME select SYS_FSL_DDR_VER_50 select SYS_FSL_ERRATUM_A008044 select SYS_FSL_ERRATUM_A008378
@@ -822,6 +830,8 @@ config ARCH_T1042 select FSL_CORENET select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_FMAN + select SYS_DPAA_PME select SYS_FSL_DDR_VER_50 select SYS_FSL_ERRATUM_A008044 select SYS_FSL_ERRATUM_A008378
@@ -851,6 +861,10 @@ config ARCH_T2080 select FSL_CORENET select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_DCE if !NOBQFMAN + select SYS_DPAA_FMAN if !NOBQFMAN + select SYS_DPAA_PME if !NOBQFMAN + select SYS_DPAA_RMAN if !NOBQFMAN select SYS_FSL_DDR_VER_47 select SYS_FSL_ERRATUM_A006379 select SYS_FSL_ERRATUM_A006593
@@ -871,6 +885,7 @@ config ARCH_T2080 select SYS_FSL_SRIO_LIODN select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN select SYS_FSL_USB_DUAL_PHY_ENABLE + select SYS_PMAN if !NOBQFMAN select SYS_PPC64 select FSL_IFC imply CMD_SATA
@@ -886,6 +901,10 @@ config ARCH_T4240 select FSL_CORENET select FSL_LAW select SYS_CACHE_SHIFT_6 + select SYS_DPAA_DCE if !NOBQFMAN + select SYS_DPAA_FMAN if !NOBQFMAN + select SYS_DPAA_PME if !NOBQFMAN + select SYS_DPAA_RMAN if !NOBQFMAN select SYS_FSL_DDR_VER_47 select SYS_FSL_ERRATUM_A004468 select SYS_FSL_ERRATUM_A005871
@@ -907,6 +926,7 @@ config ARCH_T4240 select SYS_FSL_SRIO_LIODN select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN select SYS_FSL_USB_DUAL_PHY_ENABLE + select SYS_PMAN if !NOBQFMAN select SYS_PPC64 select FSL_IFC imply CMD_SATA
@@ -947,6 +967,9 @@ config E6500 help Enable PowerPC E6500 core +config NOBQFMAN + bool + config FSL_LAW bool help
@@ -1019,6 +1042,15 @@ config SYS_CCSRBAR_DEFAULT if changed by pre-boot regime. The value here must match the current value in SoC. If not sure, do not change. +config SYS_DPAA_PME + bool + +config SYS_DPAA_DCE + bool + +config SYS_DPAA_RMAN + bool + config A003399_NOR_WORKAROUND bool help
@@ -1195,6 +1227,9 @@ config FSL_PCIE_DISABLE_ASPM config FSL_PCIE_RESET bool +config SYS_PMAN + bool + config SYS_FSL_RAID_ENGINE bool
include/configs/P2041RDB.h +0 -4
@@ -36,7 +36,6 @@#define CONFIG_SRIO1 /* SRIO port 1 */ #define CONFIG_SRIO2 /* SRIO port 2 */ #define CONFIG_SRIO_PCIE_BOOT_MASTER -#define CONFIG_SYS_DPAA_RMAN /* RMan */ #ifndef __ASSEMBLY__#include <linux/stringify.h>
@@ -281,9 +280,6 @@#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME -#ifdef CONFIG_FMAN_ENET #define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2#define CONFIG_SYS_FM1_DTSEC2_PHY_ADDR 0x3
include/configs/T102xRDB.h +0 -2
@@ -395,8 +395,6 @@ CONFIG_SYS_QMAN_CENA_SIZE)#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 - -#define CONFIG_SYS_DPAA_FMAN #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN
include/configs/T104xRDB.h +0 -3
@@ -366,9 +366,6 @@ CONFIG_SYS_QMAN_CENA_SIZE)#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 - -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_FMAN_ENET
include/configs/T208xQDS.h +0 -6
@@ -388,12 +388,6 @@ CONFIG_SYS_QMAN_CENA_SIZE)#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 - -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME -#define CONFIG_SYS_PMAN -#define CONFIG_SYS_DPAA_DCE -#define CONFIG_SYS_DPAA_RMAN /* RMan */ #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN
include/configs/T208xRDB.h +0 -6
@@ -342,12 +342,6 @@ CONFIG_SYS_QMAN_CENA_SIZE)#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 - -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME -#define CONFIG_SYS_PMAN -#define CONFIG_SYS_DPAA_DCE -#define CONFIG_SYS_DPAA_RMAN /* RMan */ #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN
include/configs/T4240RDB.h +0 -6
@@ -340,12 +340,6 @@ CONFIG_SYS_QMAN_CENA_SIZE)#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 - -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME -#define CONFIG_SYS_PMAN -#define CONFIG_SYS_DPAA_DCE -#define CONFIG_SYS_DPAA_RMAN #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN
include/configs/kmcent2.h +0 -3
@@ -372,9 +372,6 @@ int get_scl(void);#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08 -#define CONFIG_SYS_DPAA_FMAN -#define CONFIG_SYS_DPAA_PME -/* Qman / Bman */ /* RGMII (FM1@DTESC5) is local managemant interface */ #define CONFIG_SYS_RGMII2_PHY_ADDR 0x11
include/configs/ls1043a_common.h +0 -1
@@ -103,7 +103,6 @@/* FMan ucode */ #ifndef SPL_NO_FMAN -#define CONFIG_SYS_DPAA_FMAN #ifdef CONFIG_SYS_DPAA_FMAN #define CONFIG_SYS_FM_MURAM_SIZE 0x60000#endif
include/configs/ls1046a_common.h +0 -1
@@ -67,7 +67,6 @@/* FMan ucode */ #ifndef SPL_NO_FMAN -#define CONFIG_SYS_DPAA_FMAN #ifdef CONFIG_SYS_DPAA_FMAN #define CONFIG_SYS_FM_MURAM_SIZE 0x60000#endif
Signature · 1 line
2.25.1
Re: [PATCH 10/17] Convert CONFIG_SYS_PMAN et al to Kconfig
Quoted 20 lines · Tom Rini
This converts the following to
Kconfig:
CONFIG_NOBQFMAN
CONFIG_SYS_DPAA_DCE
CONFIG_SYS_DPAA_FMAN
CONFIG_SYS_DPAA_PME
CONFIG_SYS_DPAA_RMAN
CONFIG_SYS_PMANSigned-off-by Tom Rini <[email protected]>--- arch/Kconfig.nxp | 3 ++ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 ++ .../armv8/fsl-layerscape/fsl_lsch2_speed.c | 8 ++--- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 2 +- .../arm/cpu/armv8/fsl-layerscape/ls1043_ids.c | 2 +- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 35 +++++++++++++++++++ include/configs/P2041RDB.h | 4 --- include/configs/T102xRDB.h | 2 --
Quoted 9 lines
include/configs/T104xRDB.h | 3 -- include/configs/T208xQDS.h | 6 ---- include/configs/T208xRDB.h | 6 ---- include/configs/T4240RDB.h | 6 ---- include/configs/kmcent2.h | 3 -- include/configs/ls1043a_common.h | 1 - include/configs/ls1046a_common.h | 1 - 16 files changed, 45 insertions(+), 41 deletions(-)
PATCH 11/17 spl: Migrate SYS_SATA_FAT_BOOT_PARTITION to Kconfig
In reply to Tom RiniThis moves SYS_SATA_FAT_BOOT_PARTITION to Kconfig and enforces the current default via Kconfig rather than C code.
--- common/spl/Kconfig | 5 +++++ common/spl/spl_sata.c | 4 ---- include/configs/imx6_spl.h | 5 ----- 3 files changed, 5 insertions(+), 9 deletions(-)
common/spl/Kconfig +5 -0
@@ -1232,6 +1232,11 @@ config SPL_SATA expense and power consumption. This enables loading from SATA using a configured device. +config SYS_SATA_FAT_BOOT_PARTITION + int "Partition on the SATA disk to load U-Boot from" + depends on SPL_SATA && SPL_FS_FAT + default 1 + config SPL_SATA_RAW_U_BOOT_USE_SECTOR bool "SATA raw mode: by sector" depends on SPL_SATA
common/spl/spl_sata.c +0 -4
@@ -17,10 +17,6 @@#include <fat.h> #include <image.h> -#ifndef CONFIG_SYS_SATA_FAT_BOOT_PARTITION -#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1 -#endif -#ifndef CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR /* Dummy value to make the compiler happy */ #define CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR 0x100
include/configs/imx6_spl.h +0 -5
@@ -10,11 +10,6 @@/* MMC support */ -/* SATA support */ -#if defined(CONFIG_SPL_SATA ) -#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1 -#endif -#endif #endif
Signature · 1 line
2.25.1
Re: [PATCH 11/17] spl: Migrate SYS_SATA_FAT_BOOT_PARTITION to Kconfig
Quoted 10 lines · Tom Rini
This moves
SYS_SATA_FAT_BOOT_PARTITIONtoKconfigand enforces the current default viaKconfigrather than C code.Signed-off-by Tom Rini <[email protected]>--- common/spl/Kconfig | 5 +++++ common/spl/spl_sata.c | 4 ---- include/configs/imx6_spl.h | 5 ----- 3 files changed, 5 insertions(+), 9 deletions(-)
PATCH 12/17 imx6/imx7: Remove now empty imx6_spl.h and imx7_spl.h
In reply to Tom RiniThere are now no flags being set in these files, so remove them.
--- include/configs/apalis_imx6.h | 4 ---- include/configs/brppt2.h | 5 ----- include/configs/cl-som-imx7.h | 3 --- include/configs/cm_fx6.h | 3 --- include/configs/colibri_imx6.h | 4 ---- include/configs/dart_6ul.h | 3 --- include/configs/dh_imx6.h | 3 --- include/configs/display5.h | 2 -- include/configs/el6x_common.h | 4 ---- include/configs/embestmx6boards.h | 6 ------ include/configs/ge_b1x5v2.h | 2 -- include/configs/gw_ventana.h | 1 - include/configs/imx6-engicam.h | 5 ----- include/configs/imx6_logic.h | 4 ---- include/configs/imx6_spl.h | 15 --------------- include/configs/imx6dl-mamoj.h | 3 --- include/configs/imx6q-bosch-acc.h | 1 - include/configs/imx6ulz_smm_m2.h | 3 --- include/configs/imx7-cm.h | 3 --- include/configs/imx7_spl.h | 19 ------------------- include/configs/kontron-sl-mx6ul.h | 3 --- include/configs/kp_imx6q_tpc.h | 3 --- include/configs/liteboard.h | 3 --- include/configs/mccmon6.h | 2 -- include/configs/mx6cuboxi.h | 2 -- include/configs/mx6memcal.h | 1 - include/configs/mx6sabreauto.h | 4 ---- include/configs/mx6sabresd.h | 4 ---- include/configs/mx6slevk.h | 4 ---- include/configs/mx6sxsabresd.h | 4 ---- include/configs/mx6ul_14x14_evk.h | 3 --- include/configs/mys_6ulx.h | 3 --- include/configs/novena.h | 3 --- include/configs/npi_imx6ull.h | 3 --- include/configs/opos6uldev.h | 4 ---- include/configs/pcl063.h | 3 --- include/configs/pcl063_ull.h | 3 --- include/configs/pcm058.h | 4 ---- include/configs/pico-imx6.h | 8 -------- include/configs/pico-imx6ul.h | 7 ------- include/configs/pico-imx7d.h | 8 -------- include/configs/somlabs_visionsom_6ull.h | 4 ---- include/configs/tqma6.h | 7 ------- include/configs/udoo.h | 2 -- include/configs/udoo_neo.h | 2 -- include/configs/vining_2000.h | 4 ---- include/configs/wandboard.h | 2 -- include/configs/xpress.h | 3 --- 48 files changed, 196 deletions(-) delete mode 100644 include/configs/imx6_spl.h delete mode 100644 include/configs/imx7_spl.h
include/configs/apalis_imx6.h +0 -4
@@ -15,10 +15,6 @@#include <asm/arch/imx-regs.h> #include <asm/mach-imx/gpio.h> -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */
include/configs/brppt2.h +0 -5
@@ -86,9 +86,4 @@ BUR_COMMON_ENV \/* USB Configs */ #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) -/* SPL */ -#ifdef CONFIG_SPL -#include "imx6_spl.h" - -#endif /* CONFIG_SPL */ #endif /* __CONFIG_BRPP2_IMX6_H */
include/configs/cl-som-imx7.h +0 -3
@@ -101,7 +101,4 @@#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)#define CONFIG_MXC_USB_FLAGS 0 -/* SPL */ -#include "imx7_spl.h" -#endif /* __CONFIG_H */
include/configs/cm_fx6.h +0 -3
@@ -143,9 +143,6 @@/* misc */ -/* SPL */ -#include "imx6_spl.h" -/* Display */ #define CONFIG_IMX_HDMI
include/configs/colibri_imx6.h +0 -4
@@ -15,10 +15,6 @@#include <asm/arch/imx-regs.h> #include <asm/mach-imx/gpio.h> -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */
include/configs/dart_6ul.h +0 -3
@@ -10,9 +10,6 @@#include <linux/stringify.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -/* NAND pin conflicts with usdhc2 */ #ifdef CONFIG_CMD_NAND #define CFG_SYS_FSL_USDHC_NUM 1
include/configs/dh_imx6.h +0 -3
@@ -21,9 +21,6 @@* 0x12_0000-0x1f_ffff ... UNUSED */ -/* SPL */ -#include "imx6_spl.h" /* common IMX6 SPL configuration */ -/* Miscellaneous configurable options */ /* MMC Configs */
include/configs/display5.h +0 -2
@@ -34,8 +34,6 @@#define CONFIG_SYS_SPI_ARGS_OFFS 0x140000#define CONFIG_SYS_SPI_ARGS_SIZE 0x10000 -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART5_BASE/* I2C Configs */
include/configs/el6x_common.h +0 -4
@@ -12,10 +12,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -/* MMC Configs */ #define CFG_SYS_FSL_ESDHC_ADDR 0#define CFG_SYS_FSL_USDHC_NUM 2
include/configs/embestmx6boards.h +0 -6
@@ -49,12 +49,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -/* RiOTboard */ - -#endif -/* 256M RAM (minimum), 32M uncompressed kernel, 16M compressed kernel, 1M fdt, * 1M script, 1M pxe and the ramdisk at the end */ #define MEM_LAYOUT_ENV_SETTINGS \
include/configs/ge_b1x5v2.h +0 -2
@@ -12,8 +12,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -/* PWM */ #define CONFIG_IMX6_PWM_PER_CLK 66000000
include/configs/gw_ventana.h +0 -1
@@ -13,7 +13,6 @@/* Falcon Mode - MMC support: args@1MB kernel@2MB */ -#include "imx6_spl.h" /* common IMX6 SPL configuration */ #include "mx6_common.h" /* Serial */
include/configs/imx6-engicam.h +0 -5
@@ -142,9 +142,4 @@# define CONFIG_IMX_VIDEO_SKIP #endif -/* SPL */ -#ifdef CONFIG_SPL -# include "imx6_spl.h" -#endif -#endif /* __IMX6_ENGICAM_CONFIG_H */
include/configs/imx6_logic.h +0 -4
@@ -11,10 +11,6 @@#define CONFIG_MXC_UART_BASE UART1_BASE#define CONSOLE_DEV "ttymxc0" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#include "mx6_common.h" /* MMC Configs */
include/configs/imx6_spl.h deleted +0 -15
@@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (C) 2014 Gateworks Corporation -* Author: Tim Harvey <[email protected]> -*/ -#ifndef __IMX6_SPL_CONFIG_H -#define __IMX6_SPL_CONFIG_H - -#ifdef CONFIG_SPL - -/* MMC support */ - -#endif - -#endif
include/configs/imx6dl-mamoj.h +0 -3
@@ -59,7 +59,4 @@#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE -/* SPL */ -#include "imx6_spl.h" -#endif /* __IMX6DL_MAMOJ_CONFIG_H */
include/configs/imx6q-bosch-acc.h +0 -1
@@ -91,7 +91,6 @@/* SPL */ #ifdef CONFIG_SPL -#include "imx6_spl.h" #ifdef CONFIG_SPL_BUILD #define CFG_SYS_FSL_USDHC_NUM 2
include/configs/imx6ulz_smm_m2.h +0 -3
@@ -12,9 +12,6 @@#include <linux/sizes.h> #include <linux/stringify.h> -/* SPL options */ -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART4_BASE#ifndef CONFIG_SPL_BUILD
include/configs/imx7-cm.h +0 -3
@@ -83,7 +83,4 @@#define CONFIG_USBD_HS -/* SPL */ -#include "imx7_spl.h" -#endif /* __CONFIG_H */
include/configs/imx7_spl.h deleted +0 -19
@@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* SPL definitions for the i.MX7 SPL -* -* (C) Copyright 2017 CompuLab, Ltd. http://www.compulab.com -* -* Author: Uri Mashiach <[email protected]> -*/ - -#ifndef __IMX7_SPL_CONFIG_H -#define __IMX7_SPL_CONFIG_H - -#ifdef CONFIG_SPL - -/* MMC support */ - -#endif /* CONFIG_SPL */ - -#endif /* __IMX7_SPL_CONFIG_H */
include/configs/kontron-sl-mx6ul.h +0 -3
@@ -11,9 +11,6 @@#include <linux/sizes.h> #include "mx6_common.h" -#ifdef CONFIG_SPL_BUILD -#include "imx6_spl.h" -#endif /* RAM */ #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
include/configs/kp_imx6q_tpc.h +0 -3
@@ -12,9 +12,6 @@#include "mx6_common.h" -/* SPL */ -#include "imx6_spl.h" /* common IMX6 SPL configuration */ -/* Miscellaneous configurable options */ /* FEC ethernet */
include/configs/liteboard.h +0 -3
@@ -13,9 +13,6 @@#include <linux/stringify.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */
include/configs/mccmon6.h +0 -2
@@ -9,8 +9,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -#define CONFIG_SYS_UBOOT_BASE (CONFIG_SYS_FLASH_BASE + 0x80000)/*
include/configs/mx6cuboxi.h +0 -2
@@ -11,8 +11,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -/* MMC Configs */ #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
include/configs/mx6memcal.h +0 -1
@@ -11,7 +11,6 @@/* SPL */ #include "mx6_common.h" -#include "imx6_spl.h" #ifdef CONFIG_SERIAL_CONSOLE_UART1 #if defined(CONFIG_MX6SL )
include/configs/mx6sabreauto.h +0 -4
@@ -8,10 +8,6 @@#ifndef __MX6SABREAUTO_CONFIG_H#define __MX6SABREAUTO_CONFIG_H -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART4_BASE#define CONSOLE_DEV "ttymxc3"
include/configs/mx6sabresd.h +0 -4
@@ -8,10 +8,6 @@#ifndef __MX6SABRESD_CONFIG_H#define __MX6SABRESD_CONFIG_H -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART1_BASE#define CONSOLE_DEV "ttymxc0"
include/configs/mx6slevk.h +0 -4
@@ -10,10 +10,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR/* MMC Configs */
include/configs/mx6sxsabresd.h +0 -4
@@ -12,10 +12,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define CONFIG_MXC_UART_BASE UART1_BASE#ifdef CONFIG_IMX_BOOTAUX
include/configs/mx6ul_14x14_evk.h +0 -3
@@ -15,9 +15,6 @@#define is_mx6ul_9x9_evk () CONFIG_IS_ENABLED(TARGET_MX6UL_9X9_EVK) -/* SPL options */ -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */
include/configs/mys_6ulx.h +0 -3
@@ -10,9 +10,6 @@#include <linux/sizes.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -#define CFG_SYS_FSL_USDHC_NUM 1/* Console configs */
include/configs/novena.h +0 -3
@@ -34,9 +34,6 @@#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE -/* SPL */ -#include "imx6_spl.h" /* common IMX6 SPL configuration */ -/* I2C */ #define CONFIG_I2C_MULTI_BUS
include/configs/npi_imx6ull.h +0 -3
@@ -10,9 +10,6 @@#include <linux/sizes.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -#define CFG_SYS_FSL_USDHC_NUM 1/* Console configs */
include/configs/opos6uldev.h +0 -4
@@ -10,10 +10,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -/* Miscellaneous configurable options */ #define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR
include/configs/pcl063.h +0 -3
@@ -11,9 +11,6 @@#include <linux/sizes.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -/* * There is a bug in some i.MX6UL processors that results in the initial * portion of OCRAM being unavailable when booting from (at least) an SD
include/configs/pcl063_ull.h +0 -3
@@ -13,9 +13,6 @@#include <linux/stringify.h> #include "mx6_common.h" -/* SPL options */ -#include "imx6_spl.h" -#define CFG_SYS_FSL_USDHC_NUM 2/* Environment settings */
include/configs/pcm058.h +0 -4
@@ -6,10 +6,6 @@#ifndef __PCM058_CONFIG_H#define __PCM058_CONFIG_H -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#include "mx6_common.h" #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
include/configs/pico-imx6.h +0 -8
@@ -10,14 +10,6 @@#include "mx6_common.h" -#include "imx6_spl.h" - -#ifdef CONFIG_SPL_OS_BOOT -/* Falcon Mode */ - -/* Falcon Mode - MMC support: args@1MB kernel@2MB */ -#endif -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configuration */
include/configs/pico-imx6ul.h +0 -7
@@ -12,13 +12,6 @@#include <linux/sizes.h> #include "mx6_common.h" #include <asm/mach-imx/gpio.h> -#include "imx6_spl.h" - -#ifdef CONFIG_SPL_OS_BOOT -/* Falcon Mode */ - -/* Falcon Mode - MMC support: args@1MB kernel@2MB */ -#endif /* Network support */
include/configs/pico-imx7d.h +0 -8
@@ -10,14 +10,6 @@#include "mx7_common.h" -#include "imx7_spl.h" - -#ifdef CONFIG_SPL_OS_BOOT -/* Falcon Mode */ - -/* Falcon Mode - MMC support: args@1MB kernel@2MB */ -#endif -#define CONFIG_MXC_UART_BASE UART5_IPS_BASE_ADDR/* MMC Config */
include/configs/somlabs_visionsom_6ull.h +0 -4
@@ -13,10 +13,6 @@#include "mx6_common.h" #include <asm/mach-imx/gpio.h> -/* SPL options */ -#include "imx6_spl.h" - -/* MMC Configs */ #ifdef CONFIG_FSL_USDHC #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
include/configs/tqma6.h +0 -7
@@ -11,13 +11,6 @@#include <linux/kconfig.h> #include <linux/stringify.h> -/* SPL */ -/* #if defined(CONFIG_SPL_BUILD) */ -/* common IMX6 SPL configuration */ -#include "imx6_spl.h" - -/* #endif */ -/* place code in last 4 MiB of RAM */ #include "mx6_common.h"
include/configs/udoo.h +0 -2
@@ -10,8 +10,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART2_BASE/* MMC Configuration */
include/configs/udoo_neo.h +0 -2
@@ -12,8 +12,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -/* MMC Configuration */ #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
include/configs/vining_2000.h +0 -4
@@ -10,10 +10,6 @@#include "mx6_common.h" -#ifdef CONFIG_SPL -#include "imx6_spl.h" -#endif -#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ func(MMC, mmc, 1) \
include/configs/wandboard.h +0 -2
@@ -10,8 +10,6 @@#include "mx6_common.h" -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configuration */
include/configs/xpress.h +0 -3
@@ -10,9 +10,6 @@#include "mx6_common.h" #include <asm/mach-imx/gpio.h> -/* SPL options */ -#include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE MX6UL_UART7_BASE_ADDR/* MMC Configs */
Signature · 1 line
2.25.1
Re: [PATCH 12/17] imx6/imx7: Remove now empty imx6_spl.h and imx7_spl.h
Quoted 48 lines · Tom Rini
There are now no flags being set in these files, so remove them.
Signed-off-by Tom Rini <[email protected]>--- include/configs/apalis_imx6.h | 4 ---- include/configs/brppt2.h | 5 ----- include/configs/cl-som-imx7.h | 3 --- include/configs/cm_fx6.h | 3 --- include/configs/colibri_imx6.h | 4 ---- include/configs/dart_6ul.h | 3 --- include/configs/dh_imx6.h | 3 --- include/configs/display5.h | 2 -- include/configs/el6x_common.h | 4 ---- include/configs/embestmx6boards.h | 6 ------ include/configs/ge_b1x5v2.h | 2 -- include/configs/gw_ventana.h | 1 - include/configs/imx6-engicam.h | 5 ----- include/configs/imx6_logic.h | 4 ---- include/configs/imx6_spl.h | 15 --------------- include/configs/imx6dl-mamoj.h | 3 --- include/configs/imx6q-bosch-acc.h | 1 - include/configs/imx6ulz_smm_m2.h | 3 --- include/configs/imx7-cm.h | 3 --- include/configs/imx7_spl.h | 19 ------------------- include/configs/kontron-sl-mx6ul.h | 3 --- include/configs/kp_imx6q_tpc.h | 3 --- include/configs/liteboard.h | 3 --- include/configs/mccmon6.h | 2 -- include/configs/mx6cuboxi.h | 2 -- include/configs/mx6memcal.h | 1 - include/configs/mx6sabreauto.h | 4 ---- include/configs/mx6sabresd.h | 4 ---- include/configs/mx6slevk.h | 4 ---- include/configs/mx6sxsabresd.h | 4 ---- include/configs/mx6ul_14x14_evk.h | 3 --- include/configs/mys_6ulx.h | 3 --- include/configs/novena.h | 3 --- include/configs/npi_imx6ull.h | 3 --- include/configs/opos6uldev.h | 4 ---- include/configs/pcl063.h | 3 --- include/configs/pcl063_ull.h | 3 --- include/configs/pcm058.h | 4 ---- include/configs/pico-imx6.h | 8 -------- include/configs/pico-imx6ul.h | 7 ------- include/configs/pico-imx7d.h | 8 -------- include/configs/somlabs_visionsom_6ull.h | 4 ---- include/configs/tqma6.h | 7 -------
Quoted 9 lines
include/configs/udoo.h | 2 -- include/configs/udoo_neo.h | 2 -- include/configs/vining_2000.h | 4 ---- include/configs/wandboard.h | 2 -- include/configs/xpress.h | 3 --- 48 files changed, 196 deletions(-) delete mode 100644 include/configs/imx6_spl.h delete mode 100644 include/configs/imx7_spl.h
PATCH 13/17 global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*
In reply to Tom RiniThe rest of the unmigrated CONFIG symbols in the CONFIG_SYS_SDRAM namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.
--- README | 2 +- arch/arc/lib/cache.c | 4 +- arch/arc/lib/cpu.c | 2 +- arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 6 +-- arch/arm/dts/rockchip-optee.dtsi | 4 +- arch/arm/include/asm/emif.h | 2 +- arch/arm/include/asm/iproc-common/configs.h | 2 +- arch/arm/mach-aspeed/ast2500/board_common.c | 2 +- arch/arm/mach-aspeed/ast2600/board_common.c | 2 +- arch/arm/mach-at91/arm920t/lowlevel_init.S | 48 +++++++++---------- arch/arm/mach-at91/arm926ejs/lowlevel_init.S | 48 +++++++++---------- arch/arm/mach-davinci/misc.c | 4 +- arch/arm/mach-exynos/dmc_init_ddr3.c | 2 +- arch/arm/mach-imx/imx8m/soc.c | 2 +- arch/arm/mach-imx/imx8ulp/soc.c | 2 +- arch/arm/mach-imx/mx6/litesom.c | 2 +- arch/arm/mach-imx/mx6/opos6ul.c | 2 +- arch/arm/mach-imx/spl.c | 2 +- arch/arm/mach-k3/common.c | 2 +- arch/arm/mach-k3/r5_mpu.c | 2 +- arch/arm/mach-keystone/ddr3.c | 2 +- arch/arm/mach-mediatek/mt7623/init.c | 4 +- arch/arm/mach-mediatek/mt7981/init.c | 2 +- arch/arm/mach-mediatek/mt7986/init.c | 2 +- arch/arm/mach-mvebu/alleycat5/cpu.c | 6 +-- arch/arm/mach-mvebu/arm64-common.c | 2 +- arch/arm/mach-mvebu/armada8k/dram.c | 2 +- arch/arm/mach-omap2/am33xx/board.c | 6 +-- arch/arm/mach-omap2/emif-common.c | 8 ++-- arch/arm/mach-omap2/sec-common.c | 4 +- arch/arm/mach-owl/soc.c | 2 +- arch/arm/mach-rockchip/sdram.c | 16 +++---- arch/arm/mach-socfpga/board.c | 2 +- arch/arm/mach-sunxi/dram_helpers.c | 8 ++-- arch/arm/mach-sunxi/dram_suniv.c | 20 ++++---- arch/arm/mach-sunxi/dram_sunxi_dw.c | 6 +-- arch/arm/mach-tegra/board2.c | 4 +- arch/arm/mach-zynq/cpu.c | 2 +- arch/m68k/cpu/mcf532x/speed.c | 2 +- arch/m68k/include/asm/immap.h | 4 +- arch/m68k/lib/traps.c | 2 +- arch/mips/lib/traps.c | 2 +- arch/mips/mach-jz47xx/jz4780/jz4780.c | 2 +- arch/mips/mach-mscc/cpu.c | 8 ++-- arch/mips/mach-mscc/dram.c | 2 +- arch/mips/mach-mscc/include/mach/ddr.h | 2 +- arch/mips/mach-mtmips/mt7621/spl/start.S | 2 +- arch/mips/mach-octeon/dram.c | 2 +- arch/nios2/cpu/cpu.c | 2 +- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- arch/powerpc/cpu/mpc85xx/mp.c | 2 +- arch/powerpc/cpu/mpc8xxx/pamu_table.c | 2 +- arch/powerpc/lib/bootm.c | 2 +- arch/sandbox/cpu/state.c | 2 +- arch/sandbox/dts/sandbox.dts | 2 +- arch/sandbox/dts/sandbox64.dts | 2 +- arch/sh/cpu/u-boot.lds | 2 +- arch/sh/lib/board.c | 4 +- arch/sh/lib/bootm.c | 2 +- arch/xtensa/cpu/cpu.c | 2 +- board/BuR/brppt1/board.c | 2 +- board/BuS/eb_cpu5282/eb_cpu5282.c | 20 ++++---- board/CZ.NIC/turris_mox/turris_mox.c | 2 +- board/Marvell/mvebu_alleycat-5/board.c | 2 +- board/Marvell/mvebu_armada-37xx/board.c | 2 +- board/Marvell/mvebu_armada-8k/board.c | 2 +- board/Marvell/octeontx/board.c | 2 +- board/Marvell/octeontx2/board.c | 2 +- board/Marvell/octeontx2_cn913x/board.c | 2 +- board/armltd/integrator/integrator.c | 6 +-- board/armltd/vexpress/vexpress_common.c | 2 +- board/astro/mcf5373l/mcf5373l.c | 12 ++--- board/atmel/at91sam9260ek/at91sam9260ek.c | 6 +-- board/atmel/at91sam9261ek/at91sam9261ek.c | 6 +-- board/atmel/at91sam9263ek/at91sam9263ek.c | 6 +-- .../atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 6 +-- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 6 +-- board/atmel/at91sam9rlek/at91sam9rlek.c | 6 +-- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 6 +-- board/atmel/sam9x60ek/sam9x60ek.c | 6 +-- .../sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 6 +-- board/atmel/sama5d2_icp/sama5d2_icp.c | 6 +-- board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 6 +-- .../atmel/sama5d3_xplained/sama5d3_xplained.c | 6 +-- board/atmel/sama5d3xek/sama5d3xek.c | 6 +-- .../atmel/sama5d4_xplained/sama5d4_xplained.c | 6 +-- board/atmel/sama5d4ek/sama5d4ek.c | 6 +-- board/atmel/sama7g5ek/sama7g5ek.c | 6 +-- board/bluewater/gurnard/gurnard.c | 6 +-- board/bosch/guardian/board.c | 2 +- board/bosch/shc/board.c | 2 +- board/broadcom/bcm_ep/board.c | 8 ++-- board/calao/usb_a9263/usb_a9263.c | 6 +-- board/cobra5272/cobra5272.c | 2 +- board/compulab/cm_t43/cm_t43.c | 2 +- board/compulab/cm_t43/spl.c | 4 +- board/cssi/MCR3000/MCR3000.c | 2 +- .../ea-lpc3250devkitv2/ea-lpc3250devkitv2.c | 4 +- board/eets/pdu001/board.c | 2 +- board/egnite/ethernut5/ethernut5.c | 6 +-- board/emulation/qemu-arm/qemu-arm.c | 2 +- board/esd/meesc/meesc.c | 2 +- board/freescale/common/arm_sleep.c | 2 +- board/freescale/common/mpc85xx_sleep.c | 2 +- board/freescale/ls1012afrdm/ls1012afrdm.c | 4 +- board/freescale/ls1012aqds/ls1012aqds.c | 4 +- board/freescale/ls1012ardb/ls1012ardb.c | 4 +- board/freescale/ls1021aqds/ddr.c | 2 +- board/freescale/ls1021atsn/ls1021atsn.c | 2 +- board/freescale/ls1021atwr/ls1021atwr.c | 2 +- board/freescale/m5208evbe/m5208evbe.c | 26 +++++----- board/freescale/m5235evb/m5235evb.c | 8 ++-- board/freescale/m5249evb/m5249evb.c | 2 +- board/freescale/m5253demo/m5253demo.c | 6 +-- board/freescale/m5272c3/m5272c3.c | 2 +- board/freescale/m5275evb/m5275evb.c | 18 +++---- board/freescale/m5282evb/m5282evb.c | 8 ++-- board/freescale/m53017evb/README | 2 +- board/freescale/m53017evb/m53017evb.c | 26 +++++----- board/freescale/m5329evb/m5329evb.c | 24 +++++----- board/freescale/m5373evb/README | 2 +- board/freescale/m5373evb/m5373evb.c | 24 +++++----- board/freescale/mpc837xerdb/mpc837xerdb.c | 6 +-- board/freescale/mx51evk/mx51evk.c | 2 +- board/freescale/p1_p2_rdb_pc/ddr.c | 2 +- board/friendlyarm/nanopi2/board.c | 8 ++-- board/gardena/smart-gateway-at91sam/board.c | 6 +-- board/gdsys/mpc8308/sdram.c | 6 +-- board/grinn/chiliboard/board.c | 2 +- board/imgtec/boston/ddr.c | 2 +- board/imgtec/malta/lowlevel_init.S | 4 +- board/imgtec/malta/malta.c | 2 +- board/imgtec/xilfpga/xilfpga.c | 2 +- board/inversepath/usbarmory/usbarmory.c | 2 +- board/isee/igep003x/board.c | 2 +- board/keymile/common/common.c | 4 +- board/keymile/km83xx/km83xx.c | 6 +-- board/keymile/pg-wcom-ls102xa/ddr.c | 2 +- .../keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 2 +- board/l+g/vinco/vinco.c | 6 +-- board/mediatek/mt7622/mt7622_rfb.c | 2 +- board/mediatek/mt7623/mt7623_rfb.c | 2 +- board/mediatek/mt7629/mt7629_rfb.c | 2 +- board/mediatek/mt8518/mt8518_ap1.c | 2 +- board/mscc/jr2/jr2.c | 2 +- board/mscc/luton/luton.c | 2 +- board/mscc/ocelot/ocelot.c | 2 +- board/mscc/serval/serval.c | 2 +- board/mscc/servalt/servalt.c | 2 +- board/phytec/phycore_am335x_r2/board.c | 4 +- board/phytium/pomelo/pomelo.c | 2 +- board/renesas/alt/alt.c | 2 +- board/renesas/blanche/blanche.c | 2 +- board/renesas/gose/gose.c | 2 +- board/renesas/grpeach/grpeach.c | 2 +- board/renesas/koelsch/koelsch.c | 2 +- board/renesas/lager/lager.c | 2 +- board/renesas/porter/porter.c | 2 +- board/renesas/silk/silk.c | 2 +- board/renesas/stout/stout.c | 2 +- board/ronetix/pm9g45/pm9g45.c | 10 ++-- board/samsung/arndale/arndale.c | 4 +- board/samsung/common/board.c | 4 +- board/sandbox/sandbox.c | 4 +- board/siemens/common/board.c | 2 +- board/siemens/corvus/board.c | 6 +-- board/siemens/iot2050/board.c | 2 +- board/siemens/smartweb/smartweb.c | 6 +-- board/siemens/taurus/taurus.c | 10 ++-- board/sipeed/maix/maix.c | 2 +- board/socrates/sdram.c | 4 +- board/softing/vining_fpga/socfpga.c | 2 +- board/solidrun/mx6cuboxi/mx6cuboxi.c | 4 +- board/sysam/amcore/amcore.c | 6 +-- board/sysam/stmark2/stmark2.c | 2 +- board/tbs/tbs2910/tbs2910.c | 2 +- board/tcl/sl50/board.c | 2 +- board/ti/am335x/board.c | 2 +- board/ti/am43xx/board.c | 2 +- board/ti/am57xx/board.c | 2 +- board/ti/am65x/evm.c | 4 +- board/ti/dra7xx/evm.c | 2 +- board/ti/j721e/evm.c | 4 +- board/ti/j721s2/evm.c | 4 +- board/ti/ks2_evm/board.c | 12 ++--- board/ti/ti816x/evm.c | 2 +- board/timll/devkit3250/devkit3250.c | 6 +-- board/toradex/apalis_imx6/apalis_imx6.c | 2 +- board/toradex/colibri_imx6/colibri_imx6.c | 2 +- board/vscom/baltos/board.c | 2 +- board/work-microwave/work_92105/work_92105.c | 6 +-- board/xilinx/zynq/board.c | 6 +-- board/xilinx/zynqmp/zynqmp.c | 8 ++-- boot/image-board.c | 4 +- cmd/ti/ddr3.c | 18 +++---- common/board_f.c | 8 ++-- doc/arch/m68k.rst | 16 +++---- doc/arch/nios2.rst | 4 +- drivers/ddr/fsl/arm_ddr_gen3.c | 2 +- drivers/ddr/fsl/fsl_ddr_gen4.c | 2 +- drivers/ddr/fsl/main.c | 2 +- drivers/ddr/fsl/mpc85xx_ddr_gen3.c | 2 +- drivers/ddr/marvell/axp/ddr3_axp.h | 4 +- drivers/pci/Kconfig | 2 +- drivers/pci/pci-rcar-gen2.c | 4 +- drivers/pci/pci_sh7751.c | 6 +-- drivers/pci/pcie_dw_mvebu.c | 4 +- drivers/pci/pcie_layerscape.h | 4 +- drivers/ram/aspeed/sdram_ast2500.c | 4 +- drivers/ram/aspeed/sdram_ast2600.c | 6 +-- drivers/ram/mediatek/ddr3-mt7629.c | 12 ++--- drivers/ram/octeon/octeon_ddr.c | 2 +- drivers/ram/rockchip/dmc-rk3368.c | 12 ++--- drivers/ram/rockchip/sdram_common.c | 34 ++++++------- drivers/ram/rockchip/sdram_px30.c | 2 +- drivers/ram/rockchip/sdram_rk3066.c | 14 +++--- drivers/ram/rockchip/sdram_rk3128.c | 2 +- drivers/ram/rockchip/sdram_rk3188.c | 14 +++--- drivers/ram/rockchip/sdram_rk322x.c | 24 +++++----- drivers/ram/rockchip/sdram_rk3288.c | 14 +++--- drivers/ram/rockchip/sdram_rk3308.c | 2 +- drivers/ram/rockchip/sdram_rk3328.c | 2 +- drivers/ram/rockchip/sdram_rk3399.c | 2 +- drivers/ram/rockchip/sdram_rk3568.c | 2 +- drivers/usb/host/ehci-rmobile.c | 4 +- drivers/video/sunxi/sunxi_display.c | 4 +- include/configs/10m50_devboard.h | 4 +- include/configs/3c120_devboard.h | 4 +- include/configs/M5208EVBE.h | 22 ++++----- include/configs/M5235EVB.h | 12 ++--- include/configs/M5249EVB.h | 12 ++--- include/configs/M5253DEMO.h | 12 ++--- include/configs/M5272C3.h | 12 ++--- include/configs/M5275EVB.h | 12 ++--- include/configs/M5282EVB.h | 12 ++--- include/configs/M53017EVB.h | 22 ++++----- include/configs/M5329EVB.h | 22 ++++----- include/configs/M5373EVB.h | 22 ++++----- include/configs/MCR3000.h | 4 +- include/configs/MPC837XERDB.h | 4 +- include/configs/MPC8548CDS.h | 2 +- include/configs/P1010RDB.h | 4 +- include/configs/P2041RDB.h | 4 +- include/configs/SBx81LIFKW.h | 2 +- include/configs/SBx81LIFXCAT.h | 2 +- include/configs/T102xRDB.h | 6 +-- include/configs/T104xRDB.h | 4 +- include/configs/T208xQDS.h | 4 +- include/configs/T208xRDB.h | 4 +- include/configs/T4240RDB.h | 4 +- include/configs/am62x_evm.h | 2 +- include/configs/am64x_evm.h | 2 +- include/configs/am65x_evm.h | 2 +- include/configs/amcore.h | 4 +- include/configs/ap121.h | 2 +- include/configs/ap143.h | 2 +- include/configs/ap152.h | 2 +- include/configs/apalis-imx8.h | 2 +- include/configs/apalis_imx6.h | 2 +- include/configs/arbel.h | 4 +- include/configs/aristainetos2.h | 2 +- include/configs/aspeed-common.h | 2 +- include/configs/astro_mcf5373l.h | 12 ++--- include/configs/at91sam9260ek.h | 4 +- include/configs/at91sam9261ek.h | 4 +- include/configs/at91sam9263ek.h | 28 +++++------ include/configs/at91sam9m10g45ek.h | 4 +- include/configs/at91sam9n12ek.h | 4 +- include/configs/at91sam9rlek.h | 4 +- include/configs/at91sam9x5ek.h | 4 +- include/configs/ax25-ae350.h | 2 +- include/configs/axs10x.h | 4 +- include/configs/bcm947622.h | 2 +- include/configs/bcm94908.h | 2 +- include/configs/bcm94912.h | 2 +- include/configs/bcm963138.h | 2 +- include/configs/bcm963146.h | 2 +- include/configs/bcm963148.h | 2 +- include/configs/bcm963158.h | 2 +- include/configs/bcm963178.h | 2 +- include/configs/bcm96756.h | 2 +- include/configs/bcm96813.h | 2 +- include/configs/bcm96846.h | 2 +- include/configs/bcm96855.h | 2 +- include/configs/bcm96856.h | 2 +- include/configs/bcm96858.h | 2 +- include/configs/bcm96878.h | 2 +- include/configs/bcm_ns3.h | 2 +- include/configs/bcmstb.h | 2 +- include/configs/bitmain_antminer_s9.h | 4 +- include/configs/bk4r1.h | 2 +- include/configs/bmips_bcm3380.h | 2 +- include/configs/bmips_bcm6318.h | 2 +- include/configs/bmips_bcm63268.h | 2 +- include/configs/bmips_bcm6328.h | 2 +- include/configs/bmips_bcm6338.h | 2 +- include/configs/bmips_bcm6348.h | 2 +- include/configs/bmips_bcm6358.h | 2 +- include/configs/bmips_bcm6362.h | 2 +- include/configs/bmips_bcm6368.h | 2 +- include/configs/bmips_bcm6838.h | 2 +- include/configs/boston.h | 4 +- include/configs/brppt2.h | 2 +- include/configs/bur_am335x_common.h | 2 +- include/configs/capricorn-common.h | 2 +- include/configs/cgtqmx8.h | 2 +- include/configs/ci20.h | 2 +- include/configs/cl-som-imx7.h | 2 +- include/configs/cm_fx6.h | 2 +- include/configs/cobra5272.h | 12 ++--- include/configs/colibri-imx6ull.h | 2 +- include/configs/colibri-imx8x.h | 2 +- include/configs/colibri_imx6.h | 2 +- include/configs/colibri_imx7.h | 2 +- include/configs/colibri_vf.h | 2 +- include/configs/corstone1000.h | 2 +- include/configs/corvus.h | 4 +- include/configs/da850evm.h | 2 +- include/configs/dart_6ul.h | 2 +- include/configs/devkit3250.h | 4 +- include/configs/dh_imx6.h | 2 +- include/configs/display5.h | 2 +- include/configs/dragonboard410c.h | 2 +- include/configs/dragonboard820c.h | 2 +- include/configs/durian.h | 2 +- include/configs/ea-lpc3250devkitv2.h | 2 +- include/configs/eb_cpu5282.h | 14 +++--- include/configs/el6x_common.h | 2 +- include/configs/embestmx6boards.h | 2 +- include/configs/emsdp.h | 4 +- include/configs/espresso7420.h | 2 +- include/configs/ethernut5.h | 4 +- include/configs/exynos5-common.h | 16 +++---- include/configs/exynos5250-common.h | 2 +- include/configs/exynos7420-common.h | 16 +++---- include/configs/exynos78x0-common.h | 26 +++++----- .../configs/gardena-smart-gateway-at91sam.h | 4 +- .../configs/gardena-smart-gateway-mt7688.h | 2 +- include/configs/gazerbeam.h | 6 +-- include/configs/ge_b1x5v2.h | 2 +- include/configs/ge_bx50v3.h | 2 +- include/configs/grpeach.h | 4 +- include/configs/gw_ventana.h | 2 +- include/configs/gxp.h | 2 +- include/configs/highbank.h | 2 +- include/configs/hikey.h | 2 +- include/configs/hikey960.h | 2 +- include/configs/hsdk-4xd.h | 4 +- include/configs/hsdk.h | 4 +- include/configs/imgtec_xilfpga.h | 4 +- include/configs/imx27lite-common.h | 2 +- include/configs/imx6-engicam.h | 2 +- include/configs/imx6_logic.h | 2 +- include/configs/imx6dl-mamoj.h | 2 +- include/configs/imx6q-bosch-acc.h | 2 +- include/configs/imx6ulz_smm_m2.h | 2 +- include/configs/imx7-cm.h | 2 +- include/configs/imx8mm-cl-iot-gate.h | 2 +- include/configs/imx8mm_beacon.h | 2 +- include/configs/imx8mm_data_modul_edm_sbc.h | 2 +- include/configs/imx8mm_evk.h | 2 +- include/configs/imx8mm_icore_mx8mm.h | 2 +- include/configs/imx8mm_venice.h | 2 +- include/configs/imx8mn_beacon.h | 2 +- include/configs/imx8mn_bsh_smm_s2_common.h | 2 +- include/configs/imx8mn_evk.h | 2 +- include/configs/imx8mn_var_som.h | 2 +- include/configs/imx8mn_venice.h | 2 +- include/configs/imx8mp_dhcom_pdk2.h | 2 +- include/configs/imx8mp_evk.h | 2 +- include/configs/imx8mp_icore_mx8mp.h | 2 +- include/configs/imx8mp_rsb3720.h | 2 +- include/configs/imx8mp_venice.h | 2 +- include/configs/imx8mq_cm.h | 2 +- include/configs/imx8mq_evk.h | 2 +- include/configs/imx8mq_phanbell.h | 2 +- include/configs/imx8qm_mek.h | 2 +- include/configs/imx8qm_rom7720.h | 2 +- include/configs/imx8qxp_mek.h | 2 +- include/configs/imx8ulp_evk.h | 2 +- include/configs/imx93_evk.h | 2 +- include/configs/integrator-common.h | 2 +- include/configs/iot_devkit.h | 14 +++--- include/configs/j721e_evm.h | 2 +- include/configs/j721s2_evm.h | 2 +- include/configs/km/km-mpc83xx.h | 4 +- include/configs/km/pg-wcom-ls102xa.h | 2 +- include/configs/kmcent2.h | 4 +- include/configs/kontron-sl-mx6ul.h | 2 +- include/configs/kontron-sl-mx8mm.h | 2 +- include/configs/kontron_pitx_imx8m.h | 2 +- include/configs/kontron_sl28.h | 2 +- include/configs/kp_imx53.h | 2 +- include/configs/kp_imx6q_tpc.h | 2 +- include/configs/legoev3.h | 2 +- include/configs/librem5.h | 2 +- include/configs/linkit-smart-7688.h | 2 +- include/configs/liteboard.h | 2 +- include/configs/ls1012a2g5rdb.h | 2 +- include/configs/ls1012a_common.h | 2 +- include/configs/ls1012afrdm.h | 2 +- include/configs/ls1012aqds.h | 2 +- include/configs/ls1012ardb.h | 2 +- include/configs/ls1021aiot.h | 2 +- include/configs/ls1021aqds.h | 2 +- include/configs/ls1021atsn.h | 2 +- include/configs/ls1021atwr.h | 2 +- include/configs/ls1028a_common.h | 2 +- include/configs/ls1043a_common.h | 2 +- include/configs/ls1046a_common.h | 2 +- include/configs/ls1088a_common.h | 2 +- include/configs/ls2080a_common.h | 2 +- include/configs/lx2160a_common.h | 4 +- include/configs/m53menlo.h | 2 +- include/configs/malta.h | 6 +-- include/configs/maxbcm.h | 2 +- include/configs/mccmon6.h | 2 +- include/configs/meerkat96.h | 2 +- include/configs/meesc.h | 4 +- include/configs/meson64.h | 2 +- include/configs/microchip_mpfs_icicle.h | 2 +- include/configs/msc_sm2s_imx8mp.h | 2 +- include/configs/mt7620.h | 2 +- include/configs/mt7621.h | 2 +- include/configs/mt7622.h | 2 +- include/configs/mt7623.h | 2 +- include/configs/mt7628.h | 2 +- include/configs/mt7629.h | 2 +- include/configs/mt7981.h | 2 +- include/configs/mt7986.h | 2 +- include/configs/mt8518.h | 4 +- include/configs/mv-common.h | 2 +- include/configs/mvebu_alleycat-5.h | 2 +- include/configs/mvebu_armada-37xx.h | 2 +- include/configs/mvebu_armada-8k.h | 2 +- include/configs/mx23_olinuxino.h | 2 +- include/configs/mx23evk.h | 2 +- include/configs/mx28evk.h | 2 +- include/configs/mx51evk.h | 2 +- include/configs/mx53cx9020.h | 2 +- include/configs/mx53loco.h | 2 +- include/configs/mx53ppd.h | 2 +- include/configs/mx6cuboxi.h | 2 +- include/configs/mx6memcal.h | 2 +- include/configs/mx6sabre_common.h | 2 +- include/configs/mx6slevk.h | 2 +- include/configs/mx6sllevk.h | 2 +- include/configs/mx6sxsabreauto.h | 2 +- include/configs/mx6sxsabresd.h | 2 +- include/configs/mx6ul_14x14_evk.h | 2 +- include/configs/mx6ullevk.h | 2 +- include/configs/mx7dsabresd.h | 2 +- include/configs/mx7ulp_com.h | 2 +- include/configs/mx7ulp_evk.h | 2 +- include/configs/mys_6ulx.h | 2 +- include/configs/nitrogen6x.h | 2 +- include/configs/nokia_rx51.h | 4 +- include/configs/novena.h | 2 +- include/configs/npi_imx6ull.h | 2 +- include/configs/nsim.h | 4 +- include/configs/o4-imx6ull-nano.h | 2 +- include/configs/octeon_common.h | 2 +- include/configs/octeontx2_common.h | 2 +- include/configs/octeontx_common.h | 2 +- include/configs/odroid.h | 4 +- include/configs/odroid_xu3.h | 2 +- include/configs/omapl138_lcdk.h | 2 +- include/configs/openpiton-riscv64.h | 2 +- include/configs/opos6uldev.h | 2 +- include/configs/origen.h | 4 +- include/configs/owl-common.h | 2 +- include/configs/p1_p2_rdb_pc.h | 8 ++-- include/configs/pcl063.h | 2 +- include/configs/pcl063_ull.h | 2 +- include/configs/pcm052.h | 2 +- include/configs/pcm058.h | 2 +- include/configs/peach-pi.h | 2 +- include/configs/peach-pit.h | 2 +- include/configs/phycore_imx8mm.h | 2 +- include/configs/phycore_imx8mp.h | 2 +- include/configs/pic32mzdask.h | 2 +- include/configs/pico-imx6.h | 2 +- include/configs/pico-imx6ul.h | 2 +- include/configs/pico-imx7d.h | 2 +- include/configs/pico-imx8mq.h | 2 +- include/configs/pm9261.h | 26 +++++----- include/configs/pm9263.h | 26 +++++----- include/configs/pm9g45.h | 4 +- include/configs/poleg.h | 2 +- include/configs/pomelo.h | 2 +- include/configs/presidio_asic.h | 2 +- include/configs/px30_common.h | 2 +- include/configs/qemu-arm.h | 2 +- include/configs/qemu-ppce500.h | 2 +- include/configs/qemu-riscv.h | 2 +- include/configs/r2dplus.h | 4 +- include/configs/rcar-gen2-common.h | 4 +- include/configs/rcar-gen3-common.h | 4 +- include/configs/rk3036_common.h | 2 +- include/configs/rk3066_common.h | 2 +- include/configs/rk3128_common.h | 2 +- include/configs/rk3188_common.h | 2 +- include/configs/rk322x_common.h | 2 +- include/configs/rk3288_common.h | 2 +- include/configs/rk3308_common.h | 2 +- include/configs/rk3328_common.h | 2 +- include/configs/rk3368_common.h | 2 +- include/configs/rk3399_common.h | 2 +- include/configs/rk3568_common.h | 2 +- include/configs/rpi.h | 4 +- include/configs/rv1108_common.h | 2 +- include/configs/s5p4418_nanopi2.h | 4 +- include/configs/s5p_goni.h | 4 +- include/configs/s5pc210_universal.h | 4 +- include/configs/sam9x60_curiosity.h | 4 +- include/configs/sam9x60ek.h | 4 +- include/configs/sama5d27_wlsom1_ek.h | 4 +- include/configs/sama5d2_icp.h | 4 +- include/configs/sama5d2_ptc_ek.h | 4 +- include/configs/sama5d3_xplained.h | 4 +- include/configs/sama5d3xek.h | 4 +- include/configs/sama5d4_xplained.h | 4 +- include/configs/sama5d4ek.h | 4 +- include/configs/sama7g5ek.h | 4 +- include/configs/sandbox.h | 4 +- include/configs/siemens-am33x-common.h | 2 +- include/configs/sifive-unleashed.h | 2 +- include/configs/sifive-unmatched.h | 2 +- include/configs/sipeed-maix.h | 4 +- include/configs/smartweb.h | 4 +- include/configs/smdk5420.h | 2 +- include/configs/smdkc100.h | 4 +- include/configs/smdkv310.h | 10 ++-- include/configs/smegw01.h | 2 +- include/configs/snapper9g45.h | 4 +- include/configs/sniper.h | 2 +- include/configs/socfpga_common.h | 2 +- include/configs/socfpga_soc64_common.h | 2 +- include/configs/socrates.h | 4 +- include/configs/somlabs_visionsom_6ull.h | 2 +- include/configs/stih410-b2260.h | 2 +- include/configs/stm32mp13_common.h | 2 +- include/configs/stm32mp15_common.h | 2 +- include/configs/stmark2.h | 14 +++--- include/configs/stv0991.h | 2 +- include/configs/sunxi-common.h | 8 ++-- include/configs/synquacer.h | 2 +- include/configs/taurus.h | 4 +- include/configs/tb100.h | 4 +- include/configs/tbs2910.h | 2 +- include/configs/tegra-common.h | 2 +- include/configs/theadorable.h | 2 +- include/configs/thunderx_88xx.h | 4 +- include/configs/ti814x_evm.h | 2 +- include/configs/ti816x_evm.h | 2 +- include/configs/ti_armv7_common.h | 2 +- include/configs/total_compute.h | 2 +- include/configs/tplink_wdr4300.h | 2 +- include/configs/tqma6.h | 2 +- include/configs/trats.h | 4 +- include/configs/trats2.h | 4 +- include/configs/turris_mox.h | 2 +- include/configs/udoo.h | 2 +- include/configs/udoo_neo.h | 2 +- include/configs/usb_a9263.h | 4 +- include/configs/usbarmory.h | 2 +- include/configs/vcoreiii.h | 8 ++-- include/configs/verdin-imx8mm.h | 2 +- include/configs/verdin-imx8mp.h | 2 +- include/configs/vexpress_aemv8.h | 2 +- include/configs/vexpress_common.h | 2 +- include/configs/vf610twr.h | 2 +- include/configs/vinco.h | 4 +- include/configs/vining_2000.h | 2 +- include/configs/vocore2.h | 2 +- include/configs/wandboard.h | 2 +- include/configs/warp7.h | 2 +- include/configs/work_92105.h | 4 +- include/configs/xea.h | 2 +- include/configs/xenguest_arm64.h | 2 +- include/configs/xilinx_zynqmp_mini_nand.h | 4 +- include/configs/xpress.h | 2 +- include/configs/xtfpga.h | 10 ++-- include/init.h | 4 +- include/system-constants.h | 2 +- post/drivers/memory.c | 2 +- test/dm/remoteproc.c | 6 +-- 589 files changed, 1197 insertions(+), 1197 deletions(-)
README +1 -1
@@ -1441,7 +1441,7 @@ Configuration Settings: the RAM base is not zero, or RAM is divided into banks, this variable needs to be recalcuated to get the address. -- CONFIG_SYS_SDRAM_BASE: +- CFG_SYS_SDRAM_BASE: Physical start address of SDRAM. _Must_ be 0 here. - CONFIG_SYS_FLASH_BASE:
arch/arc/lib/cache.c +2 -2
@@ -476,9 +476,9 @@ static void __slc_rgn_op(unsigned long paddr, unsigned long sz, const int op)static void arc_ioc_setup (void ) {/* IOC Aperture start is equal to DDR start */ -unsigned int ap_base =CONFIG_SYS_SDRAM_BASE ; +unsigned int ap_base =CFG_SYS_SDRAM_BASE ;/* IOC Aperture size is equal to DDR size */ -long ap_size =CONFIG_SYS_SDRAM_SIZE ; +long ap_size =CFG_SYS_SDRAM_SIZE ;/* Unsupported configuration. See [ NOTE 2 ] for more details. */ if (!slc_exists ())
arch/arc/lib/cpu.c +1 -1
@@ -20,7 +20,7 @@ int arch_cpu_init(void)timer_init (); gd->cpu_clk =get_board_sys_clk (); - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;cache_init ();
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c +1 -1
@@ -29,7 +29,7 @@*/ static void __secure ls1_save_ddr_head(void) { -const char *src = (const char *)CONFIG_SYS_SDRAM_BASE ; +const char *src = (const char *)CFG_SYS_SDRAM_BASE ;char *dest = (char *)(OCRAM_BASE_S_ADDR +OCRAM_S_SIZE -DDR_RESV_LEN );struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_FSL_SCFG_ADDR ;int i;
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +3 -3
@@ -1441,7 +1441,7 @@ int dram_init_banksize(void) }#endif - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ;if (gd->ram_size >CONFIG_SYS_DDR_BLOCK1_SIZE ) { gd->bd->bi_dram[0 ].size =CONFIG_SYS_DDR_BLOCK1_SIZE ; gd->bd->bi_dram[1 ].start =CONFIG_SYS_DDR_BLOCK2_BASE ;
@@ -1571,7 +1571,7 @@ void update_early_mmu_table(void)if (gd->ram_size <=CONFIG_SYS_FSL_DRAM_SIZE1 ) { mmu_change_region_attr( - CONFIG_SYS_SDRAM_BASE, + CFG_SYS_SDRAM_BASE, gd->ram_size, PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_OUTER_SHARE |
@@ -1579,7 +1579,7 @@ void update_early_mmu_table(void) PTE_TYPE_VALID); }else { mmu_change_region_attr( - CONFIG_SYS_SDRAM_BASE, + CFG_SYS_SDRAM_BASE, CONFIG_SYS_DDR_BLOCK1_SIZE, PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_OUTER_SHARE |
arch/arm/dts/rockchip-optee.dtsi +2 -2
@@ -32,8 +32,8 @@ arch = "arm"; os = "tee"; compression = "none"; - load = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; - entry = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; + load = <(CFG_SYS_SDRAM_BASE + 0x8400000)>; + entry = <(CFG_SYS_SDRAM_BASE + 0x8400000)>; blob-ext { filename = "tee.bin";
arch/arm/include/asm/emif.h +1 -1
@@ -583,7 +583,7 @@ (DMM_SDRC_MAP_EMIF1_AND_EMIF2 << EMIF_SDRC_MAP_SHIFT) |\ (DMM_SDRC_ADDR_SPC_SDRAM << EMIF_SDRC_ADDRSPC_SHIFT) |\ (DMM_SDRC_INTL_128B << EMIF_SDRC_INTL_SHIFT) |\ - (CONFIG_SYS_SDRAM_BASE << EMIF_SYS_ADDR_SHIFT)) + (CFG_SYS_SDRAM_BASE << EMIF_SYS_ADDR_SHIFT))#define DMM_LISA_MAP_EMIF1_ONLY_BASE_VAL (\ (DMM_SDRC_MAP_EMIF1_ONLY << EMIF_SDRC_MAP_SHIFT)|\
arch/arm/include/asm/iproc-common/configs.h +1 -1
@@ -12,6 +12,6 @@#define CONFIG_IPROC /* Memory Info */ -#define CONFIG_SYS_SDRAM_BASE 0x61000000 +#define CFG_SYS_SDRAM_BASE 0x61000000#endif /* __IPROC_COMMON_CONFIGS_H */
arch/arm/mach-aspeed/ast2500/board_common.c +1 -1
@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
arch/arm/mach-aspeed/ast2600/board_common.c +1 -1
@@ -54,7 +54,7 @@ int board_init(void)int i =0 , rc;struct udevice *dev; - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;while (1 ) { rc =uclass_get_device (UCLASS_MISC , i++, &dev);
arch/arm/mach-at91/arm920t/lowlevel_init.S +24 -24
62 lines not on this page · raw message
arch/arm/mach-at91/arm926ejs/lowlevel_init.S +24 -24
62 lines not on this page · raw message
arch/arm/mach-davinci/misc.c +2 -2
@@ -26,14 +26,14 @@ int dram_init(void) {/* dram_init must store complete ramsize in gd->ram_size */ gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , + (void *)CFG_SYS_SDRAM_BASE ,CONFIG_MAX_RAM_BANK_SIZE );return 0 ; }int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
arch/arm/mach-exynos/dmc_init_ddr3.c +1 -1
@@ -236,7 +236,7 @@ int ddr3_mem_ctrl_init(struct mem_timings *mem, int reset)* better have similar timings, since there's only a single adjustment that is * shared by both chips). */ -const unsigned int test_addr =CONFIG_SYS_SDRAM_BASE ; +const unsigned int test_addr =CFG_SYS_SDRAM_BASE ;/* Test pattern with which RAM will be tested */ static const unsigned int test_pattern[] = {
arch/arm/mach-imx/imx8m/soc.c +1 -1
@@ -178,7 +178,7 @@ static unsigned int imx8m_find_dram_entry_in_mem_map(void)int i;for (i =0 ; i <ARRAY_SIZE (imx8m_mem_map); i++) -if (imx8m_mem_map[i].phys ==CONFIG_SYS_SDRAM_BASE ) +if (imx8m_mem_map[i].phys ==CFG_SYS_SDRAM_BASE )return i;hang ();/* Entry not found, this must never happen. */
arch/arm/mach-imx/imx8ulp/soc.c +1 -1
@@ -373,7 +373,7 @@ static unsigned int imx8ulp_find_dram_entry_in_mem_map(void)int i;for (i =0 ; i <ARRAY_SIZE (imx8ulp_arm64_mem_map); i++) -if (imx8ulp_arm64_mem_map[i].phys ==CONFIG_SYS_SDRAM_BASE ) +if (imx8ulp_arm64_mem_map[i].phys ==CFG_SYS_SDRAM_BASE )return i;hang ();/* Entry not found, this must never happen. */
arch/arm/mach-imx/mx6/litesom.c +1 -1
@@ -172,7 +172,7 @@ static void spl_dram_init(void)* Get actual RAM size, so we can adjust DDR row size for <512M * memories */ - ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,SZ_512M ); + ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,SZ_512M );if (ram_size <SZ_512M ) { mem_ddr.rowaddr =14 ;mx6_dram_cfg (&ddr_sysinfo, &mx6_mmcd_calib, &mem_ddr);
arch/arm/mach-imx/mx6/opos6ul.c +1 -1
@@ -44,7 +44,7 @@ static int setup_fec(void)int board_init (void ) {/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_FEC_MXC setup_fec ();
arch/arm/mach-imx/spl.c +1 -1
@@ -349,7 +349,7 @@ void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len)#if defined(CONFIG_MX6 ) && defined(CONFIG_SPL_OS_BOOT )int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =imx_ddr_size ();return 0 ;
arch/arm/mach-k3/common.c +1 -1
@@ -561,7 +561,7 @@ void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size)void spl_enable_dcache (void ) {#if !(defined(CONFIG_SYS_ICACHE_OFF ) && defined(CONFIG_SYS_DCACHE_OFF )) -phys_addr_t ram_top =CONFIG_SYS_SDRAM_BASE ; +phys_addr_t ram_top =CFG_SYS_SDRAM_BASE ;dram_init ();
arch/arm/mach-k3/r5_mpu.c +1 -1
@@ -24,7 +24,7 @@ struct mpu_region_config k3_mpu_regions[16] = { O_I_WB_RD_WR_ALLOC, REGION_8MB},/* U-Boot's code area marking it as WB and Write allocate */ - {CONFIG_SYS_SDRAM_BASE, REGION_2, XN_DIS, PRIV_RW_USR_RW, + {CFG_SYS_SDRAM_BASE, REGION_2, XN_DIS, PRIV_RW_USR_RW, O_I_WB_RD_WR_ALLOC, REGION_2GB},/* mcu_r5fss0_core0 BTCM area marking it as WB and Write allocate. */ {0x41010000, 3, XN_DIS, PRIV_RW_USR_RW, O_I_WB_RD_WR_ALLOC,
arch/arm/mach-keystone/ddr3.c +1 -1
@@ -318,7 +318,7 @@ void ddr3_init_ecc(u32 base, u32 ddr3_size) }ddr3_ecc_init_range (base); -ddr3_reset_data (CONFIG_SYS_SDRAM_BASE , ddr3_size); +ddr3_reset_data (CFG_SYS_SDRAM_BASE , ddr3_size);/* mapping DDR3 ECC system interrupt from CIC2 to GIC */ #if defined(CONFIG_SOC_K2HK ) || defined(CONFIG_SOC_K2L )
arch/arm/mach-mediatek/mt7623/init.c +2 -2
@@ -25,7 +25,7 @@ int dram_init(void) { u32 i; - if (((size_t)preloader_param >= CONFIG_SYS_SDRAM_BASE) && + if (((size_t)preloader_param >= CFG_SYS_SDRAM_BASE) && ((size_t)preloader_param % sizeof(size_t) == 0) && preloader_param->magic == BOOT_ARGUMENT_MAGIC && preloader_param->dram_rank_num <=
@@ -35,7 +35,7 @@ int dram_init(void)for (i =0 ; i < preloader_param->dram_rank_num; i++) gd->ram_size += preloader_param->dram_rank_size[i]; }else { - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE ,SZ_2G ); }
arch/arm/mach-mediatek/mt7981/init.c +1 -1
@@ -14,7 +14,7 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,SZ_2G ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,SZ_2G );return 0 ; }
arch/arm/mach-mediatek/mt7986/init.c +1 -1
@@ -14,7 +14,7 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,SZ_2G ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,SZ_2G );return 0 ; }
arch/arm/mach-mvebu/alleycat5/cpu.c +3 -3
@@ -21,8 +21,8 @@ DECLARE_GLOBAL_DATA_PTR;static struct mm_region ac5_mem_map[] = { {/* RAM */ - .phys =CONFIG_SYS_SDRAM_BASE , - .virt =CONFIG_SYS_SDRAM_BASE , + .phys =CFG_SYS_SDRAM_BASE , + .virt =CFG_SYS_SDRAM_BASE , .attrs =PTE_BLOCK_MEMTYPE (MT_NORMAL ) |PTE_BLOCK_INNER_SHARE },
@@ -102,7 +102,7 @@ int alleycat5_dram_init_banksize(void)/* * Config single DRAM bank */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
arch/arm/mach-mvebu/arm64-common.c +1 -1
@@ -32,7 +32,7 @@ DECLARE_GLOBAL_DATA_PTR;phys_size_t board_get_usable_ram_top (phys_size_t total_size) { -unsigned long top =CONFIG_SYS_SDRAM_BASE +min (gd->ram_size,USABLE_RAM_SIZE ); +unsigned long top =CFG_SYS_SDRAM_BASE +min (gd->ram_size,USABLE_RAM_SIZE );return (gd->ram_top > top) ? top : gd->ram_top; }
arch/arm/mach-mvebu/armada8k/dram.c +1 -1
@@ -38,7 +38,7 @@ int a8k_dram_init_banksize(void)*/ phys_size_t max_bank0_size =SZ_4G -SZ_1G ; - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ;if (gd->ram_size <= max_bank0_size) { gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
arch/arm/mach-omap2/am33xx/board.c +3 -3
@@ -72,14 +72,14 @@ int dram_init(void)/* dram_init must store complete ramsize in gd->ram_size */ gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , + (void *)CFG_SYS_SDRAM_BASE ,CONFIG_MAX_RAM_BANK_SIZE );return 0 ; }int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
@@ -520,7 +520,7 @@ void board_init_f(ulong dummy)sdram_init ();/* dram_init must store complete ramsize in gd->ram_size */ gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , + (void *)CFG_SYS_SDRAM_BASE , CONFIG_MAX_RAM_BANK_SIZE); }#endif
arch/arm/mach-omap2/emif-common.c +4 -4
@@ -389,7 +389,7 @@ static void dra7_enable_ecc(u32 base, const struct emif_regs *regs)/* Set region1 memory with 0 */ rgn_start = (regs->emif_ecc_address_range_1 &EMIF_ECC_REG_ECC_START_ADDR_MASK ) <<16 ; - rgn = rgn_start +CONFIG_SYS_SDRAM_BASE ; + rgn = rgn_start +CFG_SYS_SDRAM_BASE ; size = (regs->emif_ecc_address_range_1 &EMIF_ECC_REG_ECC_END_ADDR_MASK ) +0x10000 - rgn_start;
@@ -400,7 +400,7 @@ static void dra7_enable_ecc(u32 base, const struct emif_regs *regs)/* Set region2 memory with 0 */ rgn_start = (regs->emif_ecc_address_range_2 &EMIF_ECC_REG_ECC_START_ADDR_MASK ) <<16 ; - rgn = rgn_start +CONFIG_SYS_SDRAM_BASE ; + rgn = rgn_start +CFG_SYS_SDRAM_BASE ; size = (regs->emif_ecc_address_range_2 &EMIF_ECC_REG_ECC_END_ADDR_MASK ) +0x10000 - rgn_start;
@@ -1340,7 +1340,7 @@ void dmm_init(u32 base) mapped_size =0 ; section_cnt =3 ; - sys_addr =CONFIG_SYS_SDRAM_BASE ; + sys_addr =CFG_SYS_SDRAM_BASE ; emif1_size =get_emif_mem_size (EMIF1_BASE ); emif2_size =get_emif_mem_size (EMIF2_BASE );debug ("emif1_size 0x%x emif2_size 0x%x\n" , emif1_size, emif2_size);
@@ -1568,7 +1568,7 @@ void sdram_init(void) size_prog =log_2_n_round_down (size_prog); size_prog = (1 << size_prog); - size_detect =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , + size_detect =get_ram_size ((long *)CFG_SYS_SDRAM_BASE , size_prog);/* Compare with the size programmed */ if (size_detect != size_prog) {
arch/arm/mach-omap2/sec-common.c +2 -2
@@ -198,11 +198,11 @@ u32 get_sec_mem_start(void)*/ if (sec_mem_start ==0 ) sec_mem_start = - (CONFIG_SYS_SDRAM_BASE + ( + (CFG_SYS_SDRAM_BASE + ( #if defined(CONFIG_OMAP54XX) omap_sdram_size() #else - get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, + get_ram_size((void *)CFG_SYS_SDRAM_BASE, CONFIG_MAX_RAM_BANK_SIZE) #endif - sec_mem_size));
arch/arm/mach-owl/soc.c +1 -1
@@ -50,7 +50,7 @@ int dram_init(void)/* This is called after dram_init() so use get_ram_size result */ int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
arch/arm/mach-rockchip/sdram.c +8 -8
@@ -37,7 +37,7 @@ struct tos_parameter_t {int dram_init_banksize (void ) { -size_t top =min ((unsigned long )(gd->ram_size +CONFIG_SYS_SDRAM_BASE ), +size_t top =min ((unsigned long )(gd->ram_size +CFG_SYS_SDRAM_BASE ), (unsigned long )(gd->ram_top));#ifdef CONFIG_ARM64
@@ -48,26 +48,26 @@ int dram_init_banksize(void)#ifdef CONFIG_SPL_OPTEE_IMAGE struct tos_parameter_t *tos_parameter; - tos_parameter = (struct tos_parameter_t *)(CONFIG_SYS_SDRAM_BASE + + tos_parameter = (struct tos_parameter_t *)(CFG_SYS_SDRAM_BASE +TRUST_PARAMETER_OFFSET );if (tos_parameter->tee_mem.flags ==1 ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = tos_parameter->tee_mem.phy_addr - -CONFIG_SYS_SDRAM_BASE ; + -CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[1 ].start = tos_parameter->tee_mem.phy_addr + tos_parameter->tee_mem.size; gd->bd->bi_dram[1 ].size = top - gd->bd->bi_dram[1 ].start; }else { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =0x8400000 ;/* Reserve 32M for OPTEE with TA */ - gd->bd->bi_dram[1 ].start =CONFIG_SYS_SDRAM_BASE + gd->bd->bi_dram[1 ].start =CFG_SYS_SDRAM_BASE + gd->bd->bi_dram[0 ].size +0x2000000 ; gd->bd->bi_dram[1 ].size = top - gd->bd->bi_dram[1 ].start; }#else - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = top - gd->bd->bi_dram[0 ].start;#endif #endif
@@ -207,7 +207,7 @@ int dram_init(void)phys_size_t board_get_usable_ram_top (phys_size_t total_size) { -unsigned long top =CONFIG_SYS_SDRAM_BASE +SDRAM_MAX_SIZE ; +unsigned long top =CFG_SYS_SDRAM_BASE +SDRAM_MAX_SIZE ;return (gd->ram_top > top) ? top : gd->ram_top; }
arch/arm/mach-socfpga/board.c +1 -1
@@ -46,7 +46,7 @@ void s_init(void) {int board_init (void ) {/* Address of boot parameters for ATAG (if ATAG is used) */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
arch/arm/mach-sunxi/dram_helpers.c +4 -4
@@ -33,11 +33,11 @@ void mctl_await_completion(u32 *reg, u32 mask, u32 val)bool mctl_mem_matches (u32 offset) {/* Try to write different values to RAM at two addresses */ -writel (0 ,CONFIG_SYS_SDRAM_BASE ); -writel (0xaa55aa55 , (ulong )CONFIG_SYS_SDRAM_BASE + offset); +writel (0 ,CFG_SYS_SDRAM_BASE ); +writel (0xaa55aa55 , (ulong )CFG_SYS_SDRAM_BASE + offset);dsb ();/* Check if the same value is actually observed when reading back */ -return readl (CONFIG_SYS_SDRAM_BASE ) == -readl ((ulong )CONFIG_SYS_SDRAM_BASE + offset); +return readl (CFG_SYS_SDRAM_BASE ) == +readl ((ulong )CFG_SYS_SDRAM_BASE + offset); }#endif
arch/arm/mach-sunxi/dram_suniv.c +10 -10
@@ -175,9 +175,9 @@ static int sdr_readpipe_scan(void)u32 k =0 ;for (k =0 ; k <32 ; k++) -writel (k,CONFIG_SYS_SDRAM_BASE +4 * k); +writel (k,CFG_SYS_SDRAM_BASE +4 * k);for (k =0 ; k <32 ; k++) { -if (readl (CONFIG_SYS_SDRAM_BASE +4 * k) != k) +if (readl (CFG_SYS_SDRAM_BASE +4 * k) != k)return 0 ; }return 1 ;
@@ -266,11 +266,11 @@ static u32 dram_get_dram_size(struct dram_para *para)dram_para_setup (para);dram_scan_readpipe (para);for (i =0 ; i <32 ; i++) { - *((u8 *)(CONFIG_SYS_SDRAM_BASE +0x200 + i)) =0x11 ; - *((u8 *)(CONFIG_SYS_SDRAM_BASE +0x600 + i)) =0x22 ; + *((u8 *)(CFG_SYS_SDRAM_BASE +0x200 + i)) =0x11 ; + *((u8 *)(CFG_SYS_SDRAM_BASE +0x600 + i)) =0x22 ; }for (i =0 ; i <32 ; i++) { - val1 = *((u8 *)(CONFIG_SYS_SDRAM_BASE +0x200 + i)); + val1 = *((u8 *)(CFG_SYS_SDRAM_BASE +0x200 + i));if (val1 ==0x22 ) count++; }
@@ -283,11 +283,11 @@ static u32 dram_get_dram_size(struct dram_para *para) para->row_width = rowflag;dram_para_setup (para);if (colflag ==10 ) { - addr1 =CONFIG_SYS_SDRAM_BASE +0x400000 ; - addr2 =CONFIG_SYS_SDRAM_BASE +0xc00000 ; + addr1 =CFG_SYS_SDRAM_BASE +0x400000 ; + addr2 =CFG_SYS_SDRAM_BASE +0xc00000 ; }else { - addr1 =CONFIG_SYS_SDRAM_BASE +0x200000 ; - addr2 =CONFIG_SYS_SDRAM_BASE +0x600000 ; + addr1 =CFG_SYS_SDRAM_BASE +0x200000 ; + addr2 =CFG_SYS_SDRAM_BASE +0x600000 ; }for (i =0 ; i <32 ; i++) { *((u8 *)(addr1 + i)) =0x33 ;
@@ -319,7 +319,7 @@ static u32 dram_get_dram_size(struct dram_para *para)static void simple_dram_check (void ) { -volatile u32 *dram = (u32 *)CONFIG_SYS_SDRAM_BASE ; +volatile u32 *dram = (u32 *)CFG_SYS_SDRAM_BASE ;int i;for (i =0 ; i <0x40 ; i++)
arch/arm/mach-sunxi/dram_sunxi_dw.c +3 -3
@@ -711,7 +711,7 @@ static unsigned long mctl_calc_rank_size(struct rank_para *rank)*/ static void mctl_r40_detect_rank_count (struct dram_para *para) { -ulong rank1_base = (ulong )CONFIG_SYS_SDRAM_BASE + +ulong rank1_base = (ulong )CFG_SYS_SDRAM_BASE +mctl_calc_rank_size (¶->ranks[0 ]);struct sunxi_mctl_ctl_reg *const mctl_ctl = (struct sunxi_mctl_ctl_reg *)SUNXI_DRAM_CTL0_BASE ;
@@ -744,10 +744,10 @@ static void mctl_r40_detect_rank_count(struct dram_para *para)static void mctl_auto_detect_dram_size (uint16_t socid,struct dram_para *para) { -mctl_auto_detect_dram_size_rank (socid, para, (ulong )CONFIG_SYS_SDRAM_BASE , ¶->ranks[0 ]); +mctl_auto_detect_dram_size_rank (socid, para, (ulong )CFG_SYS_SDRAM_BASE , ¶->ranks[0 ]);if ((socid ==SOCID_A64 || socid ==SOCID_R40 ) && para->dual_rank) { -mctl_auto_detect_dram_size_rank (socid, para, (ulong )CONFIG_SYS_SDRAM_BASE +mctl_calc_rank_size (¶->ranks[0 ]), ¶->ranks[1 ]); +mctl_auto_detect_dram_size_rank (socid, para, (ulong )CFG_SYS_SDRAM_BASE +mctl_calc_rank_size (¶->ranks[0 ]), ¶->ranks[1 ]); } }
arch/arm/mach-tegra/board2.c +2 -2
@@ -370,7 +370,7 @@ int dram_init_banksize(void)/* fall back to default DRAM bank size computation */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =usable_ram_size_below_4g ();#ifdef CONFIG_PCI
@@ -412,5 +412,5 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size)/* fall back to default usable RAM computation */ -return CONFIG_SYS_SDRAM_BASE +usable_ram_size_below_4g (); +return CFG_SYS_SDRAM_BASE +usable_ram_size_below_4g (); }
arch/arm/mach-zynq/cpu.c +1 -1
@@ -54,7 +54,7 @@ int arch_cpu_init(void)writel (0x757BDF0D , &devcfg_base->unlock);writel (0xFFFFFFFF , &devcfg_base->rom_shadow); -#if (CONFIG_SYS_SDRAM_BASE ==0 ) +#if (CFG_SYS_SDRAM_BASE ==0 )/* remap DDR to zero, FILTERSTART */ writel (0 , &scu_base->filter_start);
arch/m68k/cpu/mcf532x/speed.c +1 -1
@@ -239,7 +239,7 @@ int clock_pll(int fsys, int flags)* software workaround for SDRAM opeartion after exiting LIMP * mode errata */ -out_be32 (sdram_workaround,CONFIG_SYS_SDRAM_BASE ); +out_be32 (sdram_workaround,CFG_SYS_SDRAM_BASE );#endif /* wait for DQS logic to relock */
arch/m68k/include/asm/immap.h +2 -2
@@ -338,9 +338,9 @@#ifdef CONFIG_PCI #define CFG_SYS_PCI_BAR0 (0x40000000) -#define CFG_SYS_PCI_BAR1 (CONFIG_SYS_SDRAM_BASE) +#define CFG_SYS_PCI_BAR1 (CFG_SYS_SDRAM_BASE)#define CFG_SYS_PCI_TBATR0 (CONFIG_SYS_MBAR) -#define CFG_SYS_PCI_TBATR1 (CONFIG_SYS_SDRAM_BASE) +#define CFG_SYS_PCI_TBATR1 (CFG_SYS_SDRAM_BASE)#endif #endif /* CONFIG_M547x */
arch/m68k/lib/traps.c +1 -1
@@ -62,7 +62,7 @@ static void trap_init(ulong value) {int arch_initr_trap (void ) { -trap_init (CONFIG_SYS_SDRAM_BASE ); +trap_init (CFG_SYS_SDRAM_BASE );return 0 ; }
arch/mips/lib/traps.c +1 -1
@@ -135,7 +135,7 @@ void trap_restore(void)int arch_initr_trap (void ) { -trap_init (CONFIG_SYS_SDRAM_BASE ); +trap_init (CFG_SYS_SDRAM_BASE );return 0 ; }
arch/mips/mach-jz47xx/jz4780/jz4780.c +1 -1
@@ -78,7 +78,7 @@ void board_init_f(ulong dummy)phys_size_t board_get_usable_ram_top (phys_size_t total_size) { -return CONFIG_SYS_SDRAM_BASE + (256 *1024 *1024 ); +return CFG_SYS_SDRAM_BASE + (256 *1024 *1024 ); }int print_cpuinfo (void )
arch/mips/mach-mscc/cpu.c +4 -4
@@ -17,16 +17,16 @@DECLARE_GLOBAL_DATA_PTR ; -#if CONFIG_SYS_SDRAM_SIZE <=SZ_64M +#if CFG_SYS_SDRAM_SIZE <=SZ_64M #define MSCC_RAM_TLB_SIZE SZ_64M#define MSCC_ATTRIB2 MMU_REGIO_INVAL -#elif CONFIG_SYS_SDRAM_SIZE <=SZ_128M +#elif CFG_SYS_SDRAM_SIZE <=SZ_128M #define MSCC_RAM_TLB_SIZE SZ_64M#define MSCC_ATTRIB2 MMU_REGIO_RW -#elif CONFIG_SYS_SDRAM_SIZE <=SZ_256M +#elif CFG_SYS_SDRAM_SIZE <=SZ_256M #define MSCC_RAM_TLB_SIZE SZ_256M#define MSCC_ATTRIB2 MMU_REGIO_INVAL -#elif CONFIG_SYS_SDRAM_SIZE <=SZ_512M +#elif CFG_SYS_SDRAM_SIZE <=SZ_512M #define MSCC_RAM_TLB_SIZE SZ_256M#define MSCC_ATTRIB2 MMU_REGIO_RW#else
arch/mips/mach-mscc/dram.c +1 -1
@@ -67,6 +67,6 @@ int print_cpuinfo(void)int dram_init (void ) { - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
arch/mips/mach-mscc/include/mach/ddr.h +1 -1
@@ -13,7 +13,7 @@#include <mach/common.h> #define MIPS_VCOREIII_MEMORY_DDR3 -#define MIPS_VCOREIII_DDR_SIZE CONFIG_SYS_SDRAM_SIZE +#define MIPS_VCOREIII_DDR_SIZE CFG_SYS_SDRAM_SIZE#if defined(CONFIG_DDRTYPE_H5TQ1G63BFA )/* Serval1 Refboard */
arch/mips/mach-mtmips/mt7621/spl/start.S +1 -1
@@ -18,7 +18,7 @@ #include "dram.h" #ifndef CONFIG_SYS_INIT_SP_ADDR -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \ +#define CONFIG_SYS_INIT_SP_ADDR (CFG_SYS_SDRAM_BASE + \ CONFIG_SYS_INIT_SP_OFFSET) #endif
arch/mips/mach-octeon/dram.c +1 -1
@@ -81,7 +81,7 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size) {if (IS_ENABLED (CONFIG_RAM_OCTEON )) {/* Map a maximum of 256MiB - return not size but address */ -return CONFIG_SYS_SDRAM_BASE +min (gd->ram_size, +return CFG_SYS_SDRAM_BASE +min (gd->ram_size,UBOOT_RAM_SIZE_MAX ); }else {return gd->ram_top;
arch/nios2/cpu/cpu.c +1 -1
@@ -73,7 +73,7 @@ static int nios_cpu_setup(void *ctx, struct event *event)if (ret)return ret; - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;#ifndef CONFIG_ROM_STUBS copy_exception_trampoline ();#endif
arch/powerpc/cpu/mpc83xx/spd_sdram.c +1 -1
@@ -288,7 +288,7 @@ long int spd_sdram()/* * Set up LAWBAR for all of DDR. */ - ecm->bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; + ecm->bar =CFG_SYS_SDRAM_BASE &0xfffff000 ; ecm->ar = (LAWAR_EN |LAWAR_TRGT_IF_DDR | (LAWAR_SIZE & law_size));debug ("DDR:bar=0x%08x\n" , ecm->bar);debug ("DDR:ar=0x%08x\n" , ecm->ar);
arch/powerpc/cpu/mpc85xx/cpu.c +1 -1
@@ -424,7 +424,7 @@ int dram_init(void)defined (CONFIG_ARCH_QEMU_E500) gd->ram_size = fsl_ddr_sdram_size();#else - gd->ram_size = (phys_size_t )CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + gd->ram_size = (phys_size_t )CFG_SYS_SDRAM_SIZE *1024 *1024 ;#endif return 0 ;
arch/powerpc/cpu/mpc85xx/mp.c +1 -1
@@ -195,7 +195,7 @@ u32 determine_mp_bootpg(unsigned int *pagesize)/* use last 4K of mapped memory */ bootpg = ((gd->ram_size >CONFIG_MAX_MEM_MAPPED ) ?CONFIG_MAX_MEM_MAPPED : gd->ram_size) + -CONFIG_SYS_SDRAM_BASE -4096 ; +CFG_SYS_SDRAM_BASE -4096 ;if (pagesize) *pagesize =4096 ;
arch/powerpc/cpu/mpc8xxx/pamu_table.c +1 -1
@@ -16,7 +16,7 @@ void construct_pamu_addr_table(struct pamu_addr_tbl *tbl, int *num_entries)int j; tbl->start_addr[i] = - (uint64_t )virt_to_phys ((void *)CONFIG_SYS_SDRAM_BASE ); + (uint64_t )virt_to_phys ((void *)CFG_SYS_SDRAM_BASE ); tbl->size[i] = (phys_size_t)(min (gd->ram_size,CONFIG_MAX_MEM_MAPPED )); tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] -1 ;
arch/powerpc/lib/bootm.c +1 -1
@@ -126,7 +126,7 @@ void arch_lmb_reserve(struct lmb *lmb)#ifdef DEBUG if (((u64 )bootmap_base + bootm_size) > - (CONFIG_SYS_SDRAM_BASE + (u64 )gd->ram_size)) + (CFG_SYS_SDRAM_BASE + (u64 )gd->ram_size))puts ("WARNING: bootm_low + bootm_size exceed total memory\n" );if ((bootmap_base + bootm_size) >get_effective_memsize ())puts ("WARNING: bootm_low + bootm_size exceed eff. memory\n" );
arch/sandbox/cpu/state.c +1 -1
@@ -448,7 +448,7 @@ int state_init(void) { state = &main_state; - state->ram_size =CONFIG_SYS_SDRAM_SIZE ; + state->ram_size =CFG_SYS_SDRAM_SIZE ; state->ram_buf =os_malloc (state->ram_size);if (!state->ram_buf) {printf ("Out of memory\n" );
arch/sandbox/dts/sandbox.dts +1 -1
@@ -25,7 +25,7 @@ }; memory { - reg = <0 CONFIG_SYS_SDRAM_SIZE>; + reg = <0 CFG_SYS_SDRAM_SIZE>; }; reserved-memory {
arch/sandbox/dts/sandbox64.dts +1 -1
@@ -21,7 +21,7 @@ }; memory { - reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>; + reg = /bits/ 64 <0 CFG_SYS_SDRAM_SIZE>; }; reserved-memory {
arch/sh/cpu/u-boot.lds +1 -1
@@ -18,7 +18,7 @@ OUTPUT_ARCH(sh) MEMORY { - ram : ORIGIN = CONFIG_SYS_SDRAM_BASE, LENGTH = CONFIG_SYS_SDRAM_SIZE + ram : ORIGIN = CFG_SYS_SDRAM_BASE, LENGTH = CFG_SYS_SDRAM_SIZE } ENTRY(_start)
arch/sh/lib/board.c +2 -2
@@ -11,8 +11,8 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) { - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
arch/sh/lib/bootm.c +1 -1
@@ -88,7 +88,7 @@ int do_bootm_linux(int flag, int argc, char *const argv[],set_sh_linux_param ((unsigned long )param +ORIG_ROOT_DEV ,0x0200 );set_sh_linux_param ((unsigned long )param +LOADER_TYPE ,0x0001 );set_sh_linux_param ((unsigned long )param +INITRD_START , -GET_INITRD_START (images->rd_start,CONFIG_SYS_SDRAM_BASE )); +GET_INITRD_START (images->rd_start,CFG_SYS_SDRAM_BASE ));set_sh_linux_param ((unsigned long )param +INITRD_SIZE , images->rd_end - images->rd_start); }
arch/xtensa/cpu/cpu.c +1 -1
@@ -45,7 +45,7 @@ int print_cpuinfo(void)int arch_cpu_init (void ) { - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
board/BuR/brppt1/board.c +1 -1
@@ -150,7 +150,7 @@ int board_init(void)#if defined(CONFIG_HW_WATCHDOG )hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/BuS/eb_cpu5282/eb_cpu5282.c +10 -10
@@ -40,8 +40,8 @@ int dram_init(void)MCFSDRAMC_DCR =MCFSDRAMC_DCR_RTIM_6 |MCFSDRAMC_DCR_RC ((15 *CONFIG_SYS_CLK /1000000 ) >>4 ); asm (" nop" ); -#ifdef CONFIG_SYS_SDRAM_BASE0 -MCFSDRAMC_DACR0 =MCFSDRAMC_DACR_BASE (CONFIG_SYS_SDRAM_BASE0 )| +#ifdef CFG_SYS_SDRAM_BASE0 +MCFSDRAMC_DACR0 =MCFSDRAMC_DACR_BASE (CFG_SYS_SDRAM_BASE0 )|MCFSDRAMC_DACR_CASL (1 ) |MCFSDRAMC_DACR_CBM (3 ) |MCFSDRAMC_DACR_PS_32 ; asm (" nop" );
@@ -54,7 +54,7 @@ int dram_init(void)for (i =0 ; i <10 ; i++) asm (" nop" ); - *(unsigned long *)(CONFIG_SYS_SDRAM_BASE0 ) =0xA5A5A5A5 ; + *(unsigned long *)(CFG_SYS_SDRAM_BASE0 ) =0xA5A5A5A5 ; asm (" nop" );MCFSDRAMC_DACR0 |=MCFSDRAMC_DACR_RE ; asm (" nop" );
@@ -65,12 +65,12 @@ int dram_init(void)MCFSDRAMC_DACR0 |=MCFSDRAMC_DACR_IMRS ; asm (" nop" );/* write SDRAM mode register */ - *(unsigned long *)(CONFIG_SYS_SDRAM_BASE0 +0x80440 ) =0xA5A5A5A5 ; + *(unsigned long *)(CFG_SYS_SDRAM_BASE0 +0x80440 ) =0xA5A5A5A5 ; asm (" nop" ); - size +=CONFIG_SYS_SDRAM_SIZE0 *1024 *1024 ; + size +=CFG_SYS_SDRAM_SIZE0 *1024 *1024 ;#endif -#ifdef CONFIG_SYS_SDRAM_BASE1xx -MCFSDRAMC_DACR1 =MCFSDRAMC_DACR_BASE (CONFIG_SYS_SDRAM_BASE1 ) +#ifdef CFG_SYS_SDRAM_BASE1xx +MCFSDRAMC_DACR1 =MCFSDRAMC_DACR_BASE (CFG_SYS_SDRAM_BASE1 ) |MCFSDRAMC_DACR_CASL (1 ) |MCFSDRAMC_DACR_CBM (3 ) |MCFSDRAMC_DACR_PS_16 ;
@@ -79,15 +79,15 @@ int dram_init(void)MCFSDRAMC_DACR1 |=MCFSDRAMC_DACR_IP ; - *(unsigned short *) (CONFIG_SYS_SDRAM_BASE1 ) =0xA5A5 ; + *(unsigned short *) (CFG_SYS_SDRAM_BASE1 ) =0xA5A5 ;MCFSDRAMC_DACR1 |=MCFSDRAMC_DACR_RE ;for (i =0 ; i <2000 ; i++) asm (" nop" );MCFSDRAMC_DACR1 |=MCFSDRAMC_DACR_IMRS ; - *(unsigned int *) (CONFIG_SYS_SDRAM_BASE1 +0x220 ) =0xA5A5 ; - size +=CONFIG_SYS_SDRAM_SIZE1 *1024 *1024 ; + *(unsigned int *) (CFG_SYS_SDRAM_BASE1 +0x220 ) =0xA5A5 ; + size +=CFG_SYS_SDRAM_SIZE1 *1024 *1024 ;#endif gd->ram_size = size;
board/CZ.NIC/turris_mox/turris_mox.c +1 -1
@@ -139,7 +139,7 @@ int board_fix_fdt(void *blob)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/Marvell/mvebu_alleycat-5/board.c +1 -1
@@ -7,7 +7,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/Marvell/mvebu_armada-37xx/board.c +1 -1
@@ -80,7 +80,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/Marvell/mvebu_armada-8k/board.c +1 -1
@@ -150,7 +150,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/Marvell/octeontx/board.c +1 -1
@@ -63,7 +63,7 @@ int timer_init(void)int dram_init (void ) { gd->ram_size =smc_dram_size (0 ); - gd->ram_size -=CONFIG_SYS_SDRAM_BASE ; + gd->ram_size -=CFG_SYS_SDRAM_BASE ;mem_map_fill ();return 0 ;
board/Marvell/octeontx2/board.c +1 -1
@@ -105,7 +105,7 @@ int timer_init(void)int dram_init (void ) { gd->ram_size =smc_dram_size (0 ); - gd->ram_size -=CONFIG_SYS_SDRAM_BASE ; + gd->ram_size -=CFG_SYS_SDRAM_BASE ;mem_map_fill ();
board/Marvell/octeontx2_cn913x/board.c +1 -1
@@ -34,7 +34,7 @@ int board_early_init_r(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/armltd/integrator/integrator.c +3 -3
@@ -137,7 +137,7 @@ int misc_init_r (void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ;#ifdef CONFIG_CM_SPD_DETECT {extern void dram_query (void );
@@ -160,12 +160,12 @@ extern void dram_query(void);* */ sdram_shift = ((cm_reg_sdram &0x0000001C )/4 )%4 ; - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE + + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE +REMAPPED_FLASH_SZ , 0x01000000 << sdram_shift); }#else - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE + + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE +REMAPPED_FLASH_SZ ,PHYS_SDRAM_1_SIZE );#endif /* CM_SPD_DETECT */
board/armltd/vexpress/vexpress_common.c +1 -1
@@ -73,7 +73,7 @@ static void flash__init(void)int dram_init (void ) { gd->ram_size = -get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE ,PHYS_SDRAM_1_SIZE ); +get_ram_size ((long *)CFG_SYS_SDRAM_BASE ,PHYS_SDRAM_1_SIZE );return 0 ; }
board/astro/mcf5373l/mcf5373l.c +6 -6
@@ -39,12 +39,12 @@ int dram_init(void)* GPIO configuration for bus should be set correctly from reset, * so we do not care! First, set up address space: at this point, * we should be running from internal SRAM; -* so use CONFIG_SYS_SDRAM_BASE as the base address for SDRAM, +* so use CFG_SYS_SDRAM_BASE as the base address for SDRAM, * and do not care where it is */ -__raw_writel ((CONFIG_SYS_SDRAM_BASE &0xFFF00000 ) |0x00000018 , +__raw_writel ((CFG_SYS_SDRAM_BASE &0xFFF00000 ) |0x00000018 , &sdp->cs0); -__raw_writel ((CONFIG_SYS_SDRAM_BASE &0xFFF00000 ) |0x00000000 , +__raw_writel ((CFG_SYS_SDRAM_BASE &0xFFF00000 ) |0x00000000 , &sdp->cs1);/* * I am not sure from the data sheet, but it seems burst length
@@ -72,7 +72,7 @@ int dram_init(void)*/ __raw_writel (0x71462C00 , &sdp->ctrl);/* Dummy write to start SDRAM */ -writel (0 ,CONFIG_SYS_SDRAM_BASE ); +writel (0 ,CFG_SYS_SDRAM_BASE );#endif /*
@@ -82,8 +82,8 @@ int dram_init(void)* (Do not rely on the SDCS register(s) being set to 0x00000000 * during reset as stated in the data sheet.) */ - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , -0x80000000 -CONFIG_SYS_SDRAM_BASE ); + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE , +0x80000000 -CFG_SYS_SDRAM_BASE );return 0 ; }
board/atmel/at91sam9260ek/at91sam9260ek.c +3 -3
@@ -81,7 +81,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9260ek_nand_hw_init ();
@@ -92,8 +92,8 @@ int board_init(void)int dram_init (void ) { gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + (void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9261ek/at91sam9261ek.c +3 -3
@@ -156,7 +156,7 @@ int board_init(void) gd->bd->bi_arch_number =MACH_TYPE_AT91SAM9261EK ;#endif /* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9261ek_nand_hw_init ();
@@ -176,8 +176,8 @@ int board_eth_init(struct bd_info *bis)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9263ek/at91sam9263ek.c +3 -3
@@ -95,7 +95,7 @@ int board_init(void)/* arch number of AT91SAM9263EK-Board */ gd->bd->bi_arch_number =MACH_TYPE_AT91SAM9263EK ;/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9263ek_nand_hw_init ();
@@ -108,8 +108,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +3 -3
@@ -168,7 +168,7 @@ int board_init(void) gd->bd->bi_arch_number =MACH_TYPE_AT91SAM9M10G45EK ;/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9m10g45ek_nand_hw_init ();
@@ -181,8 +181,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9n12ek/at91sam9n12ek.c +3 -3
@@ -99,7 +99,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_NAND_ATMEL at91sam9n12ek_nand_hw_init ();
@@ -114,8 +114,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9rlek/at91sam9rlek.c +3 -3
@@ -93,7 +93,7 @@ int board_init(void)/* arch number of AT91SAM9RLEK-Board */ gd->bd->bi_arch_number =MACH_TYPE_AT91SAM9RLEK ;/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9rlek_nand_hw_init ();
@@ -104,7 +104,7 @@ int board_init(void)int dram_init (void ) { gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + (void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/at91sam9x5ek/at91sam9x5ek.c +3 -3
@@ -115,7 +115,7 @@ int board_init(void) gd->bd->bi_arch_number =MACH_TYPE_AT91SAM9X5EK ;/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND at91sam9x5ek_nand_hw_init ();
@@ -129,8 +129,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sam9x60ek/sam9x60ek.c +3 -3
@@ -120,7 +120,7 @@ int misc_init_r(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND sam9x60ek_nand_hw_init ();
@@ -130,7 +130,7 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c +3 -3
@@ -65,7 +65,7 @@ int board_early_init_f(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;rgb_leds_init ();
@@ -84,8 +84,8 @@ int misc_init_r(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d2_icp/sama5d2_icp.c +3 -3
@@ -54,7 +54,7 @@ int board_early_init_f(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;rgb_leds_init ();
@@ -63,8 +63,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c +3 -3
@@ -115,7 +115,7 @@ int board_early_init_f(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;rgb_leds_init ();
@@ -130,8 +130,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d3_xplained/sama5d3_xplained.c +3 -3
@@ -94,7 +94,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_NAND_ATMEL sama5d3_xplained_nand_hw_init ();
@@ -110,8 +110,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d3xek/sama5d3xek.c +3 -3
@@ -147,7 +147,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_NAND_ATMEL sama5d3xek_nand_hw_init ();
@@ -166,8 +166,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d4_xplained/sama5d4_xplained.c +3 -3
@@ -121,7 +121,7 @@ int misc_init_r(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_NAND_ATMEL sama5d4_xplained_nand_hw_init ();
@@ -135,8 +135,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama5d4ek/sama5d4ek.c +3 -3
@@ -107,7 +107,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_NAND_ATMEL sama5d4ek_nand_hw_init ();
@@ -121,8 +121,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/atmel/sama7g5ek/sama7g5ek.c +3 -3
@@ -67,7 +67,7 @@ int misc_init_r(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;board_leds_init ();
@@ -76,7 +76,7 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/bluewater/gurnard/gurnard.c +3 -3
@@ -307,7 +307,7 @@ int board_init(void) gd->bd->bi_arch_number =MACH_TYPE_SNAPPER_9260 ;/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND ret =gurnard_nand_hw_init ();
@@ -407,8 +407,8 @@ int board_eth_init(struct bd_info *bis)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/bosch/guardian/board.c +1 -1
@@ -182,7 +182,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_MTD_RAW_NAND gpmc_init ();
board/bosch/shc/board.c +1 -1
@@ -449,7 +449,7 @@ int board_init(void)if (read_eeprom () <0 )puts ("EEPROM Content Invalid.\n" ); - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#if defined(CONFIG_NOR ) || defined(CONFIG_MTD_RAW_NAND )gpmc_init ();#endif
board/broadcom/bcm_ep/board.c +4 -4
@@ -26,7 +26,7 @@ int board_init(void)* Address of boot parameters passed to kernel * Use default offset 0x100 */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
@@ -36,14 +36,14 @@ int board_init(void)*/ int dram_init (void ) { - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
board/calao/usb_a9263/usb_a9263.c +3 -3
@@ -95,7 +95,7 @@ static void usb_a9263_macb_hw_init(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND usb_a9263_nand_hw_init ();
@@ -111,8 +111,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/cobra5272/cobra5272.c +1 -1
@@ -28,7 +28,7 @@ int dram_init(void)/* Dummy write to start SDRAM */ *((volatile unsigned long *)0 ) =0 ; - gd->ram_size =CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + gd->ram_size =CFG_SYS_SDRAM_SIZE *1024 *1024 ;return 0 ; };
board/compulab/cm_t43/cm_t43.c +1 -1
@@ -45,7 +45,7 @@ int power_init_board(void)int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;gpmc_init ();set_i2c_pin_mux ();i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE );
board/compulab/cm_t43/spl.c +2 -2
@@ -119,7 +119,7 @@ void sdram_init(void)unsigned long ram_size;config_ddr (0 , &ioregs_ddr3,NULL ,NULL , &ddr3_emif_regs,0 ); - ram_size =get_ram_size ((long int *)CONFIG_SYS_SDRAM_BASE ,0x80000000 ); + ram_size =get_ram_size ((long int *)CFG_SYS_SDRAM_BASE ,0x80000000 );if (ram_size ==0x80000000 || ram_size ==0x40000000 || ram_size ==0x20000000 )
@@ -127,7 +127,7 @@ void sdram_init(void) ddr3_emif_regs.sdram_config =0x638453B2 ;config_ddr (0 , &ioregs_ddr3,NULL ,NULL , &ddr3_emif_regs,0 ); - ram_size =get_ram_size ((long int *)CONFIG_SYS_SDRAM_BASE ,0x80000000 ); + ram_size =get_ram_size ((long int *)CFG_SYS_SDRAM_BASE ,0x80000000 );if (ram_size ==0x08000000 )return ;
board/cssi/MCR3000/MCR3000.c +1 -1
@@ -114,7 +114,7 @@ int dram_init(void)out_be32 (&memctl->memc_mcr,0x80002038 );udelay (200 ); - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE ,SDRAM_MAX_SIZE );return 0 ;
board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c +2 -2
@@ -29,13 +29,13 @@ board_early_init_f(void)int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x2000 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x2000 ;return 0 ; }int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,SZ_64M ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,SZ_64M );return 0 ; }
board/eets/pdu001/board.c +1 -1
@@ -286,7 +286,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/egnite/ethernut5/ethernut5.c +3 -3
@@ -85,8 +85,8 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) { gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + (void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
@@ -135,7 +135,7 @@ int board_init(void)at91_periph_clk_enable (ATMEL_ID_PIOC );/* Set adress of boot parameters. */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Initialize UARTs and power management. */ ethernut5_power_init ();#ifdef CONFIG_CMD_NAND
board/emulation/qemu-arm/qemu-arm.c +1 -1
@@ -126,7 +126,7 @@ void *board_fdt_blob_setup(int *err) { *err =0 ;/* QEMU loads a generated DTB for us at the start of RAM. */ -return (void *)CONFIG_SYS_SDRAM_BASE ; +return (void *)CFG_SYS_SDRAM_BASE ; }void enable_caches (void )
board/esd/meesc/meesc.c +1 -1
@@ -264,7 +264,7 @@ int board_init(void)meesc_ethercat_hw_init ();/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND meesc_nand_hw_init ();
board/freescale/common/arm_sleep.c +1 -1
@@ -61,7 +61,7 @@ static void dp_ddr_restore(void)/* get the address of ddr date from SPARECR3 */ src = (u64 *)in_le32 (&scfg->sparecr[2 ]); - dst = (u64 *)CONFIG_SYS_SDRAM_BASE ; + dst = (u64 *)CFG_SYS_SDRAM_BASE ;for (i =0 ; i <DDR_BUFF_LEN /8 ; i++) *dst++ = *src++;
board/freescale/common/mpc85xx_sleep.c +1 -1
@@ -50,7 +50,7 @@ static void dp_ddr_restore(void)/* get the address of ddr date from SPARECR3 */ src = (u64 *)(in_be32 (&scfg->sparecr[2 ]) +DDR_BUFF_LEN -8 ); - dst = (u64 *)(CONFIG_SYS_SDRAM_BASE +DDR_BUFF_LEN -8 ); + dst = (u64 *)(CFG_SYS_SDRAM_BASE +DDR_BUFF_LEN -8 );for (i =0 ; i <DDR_BUFF_LEN /8 ; i++) *dst-- = *src--;
board/freescale/ls1012afrdm/ls1012afrdm.c +2 -2
@@ -102,7 +102,7 @@ int dram_init(void) else gd->ram_size = SYS_SDRAM_SIZE_512;#else - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;#endif }return 0 ;
@@ -139,7 +139,7 @@ int dram_init(void) gd->ram_size = SYS_SDRAM_SIZE_512; }#else - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;#endif mmdc_init (&mparam);
board/freescale/ls1012aqds/ls1012aqds.c +2 -2
@@ -66,7 +66,7 @@ int dram_init(void) { gd->ram_size =tfa_get_dram_size ();if (!gd->ram_size) - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
@@ -90,7 +90,7 @@ int dram_init(void) };mmdc_init (&mparam); - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;#if !defined(CONFIG_SPL ) || defined(CONFIG_SPL_BUILD )/* This will break-before-make MMU for DDR */ update_early_mmu_table ();
board/freescale/ls1012ardb/ls1012ardb.c +2 -2
@@ -113,7 +113,7 @@ int dram_init(void) { gd->ram_size =tfa_get_dram_size ();if (!gd->ram_size) - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
@@ -140,7 +140,7 @@ int dram_init(void)mmdc_init (&mparam);#endif - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;#if !defined(CONFIG_SPL ) || defined(CONFIG_SPL_BUILD )/* This will break-before-make MMU for DDR */ update_early_mmu_table ();
board/freescale/ls1021aqds/ddr.c +1 -1
@@ -192,7 +192,7 @@ int fsl_initdram(void)int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
board/freescale/ls1021atsn/ls1021atsn.c +1 -1
@@ -47,7 +47,7 @@ static void ddrmc_init(void)if (is_warm_boot ()) {out_be32 (&ddr->sdram_cfg_2,DDR_SDRAM_CFG_2 & ~SDRAM_CFG2_D_INIT ); -out_be32 (&ddr->init_addr,CONFIG_SYS_SDRAM_BASE ); +out_be32 (&ddr->init_addr,CFG_SYS_SDRAM_BASE );out_be32 (&ddr->init_ext_addr, (1 <<31 ));/* DRAM VRef will not be trained */
board/freescale/ls1021atwr/ls1021atwr.c +1 -1
@@ -162,7 +162,7 @@ void ddrmc_init(void)if (is_warm_boot ()) {out_be32 (&ddr->sdram_cfg_2,DDR_SDRAM_CFG_2 & ~SDRAM_CFG2_D_INIT ); -out_be32 (&ddr->init_addr,CONFIG_SYS_SDRAM_BASE ); +out_be32 (&ddr->init_addr,CFG_SYS_SDRAM_BASE );out_be32 (&ddr->init_ext_addr, (1 <<31 ));/* DRAM VRef will not be trained */
board/freescale/m5208evbe/m5208evbe.c +13 -13
@@ -29,7 +29,7 @@ int dram_init(void)sdram_t *sdram = (sdram_t *)(MMAP_SDRAM );u32 dramsize, i; - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))
@@ -37,35 +37,35 @@ int dram_init(void) } i--; -out_be32 (&sdram->cs0,CONFIG_SYS_SDRAM_BASE | i); -#ifdef CONFIG_SYS_SDRAM_BASE1 -out_be32 (&sdram->cs1,CONFIG_SYS_SDRAM_BASE | i); +out_be32 (&sdram->cs0,CFG_SYS_SDRAM_BASE | i); +#ifdef CFG_SYS_SDRAM_BASE1 +out_be32 (&sdram->cs1,CFG_SYS_SDRAM_BASE | i);#endif -out_be32 (&sdram->cfg1,CONFIG_SYS_SDRAM_CFG1 ); -out_be32 (&sdram->cfg2,CONFIG_SYS_SDRAM_CFG2 ); +out_be32 (&sdram->cfg1,CFG_SYS_SDRAM_CFG1 ); +out_be32 (&sdram->cfg2,CFG_SYS_SDRAM_CFG2 );udelay (500 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 ); asm("nop" );/* Perform two refresh cycles */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); asm("nop" );/* Issue LEMR */ -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE ); asm("nop" ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_EMOD ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_EMOD ); asm("nop" ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 ); asm("nop" );out_be32 (&sdram->ctrl, - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000F00 ); + (CFG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000F00 ); asm("nop" );udelay (100 );
board/freescale/m5235evb/m5235evb.c +4 -4
@@ -44,7 +44,7 @@ int dram_init(void)GPIO_PAR_SDRAM_SRAS |GPIO_PAR_SDRAM_SCKE | GPIO_PAR_SDRAM_SDCS(3)); - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))break ;
@@ -61,7 +61,7 @@ int dram_init(void)/* Initialize DACR0 */ out_be32 (&sdram->dacr0, -SDRAMC_DARCn_BA (CONFIG_SYS_SDRAM_BASE ) | +SDRAMC_DARCn_BA (CFG_SYS_SDRAM_BASE ) | SDRAMC_DARCn_CASL_C1 | SDRAMC_DARCn_CBM_CMD20 | SDRAMC_DARCn_PS_32); asm("nop" );
@@ -80,7 +80,7 @@ int dram_init(void) }/* Write to this block to initiate precharge */ - *(u32 *) (CONFIG_SYS_SDRAM_BASE ) =0xA5A59696 ; + *(u32 *) (CFG_SYS_SDRAM_BASE ) =0xA5A59696 ;/* Set RE (bit 15) in DACR */ setbits_be32 (&sdram->dacr0, SDRAMC_DARCn_RE);
@@ -95,7 +95,7 @@ int dram_init(void) asm("nop" );/* Write to the SDRAM Mode Register */ - *(u32 *) (CONFIG_SYS_SDRAM_BASE +0x400 ) =0xA5A59696 ; + *(u32 *) (CFG_SYS_SDRAM_BASE +0x400 ) =0xA5A59696 ; } gd->ram_size = dramsize;
board/freescale/m5249evb/m5249evb.c +1 -1
@@ -86,7 +86,7 @@ int dram_init(void)mbar_writeLong (MCFSIM_DACR0 ,0x0000b364 );/* Enable DACR0[IMRS] (bit 6); RE remains enabled */ *((volatile unsigned long *)0x800 ) = junk;/* Access RAM to initialize the mode register */ - gd->ram_size =CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + gd->ram_size =CFG_SYS_SDRAM_SIZE *1024 *1024 ;return 0 ; };
board/freescale/m5253demo/m5253demo.c +3 -3
@@ -47,7 +47,7 @@ int dram_init(void) __asm__("nop" );/* Initialize DMR0 */ - dramsize = (CONFIG_SYS_SDRAM_SIZE <<20 ); + dramsize = (CFG_SYS_SDRAM_SIZE <<20 ); temp = (dramsize -1 ) &0xFFFC0000 ;mbar_writeLong (MCFSIM_DMR0 , temp |1 ); __asm__("nop" );
@@ -57,7 +57,7 @@ int dram_init(void) __asm__("nop" );/* Write to this block to initiate precharge */ - *(u32 *) (CONFIG_SYS_SDRAM_BASE ) =0xa5a5a5a5 ; + *(u32 *) (CFG_SYS_SDRAM_BASE ) =0xa5a5a5a5 ;mb (); __asm__("nop" );
@@ -74,7 +74,7 @@ int dram_init(void) mbar_readLong(MCFSIM_DACR0) | 0x0040); __asm__("nop" ); - *(u32 *) (CONFIG_SYS_SDRAM_BASE +0x800 ) =0xa5a5a5a5 ; + *(u32 *) (CFG_SYS_SDRAM_BASE +0x800 ) =0xa5a5a5a5 ;mb (); }
board/freescale/m5272c3/m5272c3.c +1 -1
@@ -30,7 +30,7 @@ int dram_init(void)/* Dummy write to start SDRAM */ *((volatile unsigned long *)0 ) =0 ; - gd->ram_size =CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + gd->ram_size =CFG_SYS_SDRAM_SIZE *1024 *1024 ;return 0 ; };
board/freescale/m5275evb/m5275evb.c +9 -9
@@ -35,7 +35,7 @@ int dram_init(void)out_be16 (&gpio_reg->par_sdram,0x3FF );/* Set up chip select */ -out_be32 (&sdp->sdbar0,CONFIG_SYS_SDRAM_BASE ); +out_be32 (&sdp->sdbar0,CFG_SYS_SDRAM_BASE );out_be32 (&sdp->sdbmr0, MCF_SDRAMC_SDMRn_BAM_32M | MCF_SDRAMC_SDMRn_V);/* Set up timing */
@@ -49,34 +49,34 @@ int dram_init(void)setbits_be32 (&sdp->sdcr,MCF_SDRAMC_SDCR_IPALL );/* Dummy write to start SDRAM */ - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;/* Send LEMR */ setbits_be32 (&sdp->sdmr,MCF_SDRAMC_SDMR_BNKAD_LEMR |MCF_SDRAMC_SDMR_AD (0x0 ) |MCF_SDRAMC_SDMR_CMD ); - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;/* Send LMR */ out_be32 (&sdp->sdmr,0x058d0000 ); - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;/* Stop sending commands */ clrbits_be32 (&sdp->sdmr,MCF_SDRAMC_SDMR_CMD );/* Set precharge */ setbits_be32 (&sdp->sdcr,MCF_SDRAMC_SDCR_IPALL ); - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;/* Stop manual precharge, send 2 IREF */ clrbits_be32 (&sdp->sdcr,MCF_SDRAMC_SDCR_IPALL );setbits_be32 (&sdp->sdcr,MCF_SDRAMC_SDCR_IREF ); - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;out_be32 (&sdp->sdmr,0x018d0000 ); - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE ) =0xa5a59696 ; + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE ) =0xa5a59696 ;/* Stop sending commands */ clrbits_be32 (&sdp->sdmr,MCF_SDRAMC_SDMR_CMD );
@@ -91,7 +91,7 @@ int dram_init(void) | MCF_SDRAMC_SDCR_RCNT((SDRAM_TREFI/(PERIOD*64)) - 1 + 1) | MCF_SDRAMC_SDCR_DQS_OE(0x3)); - gd->ram_size =CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + gd->ram_size =CFG_SYS_SDRAM_SIZE *1024 *1024 ;return 0 ; };
board/freescale/m5282evb/m5282evb.c +4 -4
@@ -21,7 +21,7 @@ int dram_init(void) {u32 dramsize, i, dramclk; - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))break ;
@@ -40,7 +40,7 @@ int dram_init(void)/* Initialize DACR0 */ MCFSDRAMC_DACR0 = (0 - |MCFSDRAMC_DACR_BASE (CONFIG_SYS_SDRAM_BASE ) + |MCFSDRAMC_DACR_BASE (CFG_SYS_SDRAM_BASE ) |MCFSDRAMC_DACR_CASL (1 ) |MCFSDRAMC_DACR_CBM (3 ) |MCFSDRAMC_DACR_PS_32 );
@@ -62,7 +62,7 @@ int dram_init(void) }/* Write to this block to initiate precharge */ - *(u32 *)(CONFIG_SYS_SDRAM_BASE ) =0xA5A59696 ; + *(u32 *)(CFG_SYS_SDRAM_BASE ) =0xA5A59696 ; asm("nop" );/* Set RE (bit 15) in DACR */
@@ -79,7 +79,7 @@ int dram_init(void) asm("nop" );/* Write to the SDRAM Mode Register */ - *(u32 *)(CONFIG_SYS_SDRAM_BASE +0x400 ) =0xA5A59696 ; + *(u32 *)(CFG_SYS_SDRAM_BASE +0x400 ) =0xA5A59696 ; } gd->ram_size = dramsize;
board/freescale/m53017evb/README +1 -1
@@ -106,7 +106,7 @@ CONFIG_SYS_CSn_BASE -- defines the Chip Select Base register CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register -CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base +CFG_SYS_SDRAM_BASE -- defines the DRAM Base 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL ===========================================
board/freescale/m53017evb/m53017evb.c +13 -13
@@ -29,7 +29,7 @@ int dram_init(void)sdram_t *sdram = (sdram_t *)(MMAP_SDRAM );u32 dramsize, i; - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))
@@ -37,35 +37,35 @@ int dram_init(void) } i--; -out_be32 (&sdram->cs0,CONFIG_SYS_SDRAM_BASE | i); -#ifdef CONFIG_SYS_SDRAM_BASE1 -out_be32 (&sdram->cs1,CONFIG_SYS_SDRAM_BASE | i); +out_be32 (&sdram->cs0,CFG_SYS_SDRAM_BASE | i); +#ifdef CFG_SYS_SDRAM_BASE1 +out_be32 (&sdram->cs1,CFG_SYS_SDRAM_BASE | i);#endif -out_be32 (&sdram->cfg1,CONFIG_SYS_SDRAM_CFG1 ); -out_be32 (&sdram->cfg2,CONFIG_SYS_SDRAM_CFG2 ); +out_be32 (&sdram->cfg1,CFG_SYS_SDRAM_CFG1 ); +out_be32 (&sdram->cfg2,CFG_SYS_SDRAM_CFG2 );udelay (500 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 ); asm("nop" );/* Perform two refresh cycles */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); asm("nop" );/* Issue LEMR */ -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE ); asm("nop" ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_EMOD ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_EMOD ); asm("nop" ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 ); asm("nop" );out_be32 (&sdram->ctrl, - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 ); + (CFG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 ); asm("nop" );udelay (100 );
board/freescale/m5329evb/m5329evb.c +12 -12
@@ -29,7 +29,7 @@ int dram_init(void)sdram_t *sdram = (sdram_t *)(MMAP_SDRAM );u32 dramsize, i; - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))
@@ -37,30 +37,30 @@ int dram_init(void) } i--; -out_be32 (&sdram->cs0,CONFIG_SYS_SDRAM_BASE | i); -out_be32 (&sdram->cfg1,CONFIG_SYS_SDRAM_CFG1 ); -out_be32 (&sdram->cfg2,CONFIG_SYS_SDRAM_CFG2 ); +out_be32 (&sdram->cs0,CFG_SYS_SDRAM_BASE | i); +out_be32 (&sdram->cfg1,CFG_SYS_SDRAM_CFG1 ); +out_be32 (&sdram->cfg2,CFG_SYS_SDRAM_CFG2 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 );/* Issue LEMR */ -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_EMOD ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE |0x04000000 ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_EMOD ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE |0x04000000 );udelay (500 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 );/* Perform two refresh cycles */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE );out_be32 (&sdram->ctrl, - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 ); + (CFG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 );udelay (100 );
board/freescale/m5373evb/README +1 -1
@@ -105,7 +105,7 @@ CONFIG_SYS_CSn_BASE -- defines the Chip Select Base register CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register -CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base +CFG_SYS_SDRAM_BASE -- defines the DRAM Base 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL ===========================================
board/freescale/m5373evb/m5373evb.c +12 -12
@@ -29,7 +29,7 @@ int dram_init(void)sdram_t *sdram = (sdram_t *)(MMAP_SDRAM );u32 dramsize, i; - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ;for (i =0x13 ; i <0x20 ; i++) {if (dramsize == (1 << i))
@@ -37,30 +37,30 @@ int dram_init(void) } i--; -out_be32 (&sdram->cs0,CONFIG_SYS_SDRAM_BASE | i); -out_be32 (&sdram->cfg1,CONFIG_SYS_SDRAM_CFG1 ); -out_be32 (&sdram->cfg2,CONFIG_SYS_SDRAM_CFG2 ); +out_be32 (&sdram->cs0,CFG_SYS_SDRAM_BASE | i); +out_be32 (&sdram->cfg1,CFG_SYS_SDRAM_CFG1 ); +out_be32 (&sdram->cfg2,CFG_SYS_SDRAM_CFG2 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 );/* Issue LEMR */ -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_EMOD ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE |0x04000000 ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_EMOD ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE |0x04000000 );udelay (500 );/* Issue PALL */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |2 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |2 );/* Perform two refresh cycles */ -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->ctrl,CONFIG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); +out_be32 (&sdram->ctrl,CFG_SYS_SDRAM_CTRL |4 ); -out_be32 (&sdram->mode,CONFIG_SYS_SDRAM_MODE ); +out_be32 (&sdram->mode,CFG_SYS_SDRAM_MODE );out_be32 (&sdram->ctrl, - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 ); + (CFG_SYS_SDRAM_CTRL & ~0x80000000 ) |0x10000c00 );udelay (100 );
board/freescale/mpc837xerdb/mpc837xerdb.c +3 -3
@@ -97,10 +97,10 @@ int dram_init(void)int fixed_sdram (void ) {immap_t *im = (immap_t *)CONFIG_SYS_IMMR ; -u32 msize =CONFIG_SYS_SDRAM_SIZE ; +u32 msize =CFG_SYS_SDRAM_SIZE ;u32 msize_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CFG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LBLAWAR_EN | (msize_log2 -1 ); im->sysconf.ddrcdr =CONFIG_SYS_DDRCDR_VALUE ;
@@ -127,7 +127,7 @@ int fixed_sdram(void) im->ddr.sdram_cfg |=SDRAM_CFG_MEM_EN ;udelay (2000 ); - return CONFIG_SYS_SDRAM_SIZE >> 20; + return CFG_SYS_SDRAM_SIZE >> 20; }#endif /*!CONFIG_SYS_SPD_EEPROM */
board/freescale/mx51evk/mx51evk.c +1 -1
@@ -30,7 +30,7 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) {/* dram_init must store complete ramsize in gd->ram_size */ - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,PHYS_SDRAM_1_SIZE );return 0 ; }
board/freescale/p1_p2_rdb_pc/ddr.c +1 -1
@@ -244,7 +244,7 @@ phys_size_t fixed_sdram(void)printf ("Configuring DDR for %s MT/s data rate\n" ,strmhz (buf, sysinfo.freq_ddrbus)); - ddr_size =CONFIG_SYS_SDRAM_SIZE *1024 *1024 ; + ddr_size =CFG_SYS_SDRAM_SIZE *1024 *1024 ;fsl_ddr_set_memctl_regs (&ddr_cfg_regs,0 ,0 );
board/friendlyarm/nanopi2/board.c +4 -4
@@ -507,7 +507,7 @@ int splash_screen_prepare(void)/* u-boot dram initialize */ int dram_init (void ) { - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
@@ -518,10 +518,10 @@ int dram_init_banksize(void)unsigned int reg_val =readl (SCR_USER_SIG6_READ );/* set global data memory */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x00000100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x00000100 ; - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; - gd->bd->bi_dram[0 ].size =CONFIG_SYS_SDRAM_SIZE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size =CFG_SYS_SDRAM_SIZE ;/* Number of Row: 14 bits */ if ((reg_val >>28 ) ==14 )
board/gardena/smart-gateway-at91sam/board.c +3 -3
@@ -45,15 +45,15 @@ int board_early_init_f(void)int board_init (void ) {/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/gdsys/mpc8308/sdram.c +3 -3
@@ -34,11 +34,11 @@ DECLARE_GLOBAL_DATA_PTR;static long fixed_sdram (void ) {immap_t *im = (immap_t *)CONFIG_SYS_IMMR ; -u32 msize =CONFIG_SYS_SDRAM_SIZE ; +u32 msize =CFG_SYS_SDRAM_SIZE ;u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_SDRAM_BASE &0xfffff000 ); +CFG_SYS_SDRAM_BASE &0xfffff000 );out_be32 (&im->sysconf.ddrlaw[0 ].ar,LBLAWAR_EN | (msize_log2 -1 ));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );
@@ -66,7 +66,7 @@ static long fixed_sdram(void)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );sync (); -return get_ram_size (CONFIG_SYS_SDRAM_BASE , msize); +return get_ram_size (CFG_SYS_SDRAM_BASE , msize); }int dram_init (void )
board/grinn/chiliboard/board.c +1 -1
@@ -95,7 +95,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;gpmc_init ();return 0 ;
board/imgtec/boston/ddr.c +1 -1
@@ -27,7 +27,7 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size) {DECLARE_GLOBAL_DATA_PTR ; -if (gd->ram_top <CONFIG_SYS_SDRAM_BASE ) { +if (gd->ram_top <CFG_SYS_SDRAM_BASE ) {/* 2GB wrapped around to 0 */ return CKSEG0ADDR (256 <<20 ); }
board/imgtec/malta/lowlevel_init.S +2 -2
@@ -118,7 +118,7 @@ _msc01: /* setup basic address decode */ PTR_LI t0, CKSEG1ADDR(MALTA_MSC01_BIU_BASE) li t1, 0x0 - li t2, -CONFIG_SYS_SDRAM_SIZE + li t2, -CFG_SYS_SDRAM_SIZE sw t1, MSC01_BIU_MCBAS1L_OFS(t0) sw t2, MSC01_BIU_MCMSK1L_OFS(t0) sw t1, MSC01_BIU_MCBAS2L_OFS(t0)
@@ -168,7 +168,7 @@ _msc01: sw t3, MSC01_PCI_SC2PIOMAPL_OFS(t0) /* setup PCI_BAR0 memory window */ - li t1, -CONFIG_SYS_SDRAM_SIZE + li t1, -CFG_SYS_SDRAM_SIZE sw t1, MSC01_PCI_BAR0_OFS(t0) /* setup PCI to SysCon/CPU translation */
board/imgtec/malta/malta.c +1 -1
@@ -94,7 +94,7 @@ static enum sys_con malta_sys_con(void)int dram_init (void ) { - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
board/imgtec/xilfpga/xilfpga.c +1 -1
@@ -19,7 +19,7 @@ int dram_init(void) {/* MIG IP block is smart and doesn't need SW * to do any init */ - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ;/* in bytes */ + gd->ram_size =CFG_SYS_SDRAM_SIZE ;/* in bytes */ return 0 ; }
board/inversepath/usbarmory/usbarmory.c +1 -1
@@ -412,7 +412,7 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,1 <<30 ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,1 <<30 );return 0 ; }
board/isee/igep003x/board.c +1 -1
@@ -185,7 +185,7 @@ int spl_start_uboot(void)*/ int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;gpmc_init ();
board/keymile/common/common.c +2 -2
@@ -52,7 +52,7 @@ int set_km_env(void)char envval[16 ];char *p; - pnvramaddr =CONFIG_SYS_SDRAM_BASE + gd->ram_size - + pnvramaddr =CFG_SYS_SDRAM_BASE + gd->ram_size -CONFIG_KM_RESERVED_PRAM -CONFIG_KM_PHRAM -CONFIG_KM_PNVRAM ;sprintf (envval,"0x%x" , pnvramaddr);env_set ("pnvramaddr" , envval);
@@ -65,7 +65,7 @@ int set_km_env(void) CONFIG_KM_PNVRAM) / 0x400;env_set_ulong ("pram" , pram); - varaddr =CONFIG_SYS_SDRAM_BASE + gd->ram_size - + varaddr =CFG_SYS_SDRAM_BASE + gd->ram_size -CONFIG_KM_RESERVED_PRAM -CONFIG_KM_PHRAM ;env_set_hex ("varaddr" , varaddr);sprintf (envval,"0x%x" , varaddr);
board/keymile/km83xx/km83xx.c +3 -3
@@ -142,10 +142,10 @@ static int fixed_sdram(void)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );disable_addr_trans (); - msize =get_ram_size (CONFIG_SYS_SDRAM_BASE ,CONFIG_SYS_SDRAM_SIZE ); + msize =get_ram_size (CFG_SYS_SDRAM_BASE ,CFG_SYS_SDRAM_SIZE );enable_addr_trans (); msize /= (1024 *1024 ); -if (CONFIG_SYS_SDRAM_SIZE >>20 != msize) { +if (CFG_SYS_SDRAM_SIZE >>20 != msize) {for (ddr_size = msize <<20 , ddr_size_log2 =0 ; (ddr_size >1 ); ddr_size = ddr_size >>1 , ddr_size_log2++)
@@ -169,7 +169,7 @@ int dram_init(void)return -ENXIO ;out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ); +CFG_SYS_SDRAM_BASE &LAWBAR_BAR ); msize =fixed_sdram ();#if defined(CONFIG_DDR_ECC ) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER )
board/keymile/pg-wcom-ls102xa/ddr.c +1 -1
@@ -84,7 +84,7 @@ int fsl_initdram(void)int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;return 0 ;
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c +1 -1
@@ -184,7 +184,7 @@ int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) {/* Define only 1MiB range for mem_regions at the middle of the RAM */ /* For 1GiB range mem_regions takes approx. 4min */ - *vstart =CONFIG_SYS_SDRAM_BASE + (gd->ram_size >>1 ); + *vstart =CFG_SYS_SDRAM_BASE + (gd->ram_size >>1 ); *size =1 <<20 ;return 0 ; }
board/l+g/vinco/vinco.c +3 -3
@@ -164,7 +164,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#if !CONFIG_IS_ENABLED (DM_SPI )vinco_spi0_hw_init ();
@@ -188,8 +188,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/mediatek/mt7622/mt7622_rfb.c +1 -1
@@ -14,7 +14,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/mediatek/mt7623/mt7623_rfb.c +1 -1
@@ -12,7 +12,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/mediatek/mt7629/mt7629_rfb.c +1 -1
@@ -11,7 +11,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/mediatek/mt8518/mt8518_ap1.c +1 -1
@@ -14,7 +14,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;debug ("gd->fdt_blob is %p\n" , gd->fdt_blob);return 0 ;
board/mscc/jr2/jr2.c +1 -1
@@ -28,7 +28,7 @@ int board_early_init_r(void) ICPU_GENERAL_CTRL_IF_SI_OWNER(2));/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE ;return 0 ; }
board/mscc/luton/luton.c +1 -1
@@ -29,7 +29,7 @@ int board_early_init_r(void)writel (0 ,BASE_CFG +ICPU_SW_MODE );/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE ;return 0 ; }
board/mscc/ocelot/ocelot.c +1 -1
@@ -77,7 +77,7 @@ int board_early_init_r(void) ICPU_GENERAL_CTRL_IF_SI_OWNER(2));/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE ;return 0 ; }
board/mscc/serval/serval.c +1 -1
@@ -22,7 +22,7 @@ int board_early_init_r(void)writel (0 ,BASE_CFG +ICPU_SW_MODE );/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE ;return 0 ; }
board/mscc/servalt/servalt.c +1 -1
@@ -22,7 +22,7 @@ int board_early_init_r(void)writel (0 ,BASE_CFG +ICPU_SW_MODE );/* Address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE ;return 0 ; }
board/phytec/phycore_am335x_r2/board.c +2 -2
@@ -166,7 +166,7 @@ void sdram_init(void) 0);/* Detect memory physically present */ - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,CONFIG_MAX_RAM_BANK_SIZE );/* Reconfigure memory for actual detected size */
@@ -269,7 +269,7 @@ void set_mux_conf_regs(void)*/ int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/phytium/pomelo/pomelo.c +1 -1
@@ -24,7 +24,7 @@ int dram_init(void)ddr_init (); gd->mem_clk =0 ; - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE ,0x7b000000 ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE ,0x7b000000 );sec_init ();debug ("PBF relocate done\n" );
board/renesas/alt/alt.c +1 -1
@@ -70,7 +70,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/blanche/blanche.c +1 -1
@@ -312,7 +312,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/renesas/gose/gose.c +1 -1
@@ -78,7 +78,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/grpeach/grpeach.c +1 -1
@@ -20,7 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) { - gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE +0x100 ); + gd->bd->bi_boot_params = (CFG_SYS_SDRAM_BASE +0x100 );return 0 ; }
board/renesas/koelsch/koelsch.c +1 -1
@@ -80,7 +80,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/lager/lager.c +1 -1
@@ -89,7 +89,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/porter/porter.c +1 -1
@@ -78,7 +78,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/silk/silk.c +1 -1
@@ -71,7 +71,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* Force ethernet PHY out of reset */ gpio_request (ETHERNET_PHY_RESET ,"phy_reset" );
board/renesas/stout/stout.c +1 -1
@@ -88,7 +88,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;cpld_init ();
board/ronetix/pm9g45/pm9g45.c +5 -5
@@ -126,7 +126,7 @@ int board_init(void)/* arch number of AT91SAM9M10G45EK-Board */ gd->bd->bi_arch_number =MACH_TYPE_PM9G45 ;/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_CMD_NAND pm9g45_nand_hw_init ();
@@ -141,15 +141,15 @@ int board_init(void)int dram_init (void ) {/* dram_init must store complete ramsize in gd->ram_size */ - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; - gd->bd->bi_dram[0 ].size =CONFIG_SYS_SDRAM_SIZE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
board/samsung/arndale/arndale.c +2 -2
@@ -46,7 +46,7 @@ int dram_init(void)u32 addr;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { - addr =CONFIG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); + addr =CFG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); gd->ram_size +=get_ram_size ((long *)addr,SDRAM_BANK_SIZE ); }return 0 ;
@@ -64,7 +64,7 @@ int dram_init_banksize(void)u32 addr, size;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { - addr =CONFIG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); + addr =CFG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); size =get_ram_size ((long *)addr,SDRAM_BANK_SIZE ); gd->bd->bi_dram[i].start = addr;
board/samsung/common/board.c +2 -2
@@ -122,7 +122,7 @@ int dram_init(void)unsigned long addr;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { - addr =CONFIG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); + addr =CFG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); gd->ram_size +=get_ram_size ((long *)addr,SDRAM_BANK_SIZE ); }return 0 ;
@@ -134,7 +134,7 @@ int dram_init_banksize(void)unsigned long addr, size;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { - addr =CONFIG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); + addr =CFG_SYS_SDRAM_BASE + (i *SDRAM_BANK_SIZE ); size =get_ram_size ((long *)addr,SDRAM_BANK_SIZE ); gd->bd->bi_dram[i].start = addr;
board/sandbox/sandbox.c +2 -2
@@ -102,7 +102,7 @@ enum env_location env_get_location(enum env_operation op, int prio)int dram_init (void ) { - gd->ram_size =CONFIG_SYS_SDRAM_SIZE ; + gd->ram_size =CFG_SYS_SDRAM_SIZE ;return 0 ; }
@@ -160,7 +160,7 @@ int board_late_init(void)int init_addr_map (void ) {if (IS_ENABLED (CONFIG_ADDR_MAP )) -addrmap_set_entry (0 ,0 ,CONFIG_SYS_SDRAM_SIZE ,0 ); +addrmap_set_entry (0 ,0 ,CFG_SYS_SDRAM_SIZE ,0 );return 0 ; }
board/siemens/common/board.c +1 -1
@@ -85,7 +85,7 @@ int board_init(void)#ifdef CONFIG_MACH_TYPE gd->bd->bi_arch_number =CONFIG_MACH_TYPE ;#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_FACTORYSET factoryset_read_eeprom (FACTORYSET_EEPROM_ADDR );
board/siemens/corvus/board.c +3 -3
@@ -262,7 +262,7 @@ void at91_udp_hw_init(void)int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;/* we have to request the gpios again after relocation */ corvus_request_gpio ();
@@ -287,8 +287,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/siemens/iot2050/board.c +1 -1
@@ -146,7 +146,7 @@ int dram_init_banksize(void)dram_init ();/* Bank 0 declares the memory available in the DDR low region */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size = gd->ram_size;/* Bank 1 declares the memory available in the DDR high region */
board/siemens/smartweb/smartweb.c +3 -3
@@ -167,7 +167,7 @@ int board_init(void)#endif /* Adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;smartweb_nand_hw_init ();smartweb_macb_hw_init ();
@@ -177,8 +177,8 @@ int board_init(void)int dram_init (void ) { gd->ram_size =get_ram_size ( - (void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + (void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/siemens/taurus/taurus.c +5 -5
@@ -185,8 +185,8 @@ void mem_init(void)sdramc_configure (AT91_SDRAMC_NC_10 );/* Do memtest for 128MB */ - ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );/* * If 32MB or 16MB should be supported check also for
@@ -306,7 +306,7 @@ struct at91_udc_data board_udc_data = {int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;taurus_request_gpio ();#ifdef CONFIG_CMD_NAND
@@ -326,8 +326,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/sipeed/maix/maix.c +1 -1
@@ -11,7 +11,7 @@phys_size_t get_effective_memsize (void ) { -return CONFIG_SYS_SDRAM_SIZE ; +return CFG_SYS_SDRAM_SIZE ; }static int sram_init (void )
board/socrates/sdram.c +2 -2
@@ -51,11 +51,11 @@ phys_size_t fixed_sdram(void) asm ("sync; isync; msync" );udelay (1000 ); -if (get_ram_size (0 ,CONFIG_SYS_SDRAM_SIZE <<20 ) ==CONFIG_SYS_SDRAM_SIZE <<20 ) { +if (get_ram_size (0 ,CFG_SYS_SDRAM_SIZE <<20 ) ==CFG_SYS_SDRAM_SIZE <<20 ) {/* * OK, size detected -> all done */ -return CONFIG_SYS_SDRAM_SIZE <<20 ; +return CFG_SYS_SDRAM_SIZE <<20 ; }return 0 ;/* nothing found ! */
board/softing/vining_fpga/socfpga.c +1 -1
@@ -30,7 +30,7 @@ int board_late_init(void)status_led_set (2 ,CONFIG_LED_STATUS_ON );/* Address of boot parameters for ATAG (if ATAG is used) */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ; ret =gpio_request (usb_nrst_gpio,"usb_nrst_gpio" );if (!ret)
board/solidrun/mx6cuboxi/mx6cuboxi.c +2 -2
@@ -107,7 +107,7 @@ int dram_init(void) {u32 max_size =imx_ddr_size (); - gd->ram_size =get_ram_size_stride_test ((u32 *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size_stride_test ((u32 *)CFG_SYS_SDRAM_BASE , (u32 )max_size);return 0 ;
@@ -288,7 +288,7 @@ int board_init(void)int ret =0 ;/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_VIDEO_IPUV3 ret =setup_display ();
board/sysam/amcore/amcore.c +3 -3
@@ -88,7 +88,7 @@ int dram_init(void)*/ out_be32 (&dc->dacr0,0x00003304 ); - dramsize = ((CONFIG_SYS_SDRAM_SIZE )-1 ) &0xfffc0000 ; + dramsize = ((CFG_SYS_SDRAM_SIZE )-1 ) &0xfffc0000 ;out_be32 (&dc->dmr0, dramsize|1 );/* issue a PRECHARGE ALL */
@@ -102,8 +102,8 @@ int dram_init(void)out_be32 (&dc->dacr0,0x0000b344 );out_be32 ((u32 *)0x00000c00 ,0xbeaddeed ); - gd->ram_size =get_ram_size (CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size (CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/sysam/stmark2/stmark2.c +1 -1
@@ -35,7 +35,7 @@ int dram_init(void)* Serial Boot: The dram is already initialized in start.S * only require to return DRAM size */ - dramsize =CONFIG_SYS_SDRAM_SIZE *0x100000 ; + dramsize =CFG_SYS_SDRAM_SIZE *0x100000 ; gd->ram_size = dramsize;
board/tbs/tbs2910/tbs2910.c +1 -1
@@ -144,7 +144,7 @@ static const struct boot_mode board_boot_modes[] = {int board_init (void ) {/* address of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_VIDEO_IPUV3 setup_display ();
board/tcl/sl50/board.c +1 -1
@@ -238,7 +238,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
board/ti/am335x/board.c +1 -1
@@ -704,7 +704,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#if defined(CONFIG_NOR ) || defined(CONFIG_MTD_RAW_NAND )gpmc_init ();#endif
board/ti/am43xx/board.c +1 -1
@@ -639,7 +639,7 @@ int board_init(void)u32 mreqprio_0, mreqprio_1, modena_init0_bw_fractional, modena_init0_bw_integer, modena_init0_watermark_0; - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;gpmc_init ();/*
board/ti/am57xx/board.c +1 -1
@@ -661,7 +661,7 @@ bool am571x_idk_needs_lcd(void)int board_init (void ) {gpmc_init (); - gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE +0x100 ); + gd->bd->bi_boot_params = (CFG_SYS_SDRAM_BASE +0x100 );return 0 ; }
board/ti/am65x/evm.c +2 -2
@@ -75,13 +75,13 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size)int dram_init_banksize (void ) {/* Bank 0 declares the memory available in the DDR low region */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =0x80000000 ; gd->ram_size =0x80000000 ;#ifdef CONFIG_PHYS_64BIT /* Bank 1 declares the memory available in the DDR high region */ - gd->bd->bi_dram[1 ].start =CONFIG_SYS_SDRAM_BASE1 ; + gd->bd->bi_dram[1 ].start =CFG_SYS_SDRAM_BASE1 ; gd->bd->bi_dram[1 ].size =0x80000000 ; gd->ram_size =0x100000000 ;#endif
board/ti/dra7xx/evm.c +1 -1
@@ -644,7 +644,7 @@ int dram_init_banksize(void) ram_size =board_ti_get_emif_size (); - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =get_effective_memsize ();if (ram_size >CONFIG_MAX_MEM_MAPPED ) { gd->bd->bi_dram[1 ].start =0x200000000 ;
board/ti/j721e/evm.c +2 -2
@@ -71,13 +71,13 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size)int dram_init_banksize (void ) {/* Bank 0 declares the memory available in the DDR low region */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =0x80000000 ; gd->ram_size =0x80000000 ;#ifdef CONFIG_PHYS_64BIT /* Bank 1 declares the memory available in the DDR high region */ - gd->bd->bi_dram[1 ].start =CONFIG_SYS_SDRAM_BASE1 ; + gd->bd->bi_dram[1 ].start =CFG_SYS_SDRAM_BASE1 ; gd->bd->bi_dram[1 ].size =0x80000000 ; gd->ram_size =0x100000000 ;#endif
board/ti/j721s2/evm.c +2 -2
@@ -60,13 +60,13 @@ phys_size_t board_get_usable_ram_top(phys_size_t total_size)int dram_init_banksize (void ) {/* Bank 0 declares the memory available in the DDR low region */ - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =0x7fffffff ; gd->ram_size =0x80000000 ;#ifdef CONFIG_PHYS_64BIT /* Bank 1 declares the memory available in the DDR high region */ - gd->bd->bi_dram[1 ].start =CONFIG_SYS_SDRAM_BASE1 ; + gd->bd->bi_dram[1 ].start =CFG_SYS_SDRAM_BASE1 ; gd->bd->bi_dram[1 ].size =0x37fffffff ; gd->ram_size =0x400000000 ;#endif
board/ti/ks2_evm/board.c +6 -6
@@ -46,7 +46,7 @@ int dram_init(void) ddr3_size =ddr3_init (); - gd->ram_size =get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((long *)CFG_SYS_SDRAM_BASE ,CONFIG_MAX_RAM_BANK_SIZE );#if defined(CONFIG_TI_AEMIF )if (!(board_is_k2g_ice () ||board_is_k2g_i1 ()))
@@ -71,7 +71,7 @@ struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size)int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }
@@ -120,7 +120,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)/* adjust memory start address for LPAE */ if (lpae) { - start[0 ] -=CONFIG_SYS_SDRAM_BASE ; + start[0 ] -=CFG_SYS_SDRAM_BASE ; start[0 ] +=CONFIG_SYS_LPAE_SDRAM_BASE ; }
@@ -174,11 +174,11 @@ void ft_board_setup_ex(void *blob, struct bd_info *bd) "linux,initrd-end", NULL);if (prop1 && prop2) { initrd_start =__be64_to_cpu (*prop1); - initrd_start -=CONFIG_SYS_SDRAM_BASE ; + initrd_start -=CFG_SYS_SDRAM_BASE ; initrd_start +=CONFIG_SYS_LPAE_SDRAM_BASE ; initrd_start =__cpu_to_be64 (initrd_start); initrd_end =__be64_to_cpu (*prop2); - initrd_end -=CONFIG_SYS_SDRAM_BASE ; + initrd_end -=CFG_SYS_SDRAM_BASE ; initrd_end +=CONFIG_SYS_LPAE_SDRAM_BASE ; initrd_end =__cpu_to_be64 (initrd_end);
@@ -221,7 +221,7 @@ void ft_board_setup_ex(void *blob, struct bd_info *bd) *reserve_start =__cpu_to_be64 (*reserve_start); size =__cpu_to_be64 (*(reserve_start +1 ));if (size) { - *reserve_start -=CONFIG_SYS_SDRAM_BASE ; + *reserve_start -=CFG_SYS_SDRAM_BASE ; *reserve_start +=CONFIG_SYS_LPAE_SDRAM_BASE ; *reserve_start =
board/ti/ti816x/evm.c +1 -1
@@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;int board_init (void ) { - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#if defined(CONFIG_MTD_RAW_NAND )gpmc_init ();#endif
board/timll/devkit3250/devkit3250.c +3 -3
@@ -56,7 +56,7 @@ int board_early_init_f(void)int board_init (void ) {/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#ifdef CONFIG_SYS_FLASH_CFI /* Use 16-bit memory interface for NOR Flash */
@@ -76,8 +76,8 @@ int board_init(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/toradex/apalis_imx6/apalis_imx6.c +1 -1
@@ -79,7 +79,7 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) {/* use the DDR controllers configured size */ - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , (ulong )imx_ddr_size ());return 0 ;
board/toradex/colibri_imx6/colibri_imx6.c +1 -1
@@ -73,7 +73,7 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) {/* use the DDR controllers configured size */ - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , (ulong )imx_ddr_size ());return 0 ;
board/vscom/baltos/board.c +1 -1
@@ -266,7 +266,7 @@ int board_init(void)hw_watchdog_init ();#endif - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;#if defined(CONFIG_NOR ) || defined(CONFIG_MTD_RAW_NAND )gpmc_init ();#endif
board/work-microwave/work_92105/work_92105.c +3 -3
@@ -67,15 +67,15 @@ int board_init(void) {reset_periph ();/* adress of boot parameters */ - gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; + gd->bd->bi_boot_params =CFG_SYS_SDRAM_BASE +0x100 ;return 0 ; }int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
board/xilinx/zynq/board.c +3 -3
@@ -105,7 +105,7 @@ int board_late_init(void)return board_late_init_xilinx (); } -#if !defined(CONFIG_SYS_SDRAM_BASE ) && !defined(CONFIG_SYS_SDRAM_SIZE ) +#if !defined(CFG_SYS_SDRAM_BASE ) && !defined(CFG_SYS_SDRAM_SIZE )int dram_init_banksize (void ) {return fdtdec_setup_memory_banksize ();
@@ -123,8 +123,8 @@ int dram_init(void)#else int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );zynq_ddrc_init ();
board/xilinx/zynqmp/zynqmp.c +4 -4
@@ -236,7 +236,7 @@ unsigned long do_go_exec(ulong (*entry)(int, char * const []), int argc,return ret; } -#if !defined(CONFIG_SYS_SDRAM_BASE ) && !defined(CONFIG_SYS_SDRAM_SIZE ) +#if !defined(CFG_SYS_SDRAM_BASE ) && !defined(CFG_SYS_SDRAM_SIZE )int dram_init_banksize (void ) {int ret;
@@ -261,7 +261,7 @@ int dram_init(void)#else int dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start =CFG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =get_effective_memsize ();mem_map_fill ();
@@ -271,8 +271,8 @@ int dram_init_banksize(void)int dram_init (void ) { - gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , -CONFIG_SYS_SDRAM_SIZE ); + gd->ram_size =get_ram_size ((void *)CFG_SYS_SDRAM_BASE , +CFG_SYS_SDRAM_SIZE );return 0 ; }
boot/image-board.c +2 -2
@@ -116,8 +116,8 @@ ulong env_get_bootm_low(void)return tmp; } -#if defined(CONFIG_SYS_SDRAM_BASE ) -return CONFIG_SYS_SDRAM_BASE ; +#if defined(CFG_SYS_SDRAM_BASE ) +return CFG_SYS_SDRAM_BASE ;#elif defined(CONFIG_ARM ) || defined(CONFIG_MICROBLAZE ) || defined(CONFIG_RISCV )return gd->bd->bi_dram[0 ].start;#else
cmd/ti/ddr3.c +9 -9
@@ -20,7 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;#ifdef CONFIG_ARCH_KEYSTONE #include <asm/arch/ddr3.h> -#define DDR_MIN_ADDR CONFIG_SYS_SDRAM_BASE +#define DDR_MIN_ADDR CFG_SYS_SDRAM_BASE#define STACKSIZE (512 << 10)/* 512 KiB */ #define DDR_REMAP_ADDR 0x80000000
@@ -247,9 +247,9 @@ static int is_addr_valid(u32 addr)/* Check in ecc address range 1 */ if (ecc_ctrl &EMIF_ECC_REG_ECC_ADDR_RGN_1_EN_MASK ) { start_addr = ((range &EMIF_ECC_REG_ECC_START_ADDR_MASK ) <<16 ) - +CONFIG_SYS_SDRAM_BASE ; + +CFG_SYS_SDRAM_BASE ; end_addr = (range &EMIF_ECC_REG_ECC_END_ADDR_MASK ) +0xFFFF + -CONFIG_SYS_SDRAM_BASE ; +CFG_SYS_SDRAM_BASE ;if ((addr >= start_addr) && (addr <= end_addr))/* addr within ecc address range 1 */ return 1 ;
@@ -259,9 +259,9 @@ static int is_addr_valid(u32 addr)if (ecc_ctrl &EMIF_ECC_REG_ECC_ADDR_RGN_2_EN_MASK ) { range =readl (&emif->emif_ecc_address_range_2); start_addr = ((range &EMIF_ECC_REG_ECC_START_ADDR_MASK ) <<16 ) - +CONFIG_SYS_SDRAM_BASE ; + +CFG_SYS_SDRAM_BASE ; end_addr = (range &EMIF_ECC_REG_ECC_END_ADDR_MASK ) +0xFFFF + -CONFIG_SYS_SDRAM_BASE ; +CFG_SYS_SDRAM_BASE ;if ((addr >= start_addr) && (addr <= end_addr))/* addr within ecc address range 2 */ return 1 ;
@@ -309,11 +309,11 @@ static int do_ddr_test(struct cmd_tbl *cmdtp, start_addr =hextoul (argv[2 ],NULL ); end_addr =hextoul (argv[3 ],NULL ); -if ((start_addr <CONFIG_SYS_SDRAM_BASE ) || - (start_addr > (CONFIG_SYS_SDRAM_BASE + +if ((start_addr <CFG_SYS_SDRAM_BASE ) || + (start_addr > (CFG_SYS_SDRAM_BASE +get_effective_memsize () -1 )) || - (end_addr <CONFIG_SYS_SDRAM_BASE ) || - (end_addr > (CONFIG_SYS_SDRAM_BASE + + (end_addr <CFG_SYS_SDRAM_BASE ) || + (end_addr > (CFG_SYS_SDRAM_BASE +get_effective_memsize () -1 )) || (start_addr >= end_addr)) {puts ("Invalid start or end address!\n" );return cmd_usage (cmdtp);
common/board_f.c +4 -4
@@ -329,12 +329,12 @@ __weak int mach_cpu_init(void)/* Get the top of usable RAM */ __weak phys_size_t board_get_usable_ram_top (phys_size_t total_size) { -#if defined(CONFIG_SYS_SDRAM_BASE ) &&CONFIG_SYS_SDRAM_BASE >0 +#if defined(CFG_SYS_SDRAM_BASE ) &&CFG_SYS_SDRAM_BASE >0 /* * Detect whether we have so much RAM that it goes past the end of our * 32-bit address space. If so, clip the usable RAM so it doesn't. */ -if (gd->ram_top <CONFIG_SYS_SDRAM_BASE ) +if (gd->ram_top <CFG_SYS_SDRAM_BASE )/* * Will wrap back to top of 32-bit space when reservations * are made.
@@ -369,8 +369,8 @@ static int setup_dest_addr(void)*/ gd->ram_size -=CONFIG_SYS_MEM_TOP_HIDE ;#endif -#ifdef CONFIG_SYS_SDRAM_BASE - gd->ram_base =CONFIG_SYS_SDRAM_BASE ; +#ifdef CFG_SYS_SDRAM_BASE + gd->ram_base =CFG_SYS_SDRAM_BASE ;#endif gd->ram_top = gd->ram_base +get_effective_memsize (); gd->ram_top =board_get_usable_ram_top (gd->mon_len);
doc/arch/m68k.rst +8 -8
@@ -142,21 +142,21 @@ CONFIG_SYS_CACHE_DCACR: cache-related registers config CONFIG_SYS_CACHE_ACRX: cache-related registers config -CONFIG_SYS_SDRAM_BASE: +CFG_SYS_SDRAM_BASE: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_SIZE: +CFG_SYS_SDRAM_SIZE: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_BASEX: +CFG_SYS_SDRAM_BASEX: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_CFG1: +CFG_SYS_SDRAM_CFG1: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_CFG2: +CFG_SYS_SDRAM_CFG2: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_CTRL: +CFG_SYS_SDRAM_CTRL: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_MODE: +CFG_SYS_SDRAM_MODE: SDRAM config for SDRAM controller-specific registers -CONFIG_SYS_SDRAM_EMOD: +CFG_SYS_SDRAM_EMOD: SDRAM config for SDRAM controller-specific registers, please see arch/m68k/cpu/<specific_cpu>/start.S files to see how these options are used.
doc/arch/nios2.rst +2 -2
@@ -96,8 +96,8 @@ to 0xDxxx_xxxx. .. code-block:: c - #define CONFIG_SYS_SDRAM_BASE 0xc8000000 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 + #define CFG_SYS_SDRAM_BASE 0xc8000000 + #define CFG_SYS_SDRAM_SIZE 0x08000000 You will need to change the environment variables location and setting, too. You may change other configs to fit your board.
drivers/ddr/fsl/arm_ddr_gen3.c +1 -1
@@ -130,7 +130,7 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,if (is_warm_boot ()) {ddr_out32 (&ddr->sdram_cfg_2, regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT ); -ddr_out32 (&ddr->init_addr,CONFIG_SYS_SDRAM_BASE ); +ddr_out32 (&ddr->init_addr,CFG_SYS_SDRAM_BASE );ddr_out32 (&ddr->init_ext_addr,DDR_INIT_ADDR_EXT_UIA );/* DRAM VRef will not be trained */
drivers/ddr/fsl/fsl_ddr_gen4.c +1 -1
@@ -230,7 +230,7 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,if (is_warm_boot ()) {ddr_out32 (&ddr->sdram_cfg_2, regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT ); -ddr_out32 (&ddr->init_addr,CONFIG_SYS_SDRAM_BASE ); +ddr_out32 (&ddr->init_addr,CFG_SYS_SDRAM_BASE );ddr_out32 (&ddr->init_ext_addr,DDR_INIT_ADDR_EXT_UIA );/* DRAM VRef will not be trained */
drivers/ddr/fsl/main.c +1 -1
@@ -30,7 +30,7 @@*/ #ifndef CFG_SYS_FSL_DDR_SDRAM_BASE_PHY #ifdef CONFIG_MPC83xx -#define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE +#define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CFG_SYS_SDRAM_BASE#else #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE#endif
drivers/ddr/fsl/mpc85xx_ddr_gen3.c +1 -1
@@ -162,7 +162,7 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,if (is_warm_boot ()) {out_be32 (&ddr->sdram_cfg_2, regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT ); -out_be32 (&ddr->init_addr,CONFIG_SYS_SDRAM_BASE ); +out_be32 (&ddr->init_addr,CFG_SYS_SDRAM_BASE );out_be32 (&ddr->init_ext_addr,DDR_INIT_ADDR_EXT_UIA );/* DRAM VRef will not be trained */
drivers/ddr/marvell/axp/ddr3_axp.h +2 -2
@@ -19,10 +19,10 @@#define FAR_END_DIMM_ADDR 0x50#define MAX_DIMM_ADDR 0x60 -#ifndef CONFIG_SYS_SDRAM_SIZE +#ifndef CFG_SYS_SDRAM_SIZE #define SDRAM_CS_SIZE 0xFFFFFFF#else -#define SDRAM_CS_SIZE ((CONFIG_SYS_SDRAM_SIZE >> 10) - 1) +#define SDRAM_CS_SIZE ((CFG_SYS_SDRAM_SIZE >> 10) - 1)#endif #define SDRAM_CS_BASE 0x0#define SDRAM_DIMM_SIZE 0x80000000
drivers/pci/Kconfig +1 -1
@@ -60,7 +60,7 @@ config PCI_MAP_SYSTEM_MEMORY instead of a physical address (e.g. on MIPS). The PCI core will then remap the virtual memory base address to a physical address when adding the PCI region of type PCI_REGION_SYS_MEMORY. - This should only be required on MIPS where CONFIG_SYS_SDRAM_BASE is still + This should only be required on MIPS where CFG_SYS_SDRAM_BASE is still being used as virtual address. config PCI_SRIOV
drivers/pci/pci-rcar-gen2.c +2 -2
@@ -191,7 +191,7 @@ static int rcar_gen2_pci_probe(struct udevice *dev)/* AHB-PCI Bridge Communication Registers */ writel (RCAR_AHB_BUS_MODE , priv->cfg_base +RCAR_AHB_BUS_CTR_REG ); -writel ((CONFIG_SYS_SDRAM_BASE &0xf0000000 ) |RCAR_PCIAHB_PREFETCH16 , +writel ((CFG_SYS_SDRAM_BASE &0xf0000000 ) |RCAR_PCIAHB_PREFETCH16 , priv->cfg_base +RCAR_PCIAHB_WIN1_CTR_REG );writel (0xf0000000 |RCAR_PCIAHB_PREFETCH16 , priv->cfg_base +RCAR_PCIAHB_WIN2_CTR_REG );
@@ -204,7 +204,7 @@ static int rcar_gen2_pci_probe(struct udevice *dev)/* PCI Configuration Registers for AHBPCI */ devad =setup_bus_address (dev,PCI_BDF (0 ,0 ,0 ),0 );writel (priv->cfg_base +0x800 , devad +PCI_BASE_ADDRESS_0 ); -writel (CONFIG_SYS_SDRAM_BASE &0xf0000000 , devad +PCI_BASE_ADDRESS_1 ); +writel (CFG_SYS_SDRAM_BASE &0xf0000000 , devad +PCI_BASE_ADDRESS_1 );writel (0xf0000000 , devad +PCI_BASE_ADDRESS_2 ); writel(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | PCI_COMMAND_PARITY | PCI_COMMAND_SERR,
drivers/pci/pci_sh7751.c +3 -3
@@ -158,9 +158,9 @@ static int sh7751_pci_probe(struct udevice *dev)/* Set up target memory mappings (for external DMA access) */ /* Map both P0 and P2 range to Area 3 RAM for ease of use */ -p4_out (CONFIG_SYS_SDRAM_SIZE -0x100000 ,SH7751_PCILSR0 ); -p4_out (CONFIG_SYS_SDRAM_BASE &0x1FF00000 ,SH7751_PCILAR0 ); -p4_out (CONFIG_SYS_SDRAM_BASE &0xFFF00000 ,SH7751_PCICONF5 ); +p4_out (CFG_SYS_SDRAM_SIZE -0x100000 ,SH7751_PCILSR0 ); +p4_out (CFG_SYS_SDRAM_BASE &0x1FF00000 ,SH7751_PCILAR0 ); +p4_out (CFG_SYS_SDRAM_BASE &0xFFF00000 ,SH7751_PCICONF5 );p4_out (0 ,SH7751_PCILSR1 );p4_out (0 ,SH7751_PCILAR1 );
drivers/pci/pcie_dw_mvebu.c +2 -2
@@ -459,9 +459,9 @@ static void pcie_dw_set_host_bars(const void *regs_base) }
Lines of this file are not shown. View the raw message.
include/configs/gardena-smart-gateway-at91sam.h +2 -2
Lines of this file are not shown. View the raw message.
include/configs/gardena-smart-gateway-mt7688.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/imx8mm_data_modul_edm_sbc.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/imx8mn_bsh_smm_s2_common.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/microchip_mpfs_icicle.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/somlabs_visionsom_6ull.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/xilinx_zynqmp_mini_nand.h +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.
Re: [PATCH 13/17] global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*
Quoted 7 lines · Tom Rini
The rest of the unmigrated CONFIG symbols in the
CONFIG_SYS_SDRAMnamespace do not easily transition toKconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.Signed-off-by Tom Rini <[email protected]>
Quoted 11 lines
--- README | 2 +- arch/arc/lib/cache.c | 4 +- arch/arc/lib/cpu.c | 2 +- arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 6 +-- arch/arm/dts/rockchip-optee.dtsi | 4 +- arch/arm/include/asm/emif.h | 2 +- arch/arm/include/asm/iproc-common/configs.h | 2 +- arch/arm/mach-aspeed/ast2500/board_common.c | 2 +- arch/arm/mach-aspeed/ast2600/board_common.c | 2 +-
PATCH 14/17 Convert CONFIG_SYS_TIMER_COUNTS_DOWN to Kconfig
In reply to Tom RiniThis converts the following to Kconfig:
CONFIG_SYS_TIMER_COUNTS_DOWN
--- arch/arm/mach-kirkwood/include/mach/config.h | 1 - arch/sh/include/asm/config.h | 1 - configs/alt_defconfig | 1 + configs/bitmain_antminer_s9_defconfig | 1 + configs/blanche_defconfig | 1 + configs/gose_defconfig | 1 + configs/koelsch_defconfig | 1 + configs/lager_defconfig | 1 + configs/porter_defconfig | 1 + configs/r2dplus_defconfig | 1 + configs/silk_defconfig | 1 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_dbm_soc1_defconfig | 1 + configs/socfpga_de0_nano_soc_defconfig | 1 + configs/socfpga_de10_nano_defconfig | 1 + configs/socfpga_de10_standard_defconfig | 1 + configs/socfpga_de1_soc_defconfig | 1 + configs/socfpga_is1_defconfig | 1 + configs/socfpga_mcvevk_defconfig | 1 + configs/socfpga_secu1_defconfig | 1 + configs/socfpga_sockit_defconfig | 1 + configs/socfpga_socrates_defconfig | 1 + configs/socfpga_sr1500_defconfig | 1 + configs/socfpga_vining_fpga_defconfig | 1 + configs/stout_defconfig | 1 + configs/syzygy_hub_defconfig | 1 + configs/topic_miami_defconfig | 1 + configs/topic_miamilite_defconfig | 1 + configs/topic_miamiplus_defconfig | 1 + configs/vexpress_ca9x4_defconfig | 1 + configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_nand_defconfig | 1 + configs/zynq_cse_nor_defconfig | 1 + configs/zynq_cse_qspi_defconfig | 1 + include/configs/rcar-gen2-common.h | 1 - include/configs/socfpga_common.h | 1 - include/configs/vexpress_common.h | 1 - include/configs/zynq-common.h | 1 - lib/Kconfig | 3 +++ 40 files changed, 36 insertions(+), 6 deletions(-)
arch/arm/mach-kirkwood/include/mach/config.h +0 -1
@@ -52,7 +52,6 @@/* Use common timer */ #ifndef CONFIG_TIMER -#define CONFIG_SYS_TIMER_COUNTS_DOWN #define CONFIG_SYS_TIMER_COUNTER (MVEBU_TIMER_BASE + 0x14)#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_TCLK#endif
arch/sh/include/asm/config.h +0 -1
@@ -9,7 +9,6 @@#include <asm/processor.h> /* Timer */ -#define CONFIG_SYS_TIMER_COUNTS_DOWN #define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc)/* TCNT0 */ #define CONFIG_SYS_TIMER_RATE (get_board_sys_clk() / 4)
configs/alt_defconfig +1 -0
@@ -105,3 +105,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/bitmain_antminer_s9_defconfig +1 -0
@@ -93,4 +93,5 @@ CONFIG_ZYNQ_SERIAL=y # CONFIG_WATCHDOG is not set CONFIG_WDT=y CONFIG_WDT_CDNS=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_EFI_LOADER is not set
configs/blanche_defconfig +1 -0
@@ -81,3 +81,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/gose_defconfig +1 -0
@@ -103,3 +103,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/koelsch_defconfig +1 -0
@@ -103,3 +103,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/lager_defconfig +1 -0
@@ -105,3 +105,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/porter_defconfig +1 -0
@@ -103,3 +103,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/r2dplus_defconfig +1 -0
@@ -57,4 +57,5 @@ CONFIG_SPECIFY_CONSOLE_INDEX=y CONFIG_DM_SERIAL=y CONFIG_SERIAL_RX_BUFFER=y CONFIG_SCIF_CONSOLE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y CONFIG_USE_PRIVATE_LIBGCC=y
configs/silk_defconfig +1 -0
@@ -105,3 +105,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_arria5_defconfig +1 -0
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_cyclone5_defconfig +1 -0
@@ -79,3 +79,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_dbm_soc1_defconfig +1 -0
@@ -82,3 +82,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_de0_nano_soc_defconfig +1 -0
@@ -75,3 +75,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_de10_nano_defconfig +1 -0
@@ -72,3 +72,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_de10_standard_defconfig +1 -0
@@ -72,3 +72,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_de1_soc_defconfig +1 -0
@@ -60,4 +60,5 @@ CONFIG_SPI=y CONFIG_USB=y CONFIG_USB_DWC2=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_EFI_LOADER is not set
configs/socfpga_is1_defconfig +1 -0
@@ -69,3 +69,4 @@ CONFIG_DM_RESET=y CONFIG_SPI=y CONFIG_CADENCE_QSPI=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_mcvevk_defconfig +1 -0
@@ -73,3 +73,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_secu1_defconfig +1 -0
@@ -112,4 +112,5 @@ CONFIG_DESIGNWARE_SPI=y CONFIG_WATCHDOG_TIMEOUT_MSECS=60000 CONFIG_DESIGNWARE_WATCHDOG=y CONFIG_WDT=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_GZIP is not set
configs/socfpga_sockit_defconfig +1 -0
@@ -79,3 +79,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_socrates_defconfig +1 -0
@@ -80,3 +80,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_sr1500_defconfig +1 -0
@@ -76,3 +76,4 @@ CONFIG_DM_RESET=y CONFIG_SPI=y CONFIG_CADENCE_QSPI=y # CONFIG_SPL_WDT is not set +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/socfpga_vining_fpga_defconfig +1 -0
@@ -116,3 +116,4 @@ CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_DESIGNWARE_WATCHDOG=y CONFIG_WDT=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/stout_defconfig +1 -0
@@ -104,3 +104,4 @@ CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_STORAGE=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/syzygy_hub_defconfig +1 -0
@@ -80,3 +80,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/topic_miami_defconfig +1 -0
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/topic_miamilite_defconfig +1 -0
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/topic_miamiplus_defconfig +1 -0
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/vexpress_ca9x4_defconfig +1 -0
@@ -54,3 +54,4 @@ CONFIG_SMC911X=y CONFIG_SMC911X_32_BIT=y CONFIG_BAUDRATE=38400 CONFIG_CONS_INDEX=0 +CONFIG_SYS_TIMER_COUNTS_DOWN=y
configs/xilinx_zynq_virt_defconfig +1 -0
@@ -146,6 +146,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y CONFIG_SPL_GZIP=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
configs/zynq_cse_nand_defconfig +1 -0
@@ -78,5 +78,6 @@ CONFIG_MTD_RAW_NAND=y CONFIG_NAND_ZYNQ=y CONFIG_SYS_NAND_ONFI_DETECTION=y CONFIG_ARM_DCC=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_GZIP is not set # CONFIG_LMB is not set
configs/zynq_cse_nor_defconfig +1 -0
@@ -80,5 +80,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_FLASH_QUIET_TEST=y CONFIG_ARM_DCC=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_GZIP is not set # CONFIG_LMB is not set
configs/zynq_cse_qspi_defconfig +1 -0
@@ -90,5 +90,6 @@ CONFIG_SPI_FLASH_WINBOND=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set CONFIG_ARM_DCC=y CONFIG_ZYNQ_QSPI=y +CONFIG_SYS_TIMER_COUNTS_DOWN=y # CONFIG_GZIP is not set # CONFIG_LMB is not set
include/configs/rcar-gen2-common.h +0 -1
@@ -22,7 +22,6 @@/* Timer */ #define CONFIG_TMU_TIMER -#define CONFIG_SYS_TIMER_COUNTS_DOWN #define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc)/* TCNT0 */ #define CONFIG_SYS_TIMER_RATE (get_board_sys_clk() / 8)
include/configs/socfpga_common.h +0 -1
@@ -55,7 +55,6 @@*/ #ifndef CONFIG_TIMER #define CONFIG_SYS_TIMERBASE SOCFPGA_OSC1TIMER0_ADDRESS -#define CONFIG_SYS_TIMER_COUNTS_DOWN #define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4)#ifndef CONFIG_SYS_TIMER_RATE #define CONFIG_SYS_TIMER_RATE 25000000
include/configs/vexpress_common.h +0 -1
@@ -114,7 +114,6 @@#define CONFIG_SYS_TIMER_RATE 1000000#define CONFIG_SYS_TIMER_COUNTER (V2M_TIMER01 + 0x4) -#define CONFIG_SYS_TIMER_COUNTS_DOWN /* PL011 Serial Configuration */ #define CONFIG_PL011_CLOCK 24000000
include/configs/zynq-common.h +0 -1
@@ -16,7 +16,6 @@#define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600#define CONFIG_SYS_TIMERBASE ZYNQ_SCUTIMER_BASEADDR -#define CONFIG_SYS_TIMER_COUNTS_DOWN #define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4)/* GUIDs for capsule updatable firmware images */
lib/Kconfig +3 -0
@@ -15,6 +15,9 @@ config SYS_NUM_ADDR_MAP help Sets the number of entries in the virtual-physical mapping table. +config SYS_TIMER_COUNTS_DOWN + bool "System timer counts down rathe than up" + config PHYSMEM bool "Access to physical memory region (> 4G)" help
Signature · 1 line
2.25.1
Re: [PATCH 14/17] Convert CONFIG_SYS_TIMER_COUNTS_DOWN to Kconfig
Quoted 39 lines · Tom Rini
This converts the following to
Kconfig:
CONFIG_SYS_TIMER_COUNTS_DOWNSigned-off-by Tom Rini <[email protected]>--- arch/arm/mach-kirkwood/include/mach/config.h | 1 - arch/sh/include/asm/config.h | 1 - configs/alt_defconfig | 1 + configs/bitmain_antminer_s9_defconfig | 1 + configs/blanche_defconfig | 1 + configs/gose_defconfig | 1 + configs/koelsch_defconfig | 1 + configs/lager_defconfig | 1 + configs/porter_defconfig | 1 + configs/r2dplus_defconfig | 1 + configs/silk_defconfig | 1 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_dbm_soc1_defconfig | 1 + configs/socfpga_de0_nano_soc_defconfig | 1 + configs/socfpga_de10_nano_defconfig | 1 + configs/socfpga_de10_standard_defconfig | 1 + configs/socfpga_de1_soc_defconfig | 1 + configs/socfpga_is1_defconfig | 1 + configs/socfpga_mcvevk_defconfig | 1 + configs/socfpga_secu1_defconfig | 1 + configs/socfpga_sockit_defconfig | 1 + configs/socfpga_socrates_defconfig | 1 + configs/socfpga_sr1500_defconfig | 1 + configs/socfpga_vining_fpga_defconfig | 1 + configs/stout_defconfig | 1 + configs/syzygy_hub_defconfig | 1 + configs/topic_miami_defconfig | 1 + configs/topic_miamilite_defconfig | 1 + configs/topic_miamiplus_defconfig | 1 + configs/vexpress_ca9x4_defconfig | 1 + configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_nand_defconfig | 1 +
Quoted 8 lines
configs/zynq_cse_nor_defconfig | 1 + configs/zynq_cse_qspi_defconfig | 1 + include/configs/rcar-gen2-common.h | 1 - include/configs/socfpga_common.h | 1 - include/configs/vexpress_common.h | 1 - include/configs/zynq-common.h | 1 - lib/Kconfig | 3 +++ 40 files changed, 36 insertions(+), 6 deletions(-)
PATCH 15/17 Convert CONFIG_SYS_SRIO et al to Kconfig
In reply to Tom RiniThis converts the following to Kconfig:
CONFIG_SRIO1
CONFIG_SRIO2
CONFIG_SRIO_PCIE_BOOT_MASTER
CONFIG_SYS_SRIO
--- README | 12 ------------ arch/powerpc/Kconfig | 15 +++++++++++++++ configs/MPC8548CDS_36BIT_defconfig | 2 ++ configs/MPC8548CDS_defconfig | 2 ++ configs/MPC8548CDS_legacy_defconfig | 2 ++ configs/P2041RDB_NAND_defconfig | 4 ++++ configs/P2041RDB_SDCARD_defconfig | 4 ++++ configs/P2041RDB_SPIFLASH_defconfig | 4 ++++ configs/P2041RDB_defconfig | 4 ++++ configs/T2080QDS_NAND_defconfig | 4 ++++ configs/T2080QDS_SDCARD_defconfig | 4 ++++ configs/T2080QDS_SECURE_BOOT_defconfig | 4 ++++ configs/T2080QDS_SPIFLASH_defconfig | 4 ++++ configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 4 ++++ configs/T2080QDS_defconfig | 4 ++++ include/configs/MPC8548CDS.h | 3 --- include/configs/P2041RDB.h | 5 ----- include/configs/T102xRDB.h | 2 -- include/configs/T208xQDS.h | 6 ------ include/configs/T208xRDB.h | 1 - 20 files changed, 61 insertions(+), 29 deletions(-)
README +0 -12
@@ -1686,18 +1686,6 @@ Low Level (hardware related) configuration options: - CONFIG_SYS_OR_TIMING_SDRAM: SDRAM timing -- CONFIG_SYS_SRIO: - Chip has SRIO or not - -- CONFIG_SRIO1: - Board has SRIO 1 port available - -- CONFIG_SRIO2: - Board has SRIO 2 port available - -- CONFIG_SRIO_PCIE_BOOT_MASTER - Board can support master function for Boot from SRIO and PCIE - - CONFIG_SYS_SRIOn_MEM_VIRT: Virtual Address of SRIO port 'n' memory region
arch/powerpc/Kconfig +15 -0
@@ -44,6 +44,21 @@ config SYS_INIT_RAM_LOCK bool "Lock some portion of L1 for initial ram stack" depends on MPC83xx || MPC85xx +config SYS_SRIO + bool "Serial RapidIO support" + +config SRIO1 + bool "Board has SRIO 1 port available" + depends on SYS_SRIO + +config SRIO2 + bool "Board has SRIO 2 port available" + depends on SYS_SRIO + +config SRIO_PCIE_BOOT_MASTER + bool "Board can support master function for Boot from SRIO and PCIE" + depends on SYS_SRIO + source "arch/powerpc/cpu/mpc83xx/Kconfig" source "arch/powerpc/cpu/mpc85xx/Kconfig" source "arch/powerpc/cpu/mpc8xx/Kconfig"
configs/MPC8548CDS_36BIT_defconfig +2 -0
@@ -8,6 +8,8 @@ CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds_36b" CONFIG_ENV_ADDR=0xFFF60000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y # CONFIG_CMD_ERRATA is not set CONFIG_TARGET_MPC8548CDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/MPC8548CDS_defconfig +2 -0
@@ -8,6 +8,8 @@ CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds" CONFIG_ENV_ADDR=0xFFF60000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y # CONFIG_CMD_ERRATA is not set CONFIG_TARGET_MPC8548CDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/MPC8548CDS_legacy_defconfig +2 -0
@@ -8,6 +8,8 @@ CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds" CONFIG_ENV_ADDR=0xFFF60000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y # CONFIG_CMD_ERRATA is not set CONFIG_TARGET_MPC8548CDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/P2041RDB_NAND_defconfig +4 -0
@@ -6,6 +6,10 @@ CONFIG_ENV_OFFSET=0xE0000 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb" CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_P2041RDB=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/P2041RDB_SDCARD_defconfig +4 -0
@@ -6,6 +6,10 @@ CONFIG_ENV_OFFSET=0xCF400 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb" CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_P2041RDB=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/P2041RDB_SPIFLASH_defconfig +4 -0
@@ -7,6 +7,10 @@ CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb" CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_P2041RDB=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/P2041RDB_defconfig +4 -0
@@ -7,6 +7,10 @@ CONFIG_DEFAULT_DEVICE_TREE="p2041rdb" CONFIG_ENV_ADDR=0xEFF20000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_P2041RDB=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/T2080QDS_NAND_defconfig +4 -0
@@ -11,6 +11,10 @@ CONFIG_SPL_DRIVERS_MISC=y CONFIG_SPL=y CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_ENABLE_36BIT_PHYS=y CONFIG_SYS_BOOK3E_HV=y
configs/T2080QDS_SDCARD_defconfig +4 -0
@@ -12,6 +12,10 @@ CONFIG_SPL_DRIVERS_MISC=y CONFIG_SPL=y CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_ENABLE_36BIT_PHYS=y CONFIG_SYS_BOOK3E_HV=y
configs/T2080QDS_SECURE_BOOT_defconfig +4 -0
@@ -4,6 +4,10 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_DEFAULT_DEVICE_TREE="t2080qds" CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/T2080QDS_SPIFLASH_defconfig +4 -0
@@ -14,6 +14,10 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_ENABLE_36BIT_PHYS=y CONFIG_SYS_BOOK3E_HV=y
configs/T2080QDS_SRIO_PCIE_BOOT_defconfig +4 -0
@@ -5,6 +5,10 @@ CONFIG_DEFAULT_DEVICE_TREE="t2080qds" CONFIG_ENV_ADDR=0xFFE20000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
configs/T2080QDS_defconfig +4 -0
@@ -6,6 +6,10 @@ CONFIG_DEFAULT_DEVICE_TREE="t2080qds" CONFIG_ENV_ADDR=0xEFF20000 CONFIG_MPC85xx=y CONFIG_SYS_INIT_RAM_LOCK=y +CONFIG_SYS_SRIO=y +CONFIG_SRIO1=y +CONFIG_SRIO2=y +CONFIG_SRIO_PCIE_BOOT_MASTER=y CONFIG_TARGET_T2080QDS=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y CONFIG_ENABLE_36BIT_PHYS=y
include/configs/MPC8548CDS.h +0 -3
@@ -13,9 +13,6 @@#ifndef __CONFIG_H#define __CONFIG_H -#define CONFIG_SYS_SRIO -#define CONFIG_SRIO1 /* SRIO port 1 */ -#define CONFIG_INTERRUPTS /* enable pci, srio, ddr interrupts */ #ifndef __ASSEMBLY__
include/configs/P2041RDB.h +0 -5
@@ -32,11 +32,6 @@#define CFG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS -#define CONFIG_SYS_SRIO -#define CONFIG_SRIO1 /* SRIO port 1 */ -#define CONFIG_SRIO2 /* SRIO port 2 */ -#define CONFIG_SRIO_PCIE_BOOT_MASTER -#ifndef __ASSEMBLY__#include <linux/stringify.h> #endif
include/configs/T102xRDB.h +0 -2
@@ -49,8 +49,6 @@#define CONFIG_RESET_VECTOR_ADDRESS 0xeffffffc#endif -/* PCIe Boot - Master */ -#define CONFIG_SRIO_PCIE_BOOT_MASTER /* * for slave u-boot IMAGE instored in master memory space, * PHYS must be aligned based on the SIZE
include/configs/T208xQDS.h +0 -6
@@ -14,11 +14,6 @@#include <linux/stringify.h> #define CONFIG_ICS307_REFCLK_HZ 25000000/* ICS307 ref clk freq */ -#if defined(CONFIG_ARCH_T2080 ) -#define CONFIG_SYS_SRIO /* Enable Serial RapidIO Support */ -#define CONFIG_SRIO1 /* SRIO port 1 */ -#define CONFIG_SRIO2 /* SRIO port 2 */ -#endif /* High Level Configuration Options */
@@ -52,7 +47,6 @@#endif /* CONFIG_RAMBOOT_PBL */ -#define CONFIG_SRIO_PCIE_BOOT_MASTER #ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE /* Set 1M boot space */ #define CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR (CONFIG_TEXT_BASE & 0xfff00000)
include/configs/T208xRDB.h +0 -1
@@ -47,7 +47,6 @@#endif /* CONFIG_RAMBOOT_PBL */ -#define CONFIG_SRIO_PCIE_BOOT_MASTER #ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE /* Set 1M boot space */ #define CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR (CONFIG_TEXT_BASE & 0xfff00000)
Signature · 1 line
2.25.1
Re: [PATCH 15/17] Convert CONFIG_SYS_SRIO et al to Kconfig
Quoted 22 lines · Tom Rini
This converts the following to
Kconfig:
CONFIG_SRIO1
CONFIG_SRIO2
CONFIG_SRIO_PCIE_BOOT_MASTER
CONFIG_SYS_SRIOSigned-off-by Tom Rini <[email protected]>--- README | 12 ------------ arch/powerpc/Kconfig | 15 +++++++++++++++ configs/MPC8548CDS_36BIT_defconfig | 2 ++ configs/MPC8548CDS_defconfig | 2 ++ configs/MPC8548CDS_legacy_defconfig | 2 ++ configs/P2041RDB_NAND_defconfig | 4 ++++ configs/P2041RDB_SDCARD_defconfig | 4 ++++ configs/P2041RDB_SPIFLASH_defconfig | 4 ++++ configs/P2041RDB_defconfig | 4 ++++ configs/T2080QDS_NAND_defconfig | 4 ++++ configs/T2080QDS_SDCARD_defconfig | 4 ++++ configs/T2080QDS_SECURE_BOOT_defconfig | 4 ++++ configs/T2080QDS_SPIFLASH_defconfig | 4 ++++
Quoted 8 lines
configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 4 ++++ configs/T2080QDS_defconfig | 4 ++++ include/configs/MPC8548CDS.h | 3 --- include/configs/P2041RDB.h | 5 ----- include/configs/T102xRDB.h | 2 -- include/configs/T208xQDS.h | 6 ------ include/configs/T208xRDB.h | 1 - 20 files changed, 61 insertions(+), 29 deletions(-)
PATCH 16/17 global: Move remaining CONFIG_*SRIO_* to CFG_*
In reply to Tom RiniThe rest of the unmigrated CONFIG symbols in the SRIO namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.
--- arch/powerpc/cpu/mpc8xxx/law.c | 20 +++---- arch/powerpc/cpu/mpc8xxx/srio.c | 72 +++++++++++++------------- board/freescale/common/p_corenet/tlb.c | 8 +-- board/freescale/t208xqds/tlb.c | 8 +-- board/freescale/t208xrdb/tlb.c | 8 +-- include/configs/MPC8548CDS.h | 8 +-- include/configs/P2041RDB.h | 46 ++++++++-------- include/configs/T102xRDB.h | 38 +++++++------- include/configs/T208xQDS.h | 42 +++++++-------- include/configs/T208xRDB.h | 42 +++++++-------- 10 files changed, 146 insertions(+), 146 deletions(-)
arch/powerpc/cpu/mpc8xxx/law.c +10 -10
@@ -309,42 +309,42 @@ void init_laws(void)*/ switch ((bootloc &FSL_CORENET_RCWSR6_BOOT_LOC ) >>23 ) {case 0x0 :/* boot from PCIE1 */ -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_1 ); -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_1 );break ;case 0x1 :/* boot from PCIE2 */ -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_2 ); -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_2 );break ;case 0x2 :/* boot from PCIE3 */ -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_3 ); -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_PCIE_3 );break ;case 0x8 :/* boot from SRIO1 */ -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_RIO_1 ); -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_RIO_1 );break ;case 0x9 :/* boot from SRIO2 */ -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_RIO_2 ); -set_next_law (CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS , +set_next_law (CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_RIO_2 );break ;
arch/powerpc/cpu/mpc8xxx/srio.c +36 -36
154 lines not on this page · raw message
board/freescale/common/p_corenet/tlb.c +4 -4
@@ -69,8 +69,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. When slave boot, the address of the * space is at 0xfff00000, it covered the 0xfffff000. */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , -CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , +CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_W |MAS2_G , 0, 0, BOOKE_PAGESZ_1M, 1), #else
@@ -150,8 +150,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. 1M space from 0xffe00000 for * fetching ucode and ENV from master */ - SET_TLB_ENTRY(1, CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, - CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, + SET_TLB_ENTRY(1, CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, + CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, MAS3_SX|MAS3_SW|MAS3_SR, MAS2_G, 0, 17, BOOKE_PAGESZ_1M, 1),#endif
board/freescale/t208xqds/tlb.c +4 -4
@@ -43,8 +43,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. When slave boot, the address of the * space is at 0xfff00000, it covered the 0xfffff000. */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , -CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , +CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_W |MAS2_G , 0, 0, BOOKE_PAGESZ_1M, 1), #else
@@ -136,8 +136,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. 1M space from 0xffe00000 for * fetching ucode and ENV from master */ - SET_TLB_ENTRY(1, CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, - CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, + SET_TLB_ENTRY(1, CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, + CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, MAS3_SX|MAS3_SW|MAS3_SR, MAS2_G, 0, 18, BOOKE_PAGESZ_1M, 1),#endif
board/freescale/t208xrdb/tlb.c +4 -4
@@ -43,8 +43,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. When slave boot, the address of the * space is at 0xfff00000, it covered the 0xfffff000. */ -SET_TLB_ENTRY (1 ,CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , -CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS , +SET_TLB_ENTRY (1 ,CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR , +CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS ,MAS3_SX |MAS3_SW |MAS3_SR ,MAS2_W |MAS2_G , 0, 0, BOOKE_PAGESZ_1M, 1), #else
@@ -136,8 +136,8 @@ struct fsl_e_tlb_entry tlb_table[] = {* SRIO_PCIE_BOOT-SLAVE. 1M space from 0xffe00000 for * fetching ucode and ENV from master */ - SET_TLB_ENTRY(1, CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, - CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, + SET_TLB_ENTRY(1, CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, + CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, MAS3_SX|MAS3_SW|MAS3_SR, MAS2_G, 0, 18, BOOKE_PAGESZ_1M, 1),#endif
include/configs/MPC8548CDS.h +4 -4
@@ -282,13 +282,13 @@/* * RapidIO MMU */ -#define CONFIG_SYS_SRIO1_MEM_VIRT 0xc0000000 +#define CFG_SYS_SRIO1_MEM_VIRT 0xc0000000#ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_SRIO1_MEM_PHYS 0xc40000000ull +#define CFG_SYS_SRIO1_MEM_PHYS 0xc40000000ull#else -#define CONFIG_SYS_SRIO1_MEM_PHYS 0xc0000000 +#define CFG_SYS_SRIO1_MEM_PHYS 0xc0000000#endif -#define CONFIG_SYS_SRIO1_MEM_SIZE 0x20000000/* 512M */ +#define CFG_SYS_SRIO1_MEM_SIZE 0x20000000/* 512M */ #if defined(CONFIG_TSEC_ENET )
include/configs/P2041RDB.h +23 -23
81 lines not on this page · raw message
include/configs/T102xRDB.h +19 -19
@@ -53,40 +53,40 @@* for slave u-boot IMAGE instored in master memory space, * PHYS must be aligned based on the SIZE */ -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS1 0xfff00000ull -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_SIZE 0x100000/* 1M */ +#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS1 0xfff00000ull +#define CFG_SRIO_PCIE_BOOT_IMAGE_SIZE 0x100000/* 1M */ #ifdef CONFIG_PHYS_64BIT -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_MEM_PHYS 0xfef200000ull -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS2 0x3fff00000ull +#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_PHYS 0xfef200000ull +#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS2 0x3fff00000ull#else -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_MEM_PHYS 0xef200000 -#define CONFIG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS2 0xfff00000 +#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_PHYS 0xef200000 +#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS2 0xfff00000#endif /* * for slave UCODE and ENV instored in master memory space, * PHYS must be aligned based on the SIZE */ #ifdef CONFIG_PHYS_64BIT -#define CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_PHYS 0xfef100000ull -#define CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_BUS 0x3ffe00000ull +#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_PHYS 0xfef100000ull +#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_BUS 0x3ffe00000ull#else -#define CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_PHYS 0xef100000 -#define CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_BUS 0xffe00000 +#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_PHYS 0xef100000 +#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_BUS 0xffe00000#endif -#define CONFIG_SRIO_PCIE_BOOT_UCODE_ENV_SIZE 0x40000/* 256K */ +#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_SIZE 0x40000/* 256K */ /* slave core release by master*/ -#define CONFIG_SRIO_PCIE_BOOT_BRR_OFFSET 0xe00e4 -#define CONFIG_SRIO_PCIE_BOOT_RELEASE_MASK 0x00000001/* release core 0 */ +#define CFG_SRIO_PCIE_BOOT_BRR_OFFSET 0xe00e4 +#define CFG_SRIO_PCIE_BOOT_RELEASE_MASK 0x00000001/* release core 0 */ /* PCIe Boot - Slave */ #ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE -#define CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR 0xFFE00000 -#define CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS \ - (0x300000000ull | CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR) +#define CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR 0xFFE00000 +#define CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS \ + (0x300000000ull | CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR)/* Set 1M boot space for PCIe boot */ -#define CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR (CONFIG_TEXT_BASE & 0xfff00000) -#define CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS \ - (0x300000000ull | CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR) +#define CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR (CONFIG_TEXT_BASE & 0xfff00000) +#define CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS \ + (0x300000000ull | CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR)#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc#endif
include/configs/T208xQDS.h +21 -21
69 lines not on this page · raw message
include/configs/T208xRDB.h +21 -21
69 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [PATCH 16/17] global: Move remaining CONFIG_*SRIO_* to CFG_*
Quoted 7 lines · Tom Rini
The rest of the unmigrated CONFIG symbols in the SRIO namespace do not easily transition to
Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace.Signed-off-by Tom Rini <[email protected]>
Quoted 13 lines
--- arch/powerpc/cpu/mpc8xxx/law.c | 20 +++---- arch/powerpc/cpu/mpc8xxx/srio.c | 72 +++++++++++++------------- board/freescale/common/p_corenet/tlb.c | 8 +-- board/freescale/t208xqds/tlb.c | 8 +-- board/freescale/t208xrdb/tlb.c | 8 +-- include/configs/MPC8548CDS.h | 8 +-- include/configs/P2041RDB.h | 46 ++++++++-------- include/configs/T102xRDB.h | 38 +++++++------- include/configs/T208xQDS.h | 42 +++++++-------- include/configs/T208xRDB.h | 42 +++++++-------- 10 files changed, 146 insertions(+), 146 deletions(-)