global: Move remaining CONFIG_SYS_NOR_* to CFG_SYS_NOR_*
Subsystems (58)
PATCH 17/17 global: Move remaining CONFIG_SYS_* to CFG_SYS_*
In reply to Tom RiniThe rest of the unmigrated CONFIG symbols in the CONFIG_SYS 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.
--- .checkpatch.conf | 2 +- Kconfig | 6 +- Makefile | 16 +- README | 66 +-- arch/arm/cpu/arm1176/start.S | 2 +- arch/arm/cpu/arm926ejs/start.S | 2 +- arch/arm/cpu/armv7/arch_timer.c | 6 +- arch/arm/cpu/armv7/ls102xa/cpu.c | 4 +- arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +- arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 4 +- arch/arm/cpu/armv7/stv0991/timer.c | 4 +- arch/arm/cpu/armv7m/systick-timer.c | 8 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 54 +-- .../cpu/armv8/fsl-layerscape/doc/README.lsch3 | 4 +- .../arm/cpu/armv8/fsl-layerscape/ls1043_ids.c | 2 +- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 6 +- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +- arch/arm/cpu/armv8/sec_firmware.c | 4 +- .../include/asm/arch-fsl-layerscape/config.h | 36 +- .../asm/arch-fsl-layerscape/fsl_icid.h | 4 +- .../asm/arch-fsl-layerscape/immap_lsch2.h | 80 ++-- .../asm/arch-fsl-layerscape/immap_lsch3.h | 10 +- arch/arm/include/asm/arch-lpc32xx/config.h | 4 +- arch/arm/include/asm/arch-ls102xa/config.h | 22 +- .../include/asm/arch-ls102xa/immap_ls102xa.h | 18 +- .../asm/arch-ls102xa/ls102xa_stream_id.h | 4 +- arch/arm/include/asm/arch-mx31/imx-regs.h | 4 +- .../include/asm/arch-stv0991/stv0991_gpt.h | 2 +- arch/arm/include/asm/arch-sunxi/i2c.h | 2 +- arch/arm/include/asm/global_data.h | 2 +- arch/arm/lib/bdinfo.c | 2 +- arch/arm/lib/cache-pl310.c | 2 +- arch/arm/lib/cache.c | 2 +- arch/arm/lib/vectors.S | 4 +- arch/arm/mach-at91/arm920t/clock.c | 6 +- arch/arm/mach-at91/arm920t/cpu.c | 6 +- arch/arm/mach-at91/arm920t/lowlevel_init.S | 18 +- arch/arm/mach-at91/arm920t/timer.c | 4 +- arch/arm/mach-at91/arm926ejs/clock.c | 6 +- arch/arm/mach-at91/arm926ejs/cpu.c | 6 +- arch/arm/mach-at91/arm926ejs/lowlevel_init.S | 54 +-- arch/arm/mach-at91/armv7/clock.c | 8 +- arch/arm/mach-at91/armv7/cpu.c | 6 +- arch/arm/mach-at91/include/mach/at91sam9260.h | 2 +- arch/arm/mach-at91/include/mach/at91sam9261.h | 2 +- arch/arm/mach-at91/include/mach/at91sam9263.h | 2 +- arch/arm/mach-at91/include/mach/at91sam9g45.h | 2 +- arch/arm/mach-at91/include/mach/at91sam9rl.h | 2 +- arch/arm/mach-at91/include/mach/at91sam9x5.h | 2 +- arch/arm/mach-at91/include/mach/sam9x60.h | 2 +- arch/arm/mach-at91/include/mach/sama5d2.h | 2 +- arch/arm/mach-at91/include/mach/sama5d3.h | 2 +- arch/arm/mach-at91/include/mach/sama5d4.h | 2 +- arch/arm/mach-at91/spl_at91.c | 12 +- arch/arm/mach-at91/spl_atmel.c | 2 +- arch/arm/mach-davinci/cpu.c | 2 +- arch/arm/mach-davinci/da850_lowlevel.c | 24 +- arch/arm/mach-davinci/timer.c | 4 +- arch/arm/mach-exynos/spl_boot.c | 2 +- arch/arm/mach-imx/image-container.c | 8 +- arch/arm/mach-imx/mx5/lowlevel_init.S | 10 +- arch/arm/mach-k3/config_secure.mk | 2 +- arch/arm/mach-keystone/cmd_mon.c | 2 +- .../arm/mach-keystone/include/mach/hardware.h | 2 +- arch/arm/mach-kirkwood/include/mach/config.h | 4 +- .../mach-kirkwood/include/mach/kw88f6192.h | 2 +- .../mach-kirkwood/include/mach/kw88f6281.h | 2 +- arch/arm/mach-mvebu/cpu.c | 4 +- arch/arm/mach-mvebu/include/mach/soc.h | 10 +- arch/arm/mach-mvebu/lowlevel.S | 4 +- arch/arm/mach-npcm/npcm7xx/l2_cache_pl310.c | 2 +- arch/arm/mach-omap2/config_secure.mk | 2 +- arch/arm/mach-omap2/mem-common.c | 12 +- arch/arm/mach-omap2/timer.c | 2 +- .../arm/mach-orion5x/include/mach/mv88f5182.h | 2 +- arch/arm/mach-orion5x/timer.c | 6 +- arch/arm/mach-rmobile/include/mach/r8a7790.h | 2 +- arch/arm/mach-rmobile/include/mach/r8a7791.h | 2 +- arch/arm/mach-rmobile/include/mach/r8a7792.h | 2 +- arch/arm/mach-rmobile/include/mach/r8a7793.h | 2 +- arch/arm/mach-rmobile/include/mach/r8a7794.h | 2 +- arch/arm/mach-rmobile/timer.c | 8 +- arch/arm/mach-socfpga/misc.c | 2 +- arch/arm/mach-socfpga/misc_arria10.c | 4 +- arch/arm/mach-socfpga/misc_gen5.c | 2 +- arch/arm/mach-socfpga/spl_a10.c | 2 +- arch/arm/mach-socfpga/timer.c | 2 +- arch/arm/mach-u8500/cache.c | 2 +- arch/arm/mach-uniphier/arm32/timer.c | 2 +- arch/arm/mach-versatile/timer.c | 8 +- arch/m68k/cpu/mcf523x/cpu.c | 2 +- arch/m68k/cpu/mcf523x/cpu_init.c | 38 +- arch/m68k/cpu/mcf523x/speed.c | 2 +- arch/m68k/cpu/mcf523x/start.S | 6 +- arch/m68k/cpu/mcf52x2/cpu.c | 10 +- arch/m68k/cpu/mcf52x2/cpu_init.c | 110 ++--- arch/m68k/cpu/mcf52x2/speed.c | 14 +- arch/m68k/cpu/mcf52x2/start.S | 48 +- arch/m68k/cpu/mcf530x/cpu.c | 2 +- arch/m68k/cpu/mcf530x/cpu_init.c | 48 +- arch/m68k/cpu/mcf530x/speed.c | 4 +- arch/m68k/cpu/mcf530x/start.S | 10 +- arch/m68k/cpu/mcf532x/cpu.c | 2 +- arch/m68k/cpu/mcf532x/cpu_init.c | 86 ++-- arch/m68k/cpu/mcf532x/speed.c | 2 +- arch/m68k/cpu/mcf532x/start.S | 6 +- arch/m68k/cpu/mcf5445x/cpu_init.c | 38 +- arch/m68k/cpu/mcf5445x/start.S | 46 +- arch/m68k/include/asm/cache.h | 24 +- arch/m68k/include/asm/immap.h | 32 +- arch/m68k/include/asm/immap_520x.h | 52 +-- arch/m68k/include/asm/immap_5235.h | 72 +-- arch/m68k/include/asm/immap_5249.h | 14 +- arch/m68k/include/asm/immap_5253.h | 26 +- arch/m68k/include/asm/immap_5271.h | 72 +-- arch/m68k/include/asm/immap_5272.h | 36 +- arch/m68k/include/asm/immap_5275.h | 76 +-- arch/m68k/include/asm/immap_5282.h | 72 +-- arch/m68k/include/asm/immap_5301x.h | 80 ++-- arch/m68k/include/asm/immap_5307.h | 18 +- arch/m68k/include/asm/m5249.h | 16 +- arch/m68k/include/asm/m5271.h | 12 +- arch/m68k/include/asm/m5282.h | 388 ++++++++-------- arch/m68k/lib/bdinfo.c | 4 +- arch/m68k/lib/cache.c | 24 +- arch/mips/mach-mtmips/mt7621/spl/start.S | 2 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 46 +- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 14 +- arch/powerpc/cpu/mpc83xx/spl_minimal.c | 8 +- arch/powerpc/cpu/mpc83xx/start.S | 48 +- arch/powerpc/cpu/mpc83xx/sysio/sysio.h | 8 +- arch/powerpc/cpu/mpc85xx/b4860_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4 +- arch/powerpc/cpu/mpc85xx/cpu.c | 18 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 52 +-- arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 22 +- arch/powerpc/cpu/mpc85xx/fdt.c | 32 +- .../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 2 +- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 14 +- arch/powerpc/cpu/mpc85xx/p2041_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/p3041_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/p4080_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/p5040_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/release.S | 4 +- arch/powerpc/cpu/mpc85xx/speed.c | 42 +- arch/powerpc/cpu/mpc85xx/spl_minimal.c | 4 +- arch/powerpc/cpu/mpc85xx/start.S | 130 +++--- arch/powerpc/cpu/mpc85xx/t1024_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/t1040_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/t2080_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/t4240_ids.c | 2 +- arch/powerpc/cpu/mpc85xx/tlb.c | 8 +- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 4 +- arch/powerpc/cpu/mpc8xx/start.S | 4 +- arch/powerpc/cpu/mpc8xxx/fsl_pamu.c | 8 +- arch/powerpc/cpu/mpc8xxx/pamu_table.c | 8 +- arch/powerpc/include/asm/config_mpc85xx.h | 42 +- arch/powerpc/include/asm/fsl_lbc.h | 2 +- arch/powerpc/include/asm/fsl_liodn.h | 18 +- arch/powerpc/include/asm/fsl_secure_boot.h | 20 +- arch/powerpc/include/asm/immap_83xx.h | 10 +- arch/powerpc/include/asm/immap_85xx.h | 44 +- arch/powerpc/lib/spl.c | 2 +- arch/sh/include/asm/config.h | 4 +- arch/x86/lib/physmem.c | 2 +- arch/xtensa/include/asm/addrspace.h | 4 +- board/BuS/eb_cpu5282/eb_cpu5282.c | 6 +- board/LaCie/net2big_v2/net2big_v2.c | 12 +- board/Synology/common/legacy.c | 4 +- board/armltd/integrator/timer.c | 14 +- board/armltd/vexpress64/vexpress64.c | 4 +- board/cadence/xtfpga/xtfpga.c | 10 +- board/cavium/thunderx/atf.c | 2 +- board/cavium/thunderx/thunderx.c | 4 +- board/cobra5272/flash.c | 10 +- board/cortina/presidio-asic/lowlevel_init.S | 2 +- board/cortina/presidio-asic/presidio.c | 2 +- board/davinci/da8xxevm/da850evm.c | 16 +- board/egnite/ethernut5/ethernut5.c | 2 +- board/emulation/qemu-ppce500/qemu-ppce500.c | 6 +- board/esd/meesc/meesc.c | 2 +- board/freescale/common/fsl_chain_of_trust.c | 2 +- board/freescale/common/fsl_validate.c | 14 +- board/freescale/common/p_corenet/law.c | 14 +- board/freescale/common/p_corenet/tlb.c | 48 +- board/freescale/common/qixis.c | 10 +- board/freescale/common/qixis.h | 6 +- board/freescale/ls1012aqds/ls1012aqds.c | 4 +- board/freescale/ls1021aqds/ls1021aqds.c | 2 +- board/freescale/ls1021atwr/ls1021atwr.c | 12 +- board/freescale/ls1043aqds/ls1043aqds.c | 48 +- board/freescale/ls1043ardb/cpld.c | 4 +- board/freescale/ls1043ardb/ls1043ardb.c | 32 +- board/freescale/ls1046aqds/ls1046aqds.c | 48 +- board/freescale/ls1046ardb/cpld.c | 4 +- board/freescale/ls1088a/ls1088a.c | 30 +- board/freescale/ls2080aqds/README | 4 +- board/freescale/ls2080aqds/ls2080aqds.c | 2 +- board/freescale/lx2160a/lx2160a.c | 6 +- board/freescale/m5249evb/m5249evb.c | 6 +- board/freescale/m5253demo/flash.c | 18 +- board/freescale/m5253demo/m5253demo.c | 4 +- board/freescale/m53017evb/README | 6 +- board/freescale/m5329evb/nand.c | 2 +- board/freescale/m5373evb/README | 6 +- board/freescale/m5373evb/nand.c | 2 +- board/freescale/mpc837xerdb/mpc837xerdb.c | 28 +- board/freescale/mpc8548cds/law.c | 2 +- board/freescale/mpc8548cds/mpc8548cds.c | 12 +- board/freescale/mpc8548cds/tlb.c | 16 +- board/freescale/mx53loco/mx53loco.c | 4 +- board/freescale/p1010rdb/law.c | 4 +- board/freescale/p1010rdb/p1010rdb.c | 14 +- board/freescale/p1010rdb/spl.c | 2 +- board/freescale/p1010rdb/tlb.c | 30 +- board/freescale/p1_p2_rdb_pc/ddr.c | 56 +-- board/freescale/p1_p2_rdb_pc/law.c | 6 +- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 22 +- board/freescale/p1_p2_rdb_pc/tlb.c | 38 +- board/freescale/p2041rdb/eth.c | 24 +- board/freescale/p2041rdb/p2041rdb.c | 4 +- board/freescale/t102xrdb/cpld.c | 4 +- board/freescale/t102xrdb/ddr.c | 2 +- board/freescale/t102xrdb/law.c | 18 +- board/freescale/t102xrdb/t102xrdb.c | 6 +- board/freescale/t102xrdb/tlb.c | 54 +-- board/freescale/t104xrdb/cpld.c | 6 +- board/freescale/t104xrdb/ddr.c | 2 +- board/freescale/t104xrdb/eth.c | 18 +- board/freescale/t104xrdb/law.c | 18 +- board/freescale/t104xrdb/spl.c | 2 +- board/freescale/t104xrdb/t104xrdb.c | 6 +- board/freescale/t104xrdb/tlb.c | 58 +-- board/freescale/t208xqds/law.c | 14 +- board/freescale/t208xqds/t208xqds.c | 4 +- board/freescale/t208xqds/tlb.c | 46 +- board/freescale/t208xrdb/cpld.c | 4 +- board/freescale/t208xrdb/law.c | 18 +- board/freescale/t208xrdb/t208xrdb.c | 4 +- board/freescale/t208xrdb/tlb.c | 50 +- board/freescale/t4rdb/cpld.c | 6 +- board/freescale/t4rdb/law.c | 18 +- board/freescale/t4rdb/t4240rdb.c | 4 +- board/freescale/t4rdb/tlb.c | 50 +- board/gdsys/mpc8308/sdram.c | 24 +- board/isee/igep00x0/igep00x0.c | 2 +- board/keymile/common/qrio.c | 36 +- board/keymile/km83xx/km83xx.c | 30 +- board/keymile/kmcent2/kmcent2.c | 6 +- board/keymile/kmcent2/law.c | 10 +- board/keymile/kmcent2/tlb.c | 40 +- .../keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 2 +- board/nokia/rx51/rx51.c | 2 +- board/samsung/goni/onenand.c | 2 +- board/samsung/universal_c210/onenand.c | 2 +- board/siemens/smartweb/smartweb.c | 2 +- board/siemens/taurus/taurus.c | 2 +- board/socrates/law.c | 10 +- board/socrates/sdram.c | 22 +- board/socrates/socrates.c | 10 +- board/socrates/tlb.c | 22 +- board/sysam/amcore/amcore.c | 2 +- board/ti/ks2_evm/board.c | 8 +- board/ti/omap5_uevm/evm.c | 2 +- board/xes/common/fsl_8xxx_misc.c | 4 +- boot/Kconfig | 2 +- boot/image-board.c | 4 +- cmd/date.c | 4 +- cmd/i2c.c | 16 +- common/board_f.c | 4 +- common/board_r.c | 8 +- common/spl/Kconfig.nxp | 4 +- common/spl/spl.c | 6 +- common/spl/spl_fit.c | 2 +- common/spl/spl_nor.c | 2 +- common/spl/spl_spi.c | 8 +- common/spl/spl_ubi.c | 2 +- common/spl/spl_xip.c | 2 +- doc/README.atmel_mci | 4 +- doc/README.cfi | 4 +- doc/README.davinci | 2 +- doc/README.generic_usb_ohci | 2 +- doc/README.mpc85xx | 16 +- doc/README.nand | 2 +- doc/README.serial_multi | 2 +- doc/arch/m68k.rst | 18 +- doc/develop/driver-model/migration.rst | 2 +- doc/device-tree-bindings/video/exynos-dp.txt | 4 +- doc/device-tree-bindings/video/exynos-fb.txt | 10 +- doc/imx/common/imx5.txt | 2 +- doc/usage/environment.rst | 6 +- drivers/bootcount/Kconfig | 2 +- drivers/bootcount/bootcount_i2c.c | 4 +- drivers/clk/at91/compat.c | 2 +- drivers/core/Kconfig | 6 +- drivers/ddr/fsl/main.c | 4 +- drivers/fpga/ACEX1K.c | 6 +- drivers/fpga/cyclon2.c | 6 +- drivers/fpga/spartan2.c | 16 +- drivers/fpga/spartan3.c | 16 +- drivers/fpga/virtex2.c | 28 +- drivers/fpga/zynqpl.c | 14 +- drivers/gpio/pca953x.c | 10 +- drivers/gpio/tca642x.c | 6 +- drivers/i2c/davinci_i2c.c | 2 +- drivers/i2c/fsl_i2c.c | 2 +- drivers/i2c/i2c_core.c | 6 +- drivers/i2c/kona_i2c.c | 2 +- drivers/i2c/mvtwsi.c | 6 +- drivers/i2c/mxc_i2c.c | 4 +- drivers/misc/fsl_ifc.c | 438 +++++++++--------- drivers/misc/fsl_portals.c | 28 +- drivers/misc/fsl_sec_mon.c | 6 +- drivers/mmc/fsl_esdhc_spl.c | 18 +- drivers/mmc/gen_atmel_mci.c | 8 +- drivers/mmc/sh_sdhi.c | 2 +- drivers/mtd/cfi_flash.c | 32 +- drivers/mtd/nand/raw/fsl_ifc_nand.c | 4 +- drivers/mtd/nand/raw/fsl_ifc_spl.c | 8 +- drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 6 +- drivers/mtd/onenand/onenand_spl.c | 6 +- drivers/mtd/onenand/onenand_uboot.c | 2 +- drivers/mtd/spi/fsl_espi_spl.c | 12 +- drivers/mtd/stm32_flash.c | 2 +- drivers/net/fm/eth.c | 2 +- drivers/net/fm/fm.c | 4 +- drivers/net/fm/init.c | 4 +- drivers/net/fsl-mc/dpio/qbman_sys.h | 4 +- drivers/net/fsl-mc/mc.c | 48 +- drivers/net/fsl_mcdmafec.c | 26 +- drivers/net/mcffec.c | 8 +- drivers/net/qe/uec.h | 14 +- drivers/net/tsec.c | 4 +- drivers/net/vsc7385.c | 12 +- drivers/power/power_dialog.c | 2 +- drivers/qe/uec.h | 14 +- drivers/qe/uec_phy.c | 10 +- drivers/rtc/ds1307.c | 8 +- drivers/rtc/ds1337.c | 4 +- drivers/rtc/ds1374.c | 16 +- drivers/rtc/ds3231.c | 4 +- drivers/rtc/m41t62.c | 10 +- drivers/rtc/max6900.c | 8 +- drivers/rtc/pcf8563.c | 4 +- drivers/rtc/pt7c4338.c | 4 +- drivers/rtc/rs5c372.c | 12 +- drivers/rtc/rx8010sj.c | 12 +- drivers/rtc/x1205.c | 4 +- drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial.c | 4 +- drivers/spi/davinci_spi.c | 4 +- drivers/spi/kirkwood_spi.c | 4 +- drivers/sysreset/sysreset_xtfpga.c | 4 +- drivers/timer/arm_global_timer.c | 2 +- drivers/timer/imx-gpt-timer.c | 10 +- drivers/timer/orion-timer.c | 4 +- drivers/timer/stm32_timer.c | 4 +- drivers/usb/host/ohci-hcd.c | 2 +- drivers/video/imx/ipu_common.c | 6 +- env/Kconfig | 2 +- env/embedded.c | 2 +- include/config_fallbacks.h | 4 +- include/configs/M5208EVBE.h | 42 +- include/configs/M5235EVB.h | 52 +-- include/configs/M5249EVB.h | 66 +-- include/configs/M5253DEMO.h | 86 ++-- include/configs/M5272C3.h | 48 +- include/configs/M5275EVB.h | 48 +- include/configs/M5282EVB.h | 68 +-- include/configs/M53017EVB.h | 54 +-- include/configs/M5329EVB.h | 56 +-- include/configs/M5373EVB.h | 56 +-- include/configs/MCR3000.h | 8 +- include/configs/MPC837XERDB.h | 60 +-- include/configs/MPC8548CDS.h | 58 +-- include/configs/P1010RDB.h | 146 +++--- include/configs/P2041RDB.h | 132 +++--- include/configs/SBx81LIFKW.h | 4 +- include/configs/SBx81LIFXCAT.h | 4 +- include/configs/T102xRDB.h | 209 ++++----- include/configs/T104xRDB.h | 228 ++++----- include/configs/T208xQDS.h | 226 ++++----- include/configs/T208xRDB.h | 192 ++++---- include/configs/T4240RDB.h | 206 ++++---- include/configs/am335x_evm.h | 4 +- include/configs/am3517_evm.h | 2 +- include/configs/am43xx_evm.h | 4 +- include/configs/am57xx_evm.h | 6 +- include/configs/amcore.h | 44 +- include/configs/ap121.h | 4 +- include/configs/ap143.h | 4 +- include/configs/ap152.h | 4 +- include/configs/apalis_imx6.h | 4 +- include/configs/arbel.h | 6 +- include/configs/aristainetos2.h | 6 +- include/configs/aspeed-common.h | 8 +- include/configs/astro_mcf5373l.h | 68 +-- include/configs/at91-sama5_common.h | 4 +- include/configs/at91sam9260ek.h | 12 +- include/configs/at91sam9261ek.h | 10 +- include/configs/at91sam9263ek.h | 56 +-- include/configs/at91sam9m10g45ek.h | 12 +- include/configs/at91sam9n12ek.h | 12 +- include/configs/at91sam9rlek.h | 8 +- include/configs/at91sam9x5ek.h | 12 +- include/configs/ax25-ae350.h | 8 +- include/configs/axs10x.h | 4 +- include/configs/bcm7260.h | 2 +- include/configs/bcm7445.h | 2 +- include/configs/bcm963138.h | 2 +- include/configs/bcmstb.h | 4 +- include/configs/bk4r1.h | 4 +- include/configs/blanche.h | 8 +- 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 | 4 +- include/configs/bmips_bcm6348.h | 4 +- include/configs/bmips_bcm6358.h | 4 +- include/configs/bmips_bcm6362.h | 2 +- include/configs/bmips_bcm6368.h | 4 +- include/configs/bmips_bcm6838.h | 2 +- include/configs/bmips_common.h | 2 +- include/configs/boston.h | 2 +- include/configs/brppt2.h | 6 +- include/configs/bur_am335x_common.h | 2 +- include/configs/cgtqmx8.h | 2 +- include/configs/ci20.h | 2 +- include/configs/cl-som-imx7.h | 8 +- include/configs/cm_fx6.h | 6 +- include/configs/cm_t43.h | 4 +- include/configs/cobra5272.h | 48 +- include/configs/colibri-imx6ull.h | 4 +- include/configs/colibri_imx6.h | 4 +- include/configs/colibri_imx7.h | 4 +- include/configs/colibri_vf.h | 4 +- include/configs/corvus.h | 12 +- include/configs/da850evm.h | 36 +- include/configs/dart_6ul.h | 4 +- include/configs/devkit3250.h | 4 +- include/configs/dh_imx6.h | 4 +- include/configs/display5.h | 10 +- include/configs/dra7xx_evm.h | 10 +- include/configs/draak.h | 4 +- include/configs/dragonboard845c.h | 2 +- include/configs/eb_cpu5282.h | 86 ++-- include/configs/ebisu.h | 4 +- include/configs/edison.h | 2 +- include/configs/el6x_common.h | 4 +- include/configs/embestmx6boards.h | 4 +- include/configs/etamin.h | 2 +- include/configs/ethernut5.h | 16 +- include/configs/evb_ast2500.h | 2 +- include/configs/evb_ast2600.h | 2 +- include/configs/exynos5-dt-common.h | 2 +- include/configs/exynos78x0-common.h | 2 +- .../configs/gardena-smart-gateway-at91sam.h | 12 +- .../configs/gardena-smart-gateway-mt7688.h | 8 +- include/configs/gazerbeam.h | 14 +- include/configs/ge_b1x5v2.h | 4 +- include/configs/ge_bx50v3.h | 6 +- include/configs/gw_ventana.h | 4 +- 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/imx27lite-common.h | 2 +- include/configs/imx6-engicam.h | 4 +- include/configs/imx6_logic.h | 4 +- include/configs/imx6dl-mamoj.h | 4 +- include/configs/imx6q-bosch-acc.h | 4 +- include/configs/imx6ulz_smm_m2.h | 4 +- include/configs/imx7-cm.h | 4 +- include/configs/imx8mm-cl-iot-gate.h | 6 +- include/configs/imx8mm_beacon.h | 6 +- include/configs/imx8mm_data_modul_edm_sbc.h | 4 +- include/configs/imx8mm_evk.h | 8 +- include/configs/imx8mm_icore_mx8mm.h | 6 +- include/configs/imx8mm_venice.h | 6 +- include/configs/imx8mn_beacon.h | 6 +- include/configs/imx8mn_bsh_smm_s2_common.h | 6 +- include/configs/imx8mn_evk.h | 6 +- include/configs/imx8mn_var_som.h | 6 +- include/configs/imx8mn_venice.h | 6 +- include/configs/imx8mp_dhcom_pdk2.h | 4 +- include/configs/imx8mp_evk.h | 6 +- include/configs/imx8mp_icore_mx8mp.h | 6 +- include/configs/imx8mp_rsb3720.h | 6 +- include/configs/imx8mp_venice.h | 6 +- include/configs/imx8mq_cm.h | 4 +- include/configs/imx8mq_evk.h | 4 +- include/configs/imx8mq_phanbell.h | 4 +- include/configs/imx8qm_rom7720.h | 2 +- include/configs/imx8ulp_evk.h | 6 +- include/configs/imx93_evk.h | 6 +- include/configs/imxrt1020-evk.h | 2 +- include/configs/imxrt1050-evk.h | 2 +- include/configs/imxrt1170-evk.h | 2 +- include/configs/integrator-common.h | 4 +- include/configs/integratorap.h | 4 +- include/configs/integratorcp.h | 2 +- include/configs/j721e_evm.h | 6 +- include/configs/j721s2_evm.h | 4 +- include/configs/km/keymile-common.h | 2 +- include/configs/km/km-mpc832x.h | 32 +- include/configs/km/km-mpc8360.h | 32 +- include/configs/km/km-mpc83xx.h | 20 +- include/configs/km/pg-wcom-ls102xa.h | 86 ++-- include/configs/kmcent2.h | 204 ++++---- include/configs/kmcoge5ne.h | 6 +- include/configs/kmeter1.h | 2 +- include/configs/kontron-sl-mx6ul.h | 6 +- include/configs/kontron-sl-mx8mm.h | 4 +- include/configs/kontron_pitx_imx8m.h | 4 +- include/configs/kontron_sl28.h | 8 +- include/configs/kp_imx53.h | 4 +- include/configs/kp_imx6q_tpc.h | 4 +- include/configs/lacie_kw.h | 2 +- include/configs/legoev3.h | 10 +- include/configs/librem5.h | 4 +- include/configs/linkit-smart-7688.h | 8 +- include/configs/liteboard.h | 4 +- include/configs/ls1012a_common.h | 6 +- include/configs/ls1012aqds.h | 4 +- include/configs/ls1021aiot.h | 10 +- include/configs/ls1021aqds.h | 174 +++---- include/configs/ls1021atsn.h | 10 +- include/configs/ls1021atwr.h | 74 +-- include/configs/ls1028a_common.h | 6 +- include/configs/ls1028aqds.h | 12 +- include/configs/ls1028ardb.h | 10 +- include/configs/ls1043a_common.h | 20 +- include/configs/ls1043aqds.h | 224 ++++----- include/configs/ls1043ardb.h | 146 +++--- include/configs/ls1046a_common.h | 8 +- include/configs/ls1046afrwy.h | 22 +- include/configs/ls1046aqds.h | 236 +++++----- include/configs/ls1046ardb.h | 56 +-- include/configs/ls1088a_common.h | 36 +- include/configs/ls1088aqds.h | 216 ++++----- include/configs/ls1088ardb.h | 80 ++-- include/configs/ls2080a_common.h | 36 +- include/configs/ls2080aqds.h | 158 +++---- include/configs/ls2080ardb.h | 110 ++--- include/configs/lx2160a_common.h | 40 +- include/configs/lx2160aqds.h | 2 +- include/configs/lx2160ardb.h | 2 +- include/configs/lx2162aqds.h | 2 +- include/configs/m53menlo.h | 10 +- include/configs/malta.h | 6 +- include/configs/mccmon6.h | 14 +- include/configs/meerkat96.h | 4 +- include/configs/meesc.h | 8 +- include/configs/microblaze-generic.h | 4 +- include/configs/msc_sm2s_imx8mp.h | 6 +- include/configs/mt7620.h | 6 +- include/configs/mt7621.h | 6 +- include/configs/mt7622.h | 4 +- include/configs/mt7628.h | 8 +- include/configs/mt7629.h | 2 +- include/configs/mt7981.h | 4 +- include/configs/mt7986.h | 4 +- include/configs/mt8512.h | 2 +- include/configs/mv-common.h | 6 +- include/configs/mvebu_alleycat-5.h | 4 +- include/configs/mvebu_armada-37xx.h | 2 +- include/configs/mvebu_armada-8k.h | 4 +- include/configs/mx51evk.h | 10 +- include/configs/mx53cx9020.h | 4 +- include/configs/mx53loco.h | 6 +- include/configs/mx53ppd.h | 6 +- include/configs/mx6_common.h | 2 +- include/configs/mx6cuboxi.h | 4 +- include/configs/mx6memcal.h | 4 +- include/configs/mx6sabre_common.h | 4 +- include/configs/mx6sabreauto.h | 4 +- include/configs/mx6slevk.h | 4 +- include/configs/mx6sllevk.h | 4 +- include/configs/mx6sxsabreauto.h | 4 +- include/configs/mx6sxsabresd.h | 4 +- include/configs/mx6ul_14x14_evk.h | 4 +- include/configs/mx6ullevk.h | 4 +- include/configs/mx7dsabresd.h | 4 +- include/configs/mx7ulp_com.h | 6 +- include/configs/mx7ulp_evk.h | 6 +- include/configs/mxs.h | 6 +- include/configs/mys_6ulx.h | 4 +- include/configs/nitrogen6x.h | 4 +- include/configs/nokia_rx51.h | 10 +- include/configs/novena.h | 4 +- include/configs/npi_imx6ull.h | 4 +- include/configs/nsim.h | 4 +- include/configs/o4-imx6ull-nano.h | 4 +- include/configs/octeon_common.h | 4 +- include/configs/odroid.h | 2 +- include/configs/omap3_beagle.h | 2 +- include/configs/omap3_evm.h | 2 +- include/configs/omap3_igep00x0.h | 4 +- include/configs/omap3_logic.h | 4 +- include/configs/omap5_uevm.h | 4 +- include/configs/omapl138_lcdk.h | 32 +- include/configs/opos6uldev.h | 4 +- include/configs/p1_p2_bootsrc.h | 6 +- include/configs/p1_p2_rdb_pc.h | 164 +++---- include/configs/pcl063.h | 4 +- include/configs/pcl063_ull.h | 4 +- include/configs/pcm052.h | 4 +- include/configs/pcm058.h | 4 +- include/configs/pg-wcom-expu1.h | 16 +- include/configs/pg-wcom-seli8.h | 16 +- include/configs/phycore_imx8mm.h | 6 +- include/configs/phycore_imx8mp.h | 6 +- include/configs/pic32mzdask.h | 6 +- include/configs/pico-imx6.h | 4 +- include/configs/pico-imx6ul.h | 4 +- include/configs/pico-imx7d.h | 4 +- include/configs/pico-imx8mq.h | 4 +- include/configs/pm9261.h | 52 +-- include/configs/pm9263.h | 56 +-- include/configs/pm9g45.h | 12 +- include/configs/poleg.h | 4 +- include/configs/presidio_asic.h | 16 +- include/configs/qcs404-evb.h | 2 +- include/configs/qemu-ppce500.h | 34 +- include/configs/r2dplus.h | 6 +- include/configs/rcar-gen2-common.h | 6 +- include/configs/rcar-gen3-common.h | 2 +- include/configs/rk3036_common.h | 2 +- include/configs/rk3128_common.h | 2 +- include/configs/rk322x_common.h | 2 +- include/configs/rk3288_common.h | 2 +- include/configs/rpi.h | 6 +- include/configs/rv1108_common.h | 6 +- include/configs/s5p_goni.h | 2 +- include/configs/s5pc210_universal.h | 2 +- include/configs/salvator-x.h | 4 +- include/configs/sam9x60_curiosity.h | 4 +- include/configs/sam9x60ek.h | 4 +- include/configs/sama5d27_som1_ek.h | 4 +- include/configs/sama5d27_wlsom1_ek.h | 4 +- include/configs/sama5d2_icp.h | 4 +- include/configs/sama5d2_ptc_ek.h | 4 +- include/configs/sama5d3xek.h | 2 +- include/configs/sama7g5ek.h | 4 +- include/configs/sandbox.h | 2 +- include/configs/sdm845.h | 2 +- include/configs/siemens-am33x-common.h | 2 +- include/configs/smartweb.h | 18 +- include/configs/smdkc100.h | 2 +- include/configs/smegw01.h | 4 +- include/configs/snapper9g45.h | 8 +- include/configs/sniper.h | 4 +- include/configs/socfpga_arria10_socdk.h | 2 +- include/configs/socfpga_arria5_secu1.h | 4 +- include/configs/socfpga_chameleonv3.h | 2 +- include/configs/socfpga_common.h | 24 +- include/configs/socfpga_soc64_common.h | 4 +- include/configs/socrates.h | 66 +-- include/configs/somlabs_visionsom_6ull.h | 4 +- include/configs/stemmy.h | 2 +- include/configs/stih410-b2260.h | 4 +- include/configs/stm32f429-discovery.h | 4 +- include/configs/stm32f429-evaluation.h | 6 +- include/configs/stm32f469-discovery.h | 6 +- include/configs/stm32f746-disco.h | 8 +- include/configs/stm32h743-disco.h | 6 +- include/configs/stm32h743-eval.h | 6 +- include/configs/stm32h750-art-pi.h | 6 +- include/configs/stm32mp13_common.h | 2 +- include/configs/stm32mp13_st_common.h | 2 +- include/configs/stm32mp15_common.h | 2 +- include/configs/stm32mp15_st_common.h | 2 +- include/configs/stmark2.h | 42 +- include/configs/stv0991.h | 6 +- include/configs/sunxi-common.h | 4 +- include/configs/synquacer.h | 8 +- include/configs/taurus.h | 18 +- include/configs/tb100.h | 4 +- include/configs/tbs2910.h | 6 +- include/configs/tegra-common.h | 10 +- include/configs/ten64.h | 2 +- include/configs/thunderx_88xx.h | 6 +- include/configs/ti814x_evm.h | 2 +- include/configs/ti816x_evm.h | 2 +- include/configs/ti_am335x_common.h | 2 +- include/configs/ti_armv7_keystone2.h | 8 +- include/configs/ti_omap3_common.h | 4 +- include/configs/ti_omap4_common.h | 4 +- include/configs/ti_omap5_common.h | 2 +- include/configs/total_compute.h | 2 +- include/configs/tplink_wdr4300.h | 4 +- include/configs/tqma6.h | 4 +- include/configs/tqma6_wru4.h | 4 +- include/configs/trats.h | 2 +- include/configs/trats2.h | 2 +- include/configs/turris_mox.h | 2 +- include/configs/udoo.h | 4 +- include/configs/udoo_neo.h | 4 +- include/configs/ulcb.h | 4 +- include/configs/uniphier.h | 6 +- include/configs/usb_a9263.h | 8 +- include/configs/usbarmory.h | 4 +- include/configs/vcoreiii.h | 2 +- include/configs/verdin-imx8mm.h | 6 +- include/configs/verdin-imx8mp.h | 6 +- include/configs/vexpress_aemv8.h | 4 +- include/configs/vexpress_common.h | 18 +- include/configs/vf610twr.h | 4 +- include/configs/vinco.h | 4 +- include/configs/vining_2000.h | 4 +- include/configs/vocore2.h | 6 +- include/configs/wandboard.h | 4 +- include/configs/warp7.h | 4 +- include/configs/work_92105.h | 2 +- include/configs/x530.h | 2 +- include/configs/x86-common.h | 2 +- include/configs/xea.h | 6 +- include/configs/xilinx_versal.h | 2 +- include/configs/xilinx_versal_net.h | 2 +- include/configs/xilinx_zynqmp.h | 8 +- include/configs/xilinx_zynqmp_r5.h | 6 +- include/configs/xpress.h | 4 +- include/configs/xtfpga.h | 40 +- include/configs/zynq-common.h | 20 +- include/configs/zynq_cse.h | 8 +- include/fsl-mc/fsl_mc.h | 2 +- include/fsl_ifc.h | 2 +- include/i2c.h | 16 +- include/mpc85xx.h | 34 +- include/mpc86xx.h | 6 +- include/mtd/cfi_flash.h | 4 +- include/mvebu_mmc.h | 2 +- include/post.h | 4 +- include/spl.h | 2 +- include/system-constants.h | 4 +- include/tca642x.h | 8 +- include/tsec.h | 4 +- lib/time.c | 14 +- post/drivers/memory.c | 4 +- post/tests.c | 8 +- tools/envcrc.c | 6 +- 744 files changed, 5931 insertions(+), 5930 deletions(-)
.checkpatch.conf +1 -1
@@ -4,7 +4,7 @@ # Temporary for false positive in checkpatch --ignore COMPLEX_MACRO -# For CONFIG_SYS_I2C_NOPROBES +# For CFG_SYS_I2C_NOPROBES --ignore MULTISTATEMENT_MACRO_USE_DO_WHILE # For simple_strtoul
Kconfig +3 -3
@@ -264,8 +264,8 @@ config HAS_CUSTOM_SYS_INIT_SP_ADDR default y if TFABOOT help Typically, we use an initial stack pointer address that is calculated - by taking the statically defined CONFIG_SYS_INIT_RAM_ADDR, adding the - statically defined CONFIG_SYS_INIT_RAM_SIZE and then subtracting the + by taking the statically defined CFG_SYS_INIT_RAM_ADDR, adding the + statically defined CFG_SYS_INIT_RAM_SIZE and then subtracting the build-time constant of GENERATED_GBL_DATA_SIZE. On MIPS a different but statica calculation is performed. However, some platforms will take a different approach. Say Y here to define the address statically
@@ -333,7 +333,7 @@ config SPL_SYS_MALLOC_F_LEN particular needs this to operate, so that it can allocate the initial serial device and any others that are needed. - It is possible to enable CONFIG_SYS_SPL_MALLOC_START to start a new + It is possible to enable CFG_SYS_SPL_MALLOC_START to start a new malloc() region in SDRAM once it is inited. config TPL_SYS_MALLOC_F_LEN
Makefile +8 -8
@@ -1141,10 +1141,10 @@ endif $(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\ $(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG)) $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_SYS_I2C_LEGACY)) - @# CONFIG_SYS_TIMER_RATE has brackets in it for some boards which + @# CFG_SYS_TIMER_RATE has brackets in it for some boards which @# confuses this rule. Use if() to send just a single character which @# is enable to tell 'deprecated' that one of these symbols exists - $(call deprecated,CONFIG_TIMER,Timer drivers,v2023.01,$(if $(strip $(CONFIG_SYS_TIMER_RATE)$(CONFIG_SYS_TIMER_COUNTER)),x)) + $(call deprecated,CONFIG_TIMER,Timer drivers,v2023.01,$(if $(strip $(CFG_SYS_TIMER_RATE)$(CFG_SYS_TIMER_COUNTER)),x)) $(call deprecated,CONFIG_DM_SERIAL,Serial drivers,v2023.04,$(CONFIG_SERIAL)) $(call deprecated,CONFIG_DM_SCSI,SCSI drivers,v2023.04,$(CONFIG_SCSI)) @# Check that this build does not use CONFIG options that we do not
@@ -1364,8 +1364,8 @@ u-boot.ldr.hex u-boot.ldr.srec: u-boot.ldr FORCE # U-Boot entry point, needed for booting of full-blown U-Boot # from the SPL U-Boot version. # -ifndef CONFIG_SYS_UBOOT_START -CONFIG_SYS_UBOOT_START := $(CONFIG_TEXT_BASE) +ifndef CFG_SYS_UBOOT_START +CFG_SYS_UBOOT_START := $(CONFIG_TEXT_BASE) endif # Boards with more complex image requirements can provide an .its source file
@@ -1390,7 +1390,7 @@ endif ifdef CONFIG_SPL_LOAD_FIT MKIMAGEFLAGS_u-boot.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -p $(CONFIG_FIT_EXTERNAL_OFFSET) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \ $(patsubst %,-b arch/$(ARCH)/dts/%.dtb,$(subst ",,$(DEVICE_TREE))) \
@@ -1398,10 +1398,10 @@ MKIMAGEFLAGS_u-boot.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ $(patsubst %,-b arch/$(ARCH)/dts/%.dtbo,$(subst ",,$(CONFIG_OF_OVERLAY_LIST))) else MKIMAGEFLAGS_u-boot.img = -A $(ARCH) -T firmware -C none -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" MKIMAGEFLAGS_u-boot-ivt.img = -A $(ARCH) -T firmware_ivt -C none -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" u-boot-ivt.img: MKIMAGEOUTPUT = u-boot-ivt.img.log endif
@@ -1432,7 +1432,7 @@ MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \ UBOOT_BIN := u-boot.bin MKIMAGEFLAGS_u-boot-lzma.img = -A $(ARCH) -T standalone -C lzma -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" u-boot.bin.lzma: u-boot.bin FORCE
README +33 -33
201 lines not on this page · raw message
arch/arm/cpu/arm1176/start.S +1 -1
@@ -18,7 +18,7 @@ #include <linux/linkage.h> #ifndef CONFIG_SYS_PHY_UBOOT_BASE -#define CONFIG_SYS_PHY_UBOOT_BASE CONFIG_SYS_UBOOT_BASE +#define CONFIG_SYS_PHY_UBOOT_BASE CFG_SYS_UBOOT_BASE #endif /*
arch/arm/cpu/arm926ejs/start.S +1 -1
@@ -95,7 +95,7 @@ flush_dcache: mrc p15, 0, r0, c1, c0, 0 bic r0, r0, #0x00000300 /* clear bits 9:8 (---- --RS) */ bic r0, r0, #0x00000087 /* clear bits 7, 2:0 (B--- -CAM) */ -#ifdef CONFIG_SYS_EXCEPTION_VECTORS_HIGH +#ifdef CFG_SYS_EXCEPTION_VECTORS_HIGH orr r0, r0, #0x00002000 /* set bit 13 (--V- ----) */ #else bic r0, r0, #0x00002000 /* clear bit 13 (--V- ----) */
arch/arm/cpu/armv7/arch_timer.c +3 -3
@@ -14,7 +14,7 @@DECLARE_GLOBAL_DATA_PTR ; -#ifndef CONFIG_SYS_HZ_CLOCK +#ifndef CFG_SYS_HZ_CLOCK static inline u32 read_cntfrq (void ) {u32 frq;
@@ -29,8 +29,8 @@ int timer_init(void) gd->arch.tbl =0 ; gd->arch.tbu =0 ; -#ifdef CONFIG_SYS_HZ_CLOCK - gd->arch.timer_rate_hz =CONFIG_SYS_HZ_CLOCK ; +#ifdef CFG_SYS_HZ_CLOCK + gd->arch.timer_rate_hz =CFG_SYS_HZ_CLOCK ;#else gd->arch.timer_rate_hz =read_cntfrq ();#endif
arch/arm/cpu/armv7/ls102xa/cpu.c +2 -2
@@ -313,9 +313,9 @@ int cpu_eth_init(struct bd_info *bis)int arch_cpu_init (void ) { -void *epu_base = (void *)(CONFIG_SYS_DCSRBAR +EPU_BLOCK_OFFSET ); +void *epu_base = (void *)(CFG_SYS_DCSRBAR +EPU_BLOCK_OFFSET );void *rcpm2_base = - (void *)(CONFIG_SYS_DCSRBAR +DCSR_RCPM2_BLOCK_OFFSET ); + (void *)(CFG_SYS_DCSRBAR +DCSR_RCPM2_BLOCK_OFFSET );struct ccsr_scfg *scfg = (void *)CFG_SYS_FSL_SCFG_ADDR ;u32 state;
arch/arm/cpu/armv7/ls102xa/fdt.c +1 -1
@@ -183,7 +183,7 @@ void ft_cpu_setup(void *blob, struct bd_info *bd)#if defined(CONFIG_QSPI_BOOT ) || defined(CONFIG_SD_BOOT_QSPI ) off =fdt_node_offset_by_compat_reg (blob,FSL_IFC_COMPAT , -CONFIG_SYS_IFC_ADDR ); +CFG_SYS_IFC_ADDR );fdt_set_node_status (blob, off,FDT_STATUS_DISABLED );#else off = fdt_node_offset_by_compat_reg(blob, FSL_QSPI_COMPAT,
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c +2 -2
@@ -42,7 +42,7 @@ static void __secure ls1_save_ddr_head(void) static void __secure ls1_fsm_setup(void) { -void *dcsr_epu_base = (void *)(CONFIG_SYS_DCSRBAR +EPU_BLOCK_OFFSET ); +void *dcsr_epu_base = (void *)(CFG_SYS_DCSRBAR +EPU_BLOCK_OFFSET );void *dcsr_rcpm_base = (void *)SYS_FSL_DCSR_RCPM_ADDR ;out_be32 (dcsr_rcpm_base +DCSR_RCPM_CSTTACR0 ,0x00001001 );
@@ -118,7 +118,7 @@ static void __secure ls1_delay(unsigned int loop) static void __secure ls1_start_fsm(void) { -void *dcsr_epu_base = (void *)(CONFIG_SYS_DCSRBAR +EPU_BLOCK_OFFSET ); +void *dcsr_epu_base = (void *)(CFG_SYS_DCSRBAR +EPU_BLOCK_OFFSET );void *ccsr_gic_base = (void *)SYS_FSL_GIC_ADDR ;struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_FSL_SCFG_ADDR ;struct ccsr_ddr __iomem *ddr = (void *)CFG_SYS_FSL_DDR_ADDR ;
arch/arm/cpu/armv7/stv0991/timer.c +2 -2
@@ -18,7 +18,7 @@ static struct stv0991_cgu_regs *const stv0991_cgu_regs = \ (struct stv0991_cgu_regs *) (CGU_BASE_ADDR );#define READ_TIMER () (readl(&gpt1_regs_ptr->cnt) & GPT_FREE_RUNNING) -#define GPT_RESOLUTION (CONFIG_SYS_HZ_CLOCK / CONFIG_SYS_HZ) +#define GPT_RESOLUTION (CFG_SYS_HZ_CLOCK / CONFIG_SYS_HZ)DECLARE_GLOBAL_DATA_PTR ;
@@ -67,7 +67,7 @@ void __udelay(unsigned long usec) {ulong tmo;ulong start =get_timer_masked (); -ulong tenudelcnt =CONFIG_SYS_HZ_CLOCK / (1000 *100 ); +ulong tenudelcnt =CFG_SYS_HZ_CLOCK / (1000 *100 );ulong rndoff; rndoff = (usec %10 ) ?1 :0 ;
arch/arm/cpu/armv7m/systick-timer.c +4 -4
@@ -18,7 +18,7 @@* The number of reference clock ticks that correspond to 10ms is normally * defined in the SysTick Calibration register's TENMS field. However, on some * devices this is wrong, so this driver allows the clock rate to be defined -* using CONFIG_SYS_HZ_CLOCK. +* using CFG_SYS_HZ_CLOCK. */ #include <common.h>
@@ -76,10 +76,10 @@ int timer_init(void)/* * If the TENMS field is inexact or wrong, specify the clock rate using -* CONFIG_SYS_HZ_CLOCK. +* CFG_SYS_HZ_CLOCK. */ -#if defined(CONFIG_SYS_HZ_CLOCK ) - gd->arch.timer_rate_hz =CONFIG_SYS_HZ_CLOCK ; +#if defined(CFG_SYS_HZ_CLOCK ) + gd->arch.timer_rate_hz =CFG_SYS_HZ_CLOCK ;#else gd->arch.timer_rate_hz = (cal &SYSTICK_CAL_TENMS_MASK ) *100 ;#endif
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +27 -27
156 lines not on this page · raw message
arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 +2 -2
@@ -116,10 +116,10 @@ Flash Layout Environment Variables ===================== mcboottimeout: MC boot timeout in milliseconds. If this variable is not defined - the value CONFIG_SYS_LS_MC_BOOT_TIMEOUT_MS will be assumed. + the value CFG_SYS_LS_MC_BOOT_TIMEOUT_MS will be assumed. mcmemsize: MC DRAM block size in hex. If this variable is not defined, the value - CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE will be assumed. + CFG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE will be assumed. mcinitcmd: This environment variable is defined to initiate MC and DPL deployment from the location where it is stored(NOR, NAND, SD, SATA, USB)during
arch/arm/cpu/armv8/fsl-layerscape/ls1043_ids.c +1 -1
@@ -10,7 +10,7 @@#include <fsl_sec.h> #ifdef CONFIG_SYS_DPAA_QBMAN -struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS ] = { +struct qportal_info qp_info[CFG_SYS_QMAN_NUM_PORTALS ] = {SET_QP_INFO (FSL_DPAA1_STREAM_ID_END ,0 ),SET_QP_INFO (FSL_DPAA1_STREAM_ID_END ,0 ), SET_QP_INFO(FSL_DPAA1_STREAM_ID_END, 0),
arch/arm/cpu/armv8/fsl-layerscape/ls1046_ids.c +1 -1
@@ -9,7 +9,7 @@#include <asm/arch-fsl-layerscape/fsl_portals.h> #ifdef CONFIG_SYS_DPAA_QBMAN -struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS ] = { +struct qportal_info qp_info[CFG_SYS_QMAN_NUM_PORTALS ] = {SET_QP_INFO (FSL_DPAA1_STREAM_ID_END ,0 ),SET_QP_INFO (FSL_DPAA1_STREAM_ID_END ,0 ), SET_QP_INFO(FSL_DPAA1_STREAM_ID_END, 0),
arch/arm/cpu/armv8/fsl-layerscape/soc.c +3 -3
@@ -531,7 +531,7 @@ static void erratum_a010539(void) porsr1 =in_be32 (&gur->porsr1); porsr1 &= ~FSL_CHASSIS2_CCSR_PORSR1_RCW_MASK ; -out_be32 ((void *)(CONFIG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_PORCR1 ), +out_be32 ((void *)(CFG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_PORCR1 ), porsr1);out_be32 ((void *)(CFG_SYS_FSL_SCFG_ADDR +0x1a8 ),0xffffffff );#endif
@@ -643,8 +643,8 @@ void init_pfe_scfg_dcfg_regs(void)out_be32 (&scfg->rd_qos1, (unsigned int )(SCFG_RD_QOS1_PFE1_QOS |SCFG_RD_QOS1_PFE2_QOS )); - ecccr2 =in_be32 (CONFIG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_ECCCR2 ); -out_be32 ((void *)CONFIG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_ECCCR2 , + ecccr2 =in_be32 (CFG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_ECCCR2 ); +out_be32 ((void *)CFG_SYS_DCSR_DCFG_ADDR +DCFG_DCSR_ECCCR2 , ecccr2 | (unsigned int)DISABLE_PFE_ECC); }#endif
arch/arm/cpu/armv8/fsl-layerscape/spl.c +1 -1
@@ -116,7 +116,7 @@ void board_init_f(ulong dummy)#endif dram_init ();#ifdef CONFIG_SPL_FSL_LS_PPA -#ifndef CONFIG_SYS_MEM_RESERVE_SECURE +#ifndef CFG_SYS_MEM_RESERVE_SECURE #error Need secure RAM for PPA#endif /*
arch/arm/cpu/armv8/sec_firmware.c +2 -2
@@ -198,7 +198,7 @@ static int sec_firmware_load_image(const void *sec_firmware_img, goto out; } -#ifdef CONFIG_SYS_MEM_RESERVE_SECURE +#ifdef CFG_SYS_MEM_RESERVE_SECURE /* * The SEC Firmware must be stored in secure memory. * Append SEC Firmware to secure mmu table.
@@ -211,7 +211,7 @@ static int sec_firmware_load_image(const void *sec_firmware_img, sec_firmware_addr = (gd->arch.secure_ram &MEM_RESERVE_SECURE_ADDR_MASK ) + gd->arch.tlb_size;#else -#error "The CONFIG_SYS_MEM_RESERVE_SECURE must be defined when enabled SEC Firmware support" +#error "The CFG_SYS_MEM_RESERVE_SECURE must be defined when enabled SEC Firmware support"#endif /* Align SEC Firmware base address to 4K */
arch/arm/include/asm/arch-fsl-layerscape/config.h +18 -18
@@ -20,13 +20,13 @@* Reserve secure memory * To be aligned with MMU block size */ -#define CONFIG_SYS_MEM_RESERVE_SECURE (66 * 1024 * 1024)/* 66MB */ +#define CFG_SYS_MEM_RESERVE_SECURE (66 * 1024 * 1024)/* 66MB */ #define SPL_TLB_SETBACK 0x1000000/* 16MB under effective memory top */ #ifdef CONFIG_ARCH_LS2080A #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4, 4 }#define SRDS_MAX_LANES 8 -#define CONFIG_SYS_PAGE_SIZE 0x10000 +#define CFG_SYS_PAGE_SIZE 0x10000#ifndef L1_CACHE_BYTES #define L1_CACHE_SHIFT 6#define L1_CACHE_BYTES BIT(L1_CACHE_SHIFT)
@@ -37,8 +37,8 @@#define CFG_SYS_FSL_OCRAM_SIZE 0x00020000/* Real size 128K */ /* DDR */ -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE/* Generic Interrupt Controller Definitions */ #define GICD_BASE 0x06000000
@@ -96,7 +96,7 @@#elif defined(CONFIG_ARCH_LS1088A )#define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1 } -#define CONFIG_SYS_PAGE_SIZE 0x10000 +#define CFG_SYS_PAGE_SIZE 0x10000#define SRDS_MAX_LANES 4#define SRDS_BITS_PER_LANE 4
@@ -122,8 +122,8 @@#define SMMU_BASE 0x05000000/* GR0 Base */ /* DDR */ -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE/* DCFG - GUR */ #define CFG_SYS_FSL_OCRAM_BASE 0x18000000/* initial RAM */
@@ -141,15 +141,15 @@#endif #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1, 4, 4, 4, 4 } -#define CONFIG_SYS_PAGE_SIZE 0x10000 +#define CFG_SYS_PAGE_SIZE 0x10000#define CFG_SYS_FSL_OCRAM_BASE 0x18000000/* initial RAM */ #define SYS_FSL_OCRAM_SPACE_SIZE 0x00200000/* 2M space */ #define CFG_SYS_FSL_OCRAM_SIZE 0x00040000/* Real size 256K */ /* DDR */ -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE/* Generic Interrupt Controller Definitions */ #define GICD_BASE 0x06000000
@@ -192,8 +192,8 @@#define SMMU_BASE 0x05000000/* GR0 Base */ /* DDR */ -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE/* SEC */
@@ -212,8 +212,8 @@#define CFG_SYS_NUM_FMAN 1#define CFG_SYS_NUM_FM1_DTSEC 7#define CFG_SYS_NUM_FM1_10GEC 1 -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE#define QE_MURAM_SIZE 0x6000UL#define MAX_QE_RISC 1
@@ -251,15 +251,15 @@#elif defined(CONFIG_ARCH_LS1012A )#define GICD_BASE 0x01401000#define GICC_BASE 0x01402000 -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE#elif defined(CONFIG_ARCH_LS1046A )#define CFG_SYS_NUM_FMAN 1#define CFG_SYS_NUM_FM1_DTSEC 8#define CFG_SYS_NUM_FM1_10GEC 2 -#define CONFIG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) -#define CONFIG_MAX_MEM_MAPPED CONFIG_SYS_DDR_BLOCK1_SIZE +#define CFG_SYS_DDR_BLOCK1_SIZE ((phys_size_t)2 << 30) +#define CONFIG_MAX_MEM_MAPPED CFG_SYS_DDR_BLOCK1_SIZE/* SMMU Defintions */ #define SMMU_BASE 0x09000000
arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h +2 -2
@@ -75,7 +75,7 @@ void fdt_fixup_icid(void *blob);#define SET_USB_ICID (usb_num, compat, streamid) \ SET_SCFG_ICID(compat, streamid, usb##usb_num##_icid,\ - CONFIG_SYS_XHCI_USB##usb_num##_ADDR) + CFG_SYS_XHCI_USB##usb_num##_ADDR)#define SET_SATA_ICID (compat, streamid) \ SET_SCFG_ICID(compat, streamid, sata_icid,\
@@ -142,7 +142,7 @@ extern int fman_icid_tbl_sz;#define SET_USB_ICID (usb_num, compat, streamid) \ SET_GUR_ICID(compat, streamid, usb##usb_num##_amqr,\ - CONFIG_SYS_XHCI_USB##usb_num##_ADDR) + CFG_SYS_XHCI_USB##usb_num##_ADDR)#define SET_SATA_ICID (sata_num, compat, streamid) \ SET_GUR_ICID(compat, streamid, sata##sata_num##_amqr, \
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h +40 -40
108 lines not on this page · raw message
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h +5 -5
@@ -33,7 +33,7 @@#define FSL_ESDHC1_BASE_ADDR CFG_SYS_FSL_ESDHC_ADDR#define FSL_ESDHC2_BASE_ADDR (CONFIG_SYS_IMMR + 0x01150000)#ifndef CONFIG_NXP_LSCH3_2 -#define CONFIG_SYS_IFC_ADDR (CONFIG_SYS_IMMR + 0x01240000) +#define CFG_SYS_IFC_ADDR (CONFIG_SYS_IMMR + 0x01240000)#endif #define CFG_SYS_NS16550_COM1 (CONFIG_SYS_IMMR + 0x011C0500)#define CFG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR + 0x011C0600)
@@ -67,8 +67,8 @@#define GPIO4_GPDIR_ADDR (GPIO4_BASE_ADDR + 0x0)#define GPIO4_GPDAT_ADDR (GPIO4_BASE_ADDR + 0x8) -#define CONFIG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + 0x02100000) -#define CONFIG_SYS_XHCI_USB2_ADDR (CONFIG_SYS_IMMR + 0x02110000) +#define CFG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + 0x02100000) +#define CFG_SYS_XHCI_USB2_ADDR (CONFIG_SYS_IMMR + 0x02110000)/* TZ Address Space Controller Definitions */ #define TZASC1_BASE 0x01100000/* as per CCSR map. */
@@ -105,7 +105,7 @@#define GPU_BASE_ADDR (CONFIG_SYS_IMMR + 0x0e0c0000)/* SFP */ -#define CONFIG_SYS_SFP_ADDR (CONFIG_SYS_IMMR + 0x00e80200) +#define CFG_SYS_SFP_ADDR (CONFIG_SYS_IMMR + 0x00e80200)/* SEC */ #define CFG_SYS_FSL_SEC_OFFSET 0x07000000ull
@@ -173,7 +173,7 @@#endif /* Security Monitor */ -#define CONFIG_SYS_SEC_MON_ADDR (CONFIG_SYS_IMMR + 0x00e90000) +#define CFG_SYS_SEC_MON_ADDR (CONFIG_SYS_IMMR + 0x00e90000)/* MMU 500 */ #define SMMU_SCR0 (SMMU_BASE + 0x0)
arch/arm/include/asm/arch-lpc32xx/config.h +2 -2
@@ -23,7 +23,7 @@#define CFG_SYS_NS16550_CLK 13000000#endif -#define CONFIG_SYS_BAUDRATE_TABLE \ +#define CFG_SYS_BAUDRATE_TABLE \ { 9600, 19200, 38400, 57600, 115200, 230400, 460800 }/* NAND */
@@ -49,7 +49,7 @@/* USB OHCI */ #if defined(CONFIG_USB_OHCI_LPC32XX ) -#define CONFIG_SYS_USB_OHCI_REGS_BASE USB_BASE +#define CFG_SYS_USB_OHCI_REGS_BASE USB_BASE#endif #endif /* _LPC32XX_CONFIG_H */
arch/arm/include/asm/arch-ls102xa/config.h +11 -11
@@ -11,36 +11,36 @@#define OCRAM_BASE_S_ADDR 0x10010000#define OCRAM_S_SIZE 0x00010000 -#define CONFIG_SYS_DCSRBAR 0x20000000 +#define CFG_SYS_DCSRBAR 0x20000000 -#define CONFIG_SYS_DCSR_DCFG_ADDR (CONFIG_SYS_DCSRBAR + 0x00220000) -#define SYS_FSL_DCSR_RCPM_ADDR (CONFIG_SYS_DCSRBAR + 0x00222000) +#define CFG_SYS_DCSR_DCFG_ADDR (CFG_SYS_DCSRBAR + 0x00220000) +#define SYS_FSL_DCSR_RCPM_ADDR (CFG_SYS_DCSRBAR + 0x00222000)#define SYS_FSL_GIC_ADDR (CONFIG_SYS_IMMR + 0x00400000)#define CFG_SYS_FSL_DDR_ADDR (CONFIG_SYS_IMMR + 0x00080000)#define CFG_SYS_FSL_CSU_ADDR (CONFIG_SYS_IMMR + 0x00510000) -#define CONFIG_SYS_IFC_ADDR (CONFIG_SYS_IMMR + 0x00530000) +#define CFG_SYS_IFC_ADDR (CONFIG_SYS_IMMR + 0x00530000)#define CFG_SYS_FSL_ESDHC_ADDR (CONFIG_SYS_IMMR + 0x00560000)#define CFG_SYS_FSL_SCFG_ADDR (CONFIG_SYS_IMMR + 0x00570000)#define CFG_SYS_FSL_SEC_ADDR (CONFIG_SYS_IMMR + 0x700000)#define CFG_SYS_FSL_JR0_ADDR (CONFIG_SYS_IMMR + 0x710000) -#define CONFIG_SYS_SEC_MON_ADDR (CONFIG_SYS_IMMR + 0x00e90000) -#define CONFIG_SYS_SFP_ADDR (CONFIG_SYS_IMMR + 0x00e80200) +#define CFG_SYS_SEC_MON_ADDR (CONFIG_SYS_IMMR + 0x00e90000) +#define CFG_SYS_SFP_ADDR (CONFIG_SYS_IMMR + 0x00e80200)#define CFG_SYS_FSL_SERDES_ADDR (CONFIG_SYS_IMMR + 0x00ea0000)#define CFG_SYS_FSL_GUTS_ADDR (CONFIG_SYS_IMMR + 0x00ee0000)#define CFG_SYS_FSL_LS1_CLK_ADDR (CONFIG_SYS_IMMR + 0x00ee1000)#define CFG_SYS_FSL_RCPM_ADDR (CONFIG_SYS_IMMR + 0x00ee2000)#define CFG_SYS_NS16550_COM1 (CONFIG_SYS_IMMR + 0x011c0500)#define CFG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR + 0x011d0500) -#define CONFIG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + 0x02100000) +#define CFG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + 0x02100000)#define CFG_SYS_FSL_SEC_OFFSET 0x00700000#define CFG_SYS_FSL_JR0_OFFSET 0x00710000 -#define CONFIG_SYS_TSEC1_OFFSET 0x01d10000 -#define CONFIG_SYS_MDIO1_OFFSET 0x01d24000 +#define CFG_SYS_TSEC1_OFFSET 0x01d10000 +#define CFG_SYS_MDIO1_OFFSET 0x01d24000 -#define TSEC_BASE_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_TSEC1_OFFSET) -#define MDIO_BASE_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MDIO1_OFFSET) +#define TSEC_BASE_ADDR (CONFIG_SYS_IMMR + CFG_SYS_TSEC1_OFFSET) +#define MDIO_BASE_ADDR (CONFIG_SYS_IMMR + CFG_SYS_MDIO1_OFFSET)#define SCTR_BASE_ADDR (CONFIG_SYS_IMMR + 0x01b00000)
arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h +9 -9
@@ -42,24 +42,24 @@#define DCFG_DCSR_PORCR1 0 -#ifndef CONFIG_SYS_CCSRBAR -#define CONFIG_SYS_CCSRBAR CONFIG_SYS_IMMR +#ifndef CFG_SYS_CCSRBAR +#define CFG_SYS_CCSRBAR CONFIG_SYS_IMMR#endif -#ifndef CONFIG_SYS_CCSRBAR_PHYS_HIGH +#ifndef CFG_SYS_CCSRBAR_PHYS_HIGH #ifdef CONFIG_PHYS_64BIT -#define CONFIG_SYS_CCSRBAR_PHYS_HIGH 0xf +#define CFG_SYS_CCSRBAR_PHYS_HIGH 0xf#else -#define CONFIG_SYS_CCSRBAR_PHYS_HIGH 0 +#define CFG_SYS_CCSRBAR_PHYS_HIGH 0#endif #endif -#ifndef CONFIG_SYS_CCSRBAR_PHYS_LOW -#define CONFIG_SYS_CCSRBAR_PHYS_LOW CONFIG_SYS_IMMR +#ifndef CFG_SYS_CCSRBAR_PHYS_LOW +#define CFG_SYS_CCSRBAR_PHYS_LOW CONFIG_SYS_IMMR#endif -#define CONFIG_SYS_CCSRBAR_PHYS ((CONFIG_SYS_CCSRBAR_PHYS_HIGH * 1ull) << 32 | \ - CONFIG_SYS_CCSRBAR_PHYS_LOW) +#define CFG_SYS_CCSRBAR_PHYS ((CFG_SYS_CCSRBAR_PHYS_HIGH * 1ull) << 32 | \ + CFG_SYS_CCSRBAR_PHYS_LOW)struct sys_info {unsigned long freq_processor[CONFIG_MAX_CPUS ];
arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h +2 -2
@@ -12,14 +12,14 @@ { .compat = name, \ .id = { idA }, .num_ids = 1, \ .reg_offset = off + CONFIG_SYS_IMMR, \ - .compat_offset = compatoff + CONFIG_SYS_CCSRBAR_PHYS, \ + .compat_offset = compatoff + CFG_SYS_CCSRBAR_PHYS, \ }#define SET_LIODN_ENTRY_2 (name, idA, idB, off, compatoff) \ { .compat = name, \ .id = { idA, idB }, .num_ids = 2, \ .reg_offset = off + CONFIG_SYS_IMMR, \ - .compat_offset = compatoff + CONFIG_SYS_CCSRBAR_PHYS, \ + .compat_offset = compatoff + CFG_SYS_CCSRBAR_PHYS, \ }/*
arch/arm/include/asm/arch-mx31/imx-regs.h +2 -2
@@ -899,9 +899,9 @@ struct esdc_regs {* Generic timer support */ #ifdef CONFIG_MX31_CLK32 -#define CONFIG_SYS_TIMER_RATE CONFIG_MX31_CLK32 +#define CFG_SYS_TIMER_RATE CONFIG_MX31_CLK32#else -#define CONFIG_SYS_TIMER_RATE 32768 +#define CFG_SYS_TIMER_RATE 32768#endif #endif /* __ASM_ARCH_MX31_IMX_REGS_H */
arch/arm/include/asm/arch-stv0991/stv0991_gpt.h +1 -1
@@ -36,6 +36,6 @@ struct gpt_regs *const gpt1_regs_ptr =#define GPT_FREE_RUNNING 0xFFFF/* Timer, HZ specific defines */ -#define CONFIG_SYS_HZ_CLOCK ((27 * 1000 * 1000) / GPT_PRESCALER_128) +#define CFG_SYS_HZ_CLOCK ((27 * 1000 * 1000) / GPT_PRESCALER_128)#endif
arch/arm/include/asm/arch-sunxi/i2c.h +1 -1
@@ -18,6 +18,6 @@#endif /* This is abp0-clk on sun4i/5i/7i / abp1-clk on sun6i/sun8i which is 24MHz */ -#define CONFIG_SYS_TCLK 24000000 +#define CFG_SYS_TCLK 24000000#endif
arch/arm/include/asm/global_data.h +1 -1
@@ -54,7 +54,7 @@ struct arch_global_data {unsigned long tlb_emerg;#endif #endif -#ifdef CONFIG_SYS_MEM_RESERVE_SECURE +#ifdef CFG_SYS_MEM_RESERVE_SECURE #define MEM_RESERVE_SECURE_SECURED 0x1#define MEM_RESERVE_SECURE_MAINTAINED 0x2#define MEM_RESERVE_SECURE_ADDR_MASK (~0x3)
arch/arm/lib/bdinfo.c +1 -1
@@ -29,7 +29,7 @@ void arch_print_bdinfo(void)struct bd_info *bd = gd->bd;bdinfo_print_num_l ("arch_number" , bd->bi_arch_number); -#ifdef CONFIG_SYS_MEM_RESERVE_SECURE +#ifdef CFG_SYS_MEM_RESERVE_SECURE if (gd->arch.secure_ram &MEM_RESERVE_SECURE_SECURED ) { bdinfo_print_num_ll("Secure ram", gd->arch.secure_ram &
arch/arm/lib/cache-pl310.c +1 -1
@@ -11,7 +11,7 @@#include <config.h> #include <common.h> -struct pl310_regs *const pl310 = (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; +struct pl310_regs *const pl310 = (struct pl310_regs *)CFG_SYS_PL310_BASE ;static void pl310_cache_sync (void ) {
arch/arm/lib/cache.c +1 -1
@@ -152,7 +152,7 @@ __weak int arm_reserve_mmu(void)debug ("TLB table from %08lx to %08lx\n" , gd->arch.tlb_addr, gd->arch.tlb_addr + gd->arch.tlb_size); -#ifdef CONFIG_SYS_MEM_RESERVE_SECURE +#ifdef CFG_SYS_MEM_RESERVE_SECURE /* * Record allocated tlb_addr in case gd->tlb_addr to be overwritten * with location within secure ram.
arch/arm/lib/vectors.S +2 -2
@@ -83,8 +83,8 @@ */ _start: -#ifdef CONFIG_SYS_DV_NOR_BOOT_CFG - .word CONFIG_SYS_DV_NOR_BOOT_CFG +#ifdef CFG_SYS_DV_NOR_BOOT_CFG + .word CFG_SYS_DV_NOR_BOOT_CFG #endif ARM_VECTORS #endif /* !defined(CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK) */
arch/arm/mach-at91/arm920t/clock.c +3 -3
@@ -26,7 +26,7 @@ static unsigned long at91_css_to_rate(unsigned long css) {switch (css) {case AT91_PMC_MCKR_CSS_SLOW : -return CONFIG_SYS_AT91_SLOW_CLOCK ; +return CFG_SYS_AT91_SLOW_CLOCK ;case AT91_PMC_MCKR_CSS_MAIN :return gd->arch.main_clk_rate_hz;case AT91_PMC_MCKR_CSS_PLLA :
@@ -107,7 +107,7 @@ int at91_clock_init(unsigned long main_clock) {unsigned freq, mckr;at91_pmc_t *pmc = (at91_pmc_t *)ATMEL_BASE_PMC ; -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK +#ifndef CFG_SYS_AT91_MAIN_CLOCK unsigned tmp;/* * When the bootloader initialized the main oscillator correctly,
@@ -120,7 +120,7 @@ int at91_clock_init(unsigned long main_clock) tmp = readl(&pmc->mcfr); }while (!(tmp &AT91_PMC_MCFR_MAINRDY )); tmp &=AT91_PMC_MCFR_MAINF_MASK ; - main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK /16 ); + main_clock = tmp * (CFG_SYS_AT91_SLOW_CLOCK /16 ); }#endif gd->arch.main_clk_rate_hz = main_clock;
arch/arm/mach-at91/arm920t/cpu.c +3 -3
@@ -16,11 +16,11 @@#include <asm/arch/hardware.h> #include <asm/arch/clk.h> -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK -#define CONFIG_SYS_AT91_MAIN_CLOCK 0 +#ifndef CFG_SYS_AT91_MAIN_CLOCK +#define CFG_SYS_AT91_MAIN_CLOCK 0#endif int arch_cpu_init (void ) { -return at91_clock_init (CONFIG_SYS_AT91_MAIN_CLOCK ); +return at91_clock_init (CFG_SYS_AT91_MAIN_CLOCK ); }
arch/arm/mach-at91/arm920t/lowlevel_init.S +9 -9
@@ -94,11 +94,11 @@ SMRDATA: .word AT91_ASM_MC_SMC_CSR0 .word CONFIG_SYS_SMC_CSR0_VAL .word AT91_ASM_PMC_PLLAR - .word CONFIG_SYS_PLLAR_VAL + .word CFG_SYS_PLLAR_VAL .word AT91_ASM_PMC_PLLBR .word CONFIG_SYS_PLLBR_VAL .word AT91_ASM_PMC_MCKR - .word CONFIG_SYS_MCKR_VAL + .word CFG_SYS_MCKR_VAL SMRDATAE: /* here there's a delay */ SMRDATA1:
@@ -107,17 +107,17 @@ SMRDATA1: .word AT91_ASM_PIOC_BSR .word CONFIG_SYS_PIOC_BSR_VAL .word AT91_ASM_PIOC_PDR - .word CONFIG_SYS_PIOC_PDR_VAL + .word CFG_SYS_PIOC_PDR_VAL .word AT91_ASM_MC_EBI_CSA .word CONFIG_SYS_EBI_CSA_VAL .word AT91_ASM_MC_SDRAMC_CR - .word CONFIG_SYS_SDRC_CR_VAL + .word CFG_SYS_SDRC_CR_VAL .word AT91_ASM_MC_SDRAMC_MR - .word CONFIG_SYS_SDRC_MR_VAL + .word CFG_SYS_SDRC_MR_VAL .word CFG_SYS_SDRAM .word CFG_SYS_SDRAM_VAL .word AT91_ASM_MC_SDRAMC_MR - .word CONFIG_SYS_SDRC_MR_VAL1 + .word CFG_SYS_SDRC_MR_VAL1 .word CFG_SYS_SDRAM .word CFG_SYS_SDRAM_VAL .word CFG_SYS_SDRAM
@@ -135,15 +135,15 @@ SMRDATA1: .word CFG_SYS_SDRAM .word CFG_SYS_SDRAM_VAL .word AT91_ASM_MC_SDRAMC_MR - .word CONFIG_SYS_SDRC_MR_VAL2 + .word CFG_SYS_SDRC_MR_VAL2 .word CFG_SYS_SDRAM1 .word CFG_SYS_SDRAM_VAL .word AT91_ASM_MC_SDRAMC_TR - .word CONFIG_SYS_SDRC_TR_VAL + .word CFG_SYS_SDRC_TR_VAL .word CFG_SYS_SDRAM .word CFG_SYS_SDRAM_VAL .word AT91_ASM_MC_SDRAMC_MR - .word CONFIG_SYS_SDRC_MR_VAL3 + .word CFG_SYS_SDRC_MR_VAL3 .word CFG_SYS_SDRAM .word CFG_SYS_SDRAM_VAL SMRDATA1E:
arch/arm/mach-at91/arm920t/timer.c +2 -2
@@ -27,7 +27,7 @@DECLARE_GLOBAL_DATA_PTR ;/* the number of clocks per CONFIG_SYS_HZ */ -#define TIMER_LOAD_VAL (CONFIG_SYS_HZ_CLOCK/CONFIG_SYS_HZ) +#define TIMER_LOAD_VAL (CFG_SYS_HZ_CLOCK/CONFIG_SYS_HZ)int timer_init (void ) {
@@ -92,7 +92,7 @@ void __udelay(unsigned long usec)u32 endtime;signed long diff; - tmo =CONFIG_SYS_HZ_CLOCK /1000 ; + tmo =CFG_SYS_HZ_CLOCK /1000 ; tmo *= usec; tmo /=1000 ;
arch/arm/mach-at91/arm926ejs/clock.c +3 -3
@@ -26,7 +26,7 @@ static unsigned long at91_css_to_rate(unsigned long css) {switch (css) {case AT91_PMC_MCKR_CSS_SLOW : -return CONFIG_SYS_AT91_SLOW_CLOCK ; +return CFG_SYS_AT91_SLOW_CLOCK ;case AT91_PMC_MCKR_CSS_MAIN :return gd->arch.main_clk_rate_hz;case AT91_PMC_MCKR_CSS_PLLA :
@@ -115,7 +115,7 @@ int at91_clock_init(unsigned long main_clock) {unsigned freq, mckr;at91_pmc_t *pmc = (at91_pmc_t *)ATMEL_BASE_PMC ; -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK +#ifndef CFG_SYS_AT91_MAIN_CLOCK unsigned tmp;/* * When the bootloader initialized the main oscillator correctly,
@@ -128,7 +128,7 @@ int at91_clock_init(unsigned long main_clock) tmp = readl(&pmc->mcfr); }while (!(tmp &AT91_PMC_MCFR_MAINRDY )); tmp &=AT91_PMC_MCFR_MAINF_MASK ; - main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK /16 ); + main_clock = tmp * (CFG_SYS_AT91_SLOW_CLOCK /16 ); }#endif gd->arch.main_clk_rate_hz = main_clock;
arch/arm/mach-at91/arm926ejs/cpu.c +3 -3
@@ -15,13 +15,13 @@#include <asm/arch/at91_gpbr.h> #include <asm/arch/clk.h> -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK -#define CONFIG_SYS_AT91_MAIN_CLOCK 0 +#ifndef CFG_SYS_AT91_MAIN_CLOCK +#define CFG_SYS_AT91_MAIN_CLOCK 0#endif int arch_cpu_init (void ) { -return at91_clock_init (CONFIG_SYS_AT91_MAIN_CLOCK ); +return at91_clock_init (CFG_SYS_AT91_MAIN_CLOCK ); }void arch_preboot_os (void )
arch/arm/mach-at91/arm926ejs/lowlevel_init.S +27 -27
136 lines not on this page · raw message
arch/arm/mach-at91/armv7/clock.c +4 -4
@@ -28,7 +28,7 @@ static unsigned long at91_css_to_rate(unsigned long css) {switch (css) {case AT91_PMC_MCKR_CSS_SLOW : -return CONFIG_SYS_AT91_SLOW_CLOCK ; +return CFG_SYS_AT91_SLOW_CLOCK ;case AT91_PMC_MCKR_CSS_MAIN :return gd->arch.main_clk_rate_hz;case AT91_PMC_MCKR_CSS_PLLA :
@@ -58,7 +58,7 @@ int at91_clock_init(unsigned long main_clock) {unsigned freq, mckr;struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC ; -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK +#ifndef CFG_SYS_AT91_MAIN_CLOCK unsigned tmp;/* * When the bootloader initialized the main oscillator correctly,
@@ -71,7 +71,7 @@ int at91_clock_init(unsigned long main_clock) tmp = readl(&pmc->mcfr); }while (!(tmp &AT91_PMC_MCFR_MAINRDY )); tmp &=AT91_PMC_MCFR_MAINF_MASK ; - main_clock = tmp * (CONFIG_SYS_AT91_SLOW_CLOCK /16 ); + main_clock = tmp * (CFG_SYS_AT91_SLOW_CLOCK /16 ); }#endif gd->arch.main_clk_rate_hz = main_clock;
@@ -271,7 +271,7 @@ u32 at91_get_periph_generated_clk(u32 id) clk_source = regval &AT91_PMC_PCR_GCKCSS ;switch (clk_source) {case AT91_PMC_PCR_GCKCSS_SLOW_CLK : - freq =CONFIG_SYS_AT91_SLOW_CLOCK ; + freq =CFG_SYS_AT91_SLOW_CLOCK ;break ;case AT91_PMC_PCR_GCKCSS_MAIN_CLK : freq = gd->arch.main_clk_rate_hz;
arch/arm/mach-at91/armv7/cpu.c +3 -3
@@ -18,8 +18,8 @@#include <asm/arch/at91_gpbr.h> #include <asm/arch/clk.h> -#ifndef CONFIG_SYS_AT91_MAIN_CLOCK -#define CONFIG_SYS_AT91_MAIN_CLOCK 0 +#ifndef CFG_SYS_AT91_MAIN_CLOCK +#define CFG_SYS_AT91_MAIN_CLOCK 0#endif int arch_cpu_init (void )
@@ -27,7 +27,7 @@ int arch_cpu_init(void)#if defined(CONFIG_CLK_CCF )return 0 ;#else -return at91_clock_init (CONFIG_SYS_AT91_MAIN_CLOCK ); +return at91_clock_init (CFG_SYS_AT91_MAIN_CLOCK );#endif }
arch/arm/mach-at91/include/mach/at91sam9260.h +1 -1
@@ -128,7 +128,7 @@#define ATMEL_BASE_CS7 0x80000000/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffd3c +#define CFG_SYS_TIMER_COUNTER 0xfffffd3c/* * Other misc defines
arch/arm/mach-at91/include/mach/at91sam9261.h +1 -1
@@ -112,7 +112,7 @@#define ATMEL_BASE_CS7 0x80000000/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffd3c +#define CFG_SYS_TIMER_COUNTER 0xfffffd3c/* * Other misc defines
arch/arm/mach-at91/include/mach/at91sam9263.h +1 -1
@@ -127,7 +127,7 @@#define ATMEL_BASE_CS7 0x80000000/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffd3c +#define CFG_SYS_TIMER_COUNTER 0xfffffd3c/* * Other misc defines
arch/arm/mach-at91/include/mach/at91sam9g45.h +1 -1
@@ -132,7 +132,7 @@#define ATMEL_BASE_CS7 0x80000000/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffd3c +#define CFG_SYS_TIMER_COUNTER 0xfffffd3c/* * Other misc defines
arch/arm/mach-at91/include/mach/at91sam9rl.h +1 -1
@@ -112,7 +112,7 @@#define ATMEL_BASE_CS5 0x60000000/* Compact Flash Slot 1 */ /* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffd3c +#define CFG_SYS_TIMER_COUNTER 0xfffffd3c/* * Other misc defines
arch/arm/mach-at91/include/mach/at91sam9x5.h +1 -1
@@ -162,7 +162,7 @@#endif /* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffe3c +#define CFG_SYS_TIMER_COUNTER 0xfffffe3c/* * Other misc defines
arch/arm/mach-at91/include/mach/sam9x60.h +1 -1
@@ -140,7 +140,7 @@#define ATMEL_CPU_NAME get_cpu_name()/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffe4c +#define CFG_SYS_TIMER_COUNTER 0xfffffe4c/* * Other misc defines
arch/arm/mach-at91/include/mach/sama5d2.h +1 -1
@@ -238,7 +238,7 @@#define cpu_is_sama5d2 _cpu_is_sama5d2/* PIT Timer(PIT_PIIR) */ -#define CONFIG_SYS_TIMER_COUNTER 0xf804803c +#define CFG_SYS_TIMER_COUNTER 0xf804803c#ifndef __ASSEMBLY__unsigned int get_chip_id (void );
arch/arm/mach-at91/include/mach/sama5d3.h +1 -1
@@ -185,7 +185,7 @@#define CPU_HAS_PCR /* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfffffe3c +#define CFG_SYS_TIMER_COUNTER 0xfffffe3c/* * PMECC table in ROM
arch/arm/mach-at91/include/mach/sama5d4.h +1 -1
@@ -217,7 +217,7 @@ (get_extension_chip_id() == ARCH_EXID_SAMA5D44))/* Timer */ -#define CONFIG_SYS_TIMER_COUNTER 0xfc06863c +#define CFG_SYS_TIMER_COUNTER 0xfc06863c/* * No PMECC Galois table in ROM
arch/arm/mach-at91/spl_at91.c +6 -6
@@ -101,17 +101,17 @@ void board_init_f(ulong dummy)at91_pllicpr_init (0x00 );/* Configure PLLA = MOSC * (PLL_MULA + 1) / PLL_DIVA */ -at91_plla_init (CONFIG_SYS_AT91_PLLA ); +at91_plla_init (CFG_SYS_AT91_PLLA );/* PCK = PLLA = 2 * MCK */ -at91_mck_init (CONFIG_SYS_MCKR ); +at91_mck_init (CFG_SYS_MCKR );/* Switch MCK on PLLA output */ -at91_mck_init (CONFIG_SYS_MCKR_CSS ); +at91_mck_init (CFG_SYS_MCKR_CSS ); -#if defined(CONFIG_SYS_AT91_PLLB ) +#if defined(CFG_SYS_AT91_PLLB )/* Configure PLLB */ -at91_pllb_init (CONFIG_SYS_AT91_PLLB ); +at91_pllb_init (CFG_SYS_AT91_PLLB );#endif /* Enable External Reset */
@@ -120,7 +120,7 @@ void board_init_f(ulong dummy)/* Initialize matrix */ matrix_init (); - gd->arch.mck_rate_hz =CONFIG_SYS_MASTER_CLOCK ; + gd->arch.mck_rate_hz =CFG_SYS_MASTER_CLOCK ;/* * init timer long enough for using in spl. */
arch/arm/mach-at91/spl_atmel.c +1 -1
@@ -124,7 +124,7 @@ void board_init_f(ulong dummy)/* PMC configuration */ at91_pmc_init (); -at91_clock_init (CONFIG_SYS_AT91_MAIN_CLOCK ); +at91_clock_init (CFG_SYS_AT91_MAIN_CLOCK );matrix_init ();
arch/arm/mach-davinci/cpu.c +1 -1
@@ -42,7 +42,7 @@ int clk_get(enum davinci_clk_ids id)int pll_out;unsigned int pll_base; - pll_out =CONFIG_SYS_OSCIN_FREQ ; + pll_out =CFG_SYS_OSCIN_FREQ ;if (id ==DAVINCI_AUXCLK_CLKID ) goto out;
arch/arm/mach-davinci/da850_lowlevel.c +12 -12
@@ -185,9 +185,9 @@ static int da850_ddr_setup(void)setbits_le32 (&davinci_syscfg1_regs->vtpio_ctl,VTP_POWERDWN ); }setbits_le32 (&davinci_syscfg1_regs->vtpio_ctl,VTP_IOPWRDWN ); -writel (CONFIG_SYS_DA850_DDR2_DDRPHYCR , &dv_ddr2_regs_ctrl->ddrphycr); +writel (CFG_SYS_DA850_DDR2_DDRPHYCR , &dv_ddr2_regs_ctrl->ddrphycr); -if (CONFIG_SYS_DA850_DDR2_SDBCR & (1 <<DV_DDR_SDCR_DDR2EN_SHIFT )) { +if (CFG_SYS_DA850_DDR2_SDBCR & (1 <<DV_DDR_SDCR_DDR2EN_SHIFT )) {/* DDR2 */ clrbits_le32(&davinci_syscfg1_regs->ddr_slew, (1 << DDR_SLEW_DDR_PDENA_BIT) |
@@ -211,19 +211,19 @@ static int da850_ddr_setup(void)* At the same time, set the TIMUNLOCK bit to allow changing * the timing registers */ - tmp =CONFIG_SYS_DA850_DDR2_SDBCR ; + tmp =CFG_SYS_DA850_DDR2_SDBCR ; tmp &= ~DV_DDR_BOOTUNLOCK ; tmp |=DV_DDR_TIMUNLOCK ;writel (tmp, &dv_ddr2_regs_ctrl->sdbcr);/* write memory configuration and timing */ -if (!(CONFIG_SYS_DA850_DDR2_SDBCR & (1 <<DV_DDR_SDCR_DDR2EN_SHIFT ))) { +if (!(CFG_SYS_DA850_DDR2_SDBCR & (1 <<DV_DDR_SDCR_DDR2EN_SHIFT ))) {/* MOBILE DDR only*/ -writel (CONFIG_SYS_DA850_DDR2_SDBCR2 , +writel (CFG_SYS_DA850_DDR2_SDBCR2 , &dv_ddr2_regs_ctrl->sdbcr2); } -writel (CONFIG_SYS_DA850_DDR2_SDTIMR , &dv_ddr2_regs_ctrl->sdtimr); -writel (CONFIG_SYS_DA850_DDR2_SDTIMR2 , &dv_ddr2_regs_ctrl->sdtimr2); +writel (CFG_SYS_DA850_DDR2_SDTIMR , &dv_ddr2_regs_ctrl->sdtimr); +writel (CFG_SYS_DA850_DDR2_SDTIMR2 , &dv_ddr2_regs_ctrl->sdtimr2);/* clear the TIMUNLOCK bit and write the value of the CL field */ tmp &= ~DV_DDR_TIMUNLOCK ;
@@ -233,7 +233,7 @@ static int da850_ddr_setup(void)* LPMODEN and MCLKSTOPEN must be set! * Without this bits set, PSC don;t switch states !! */ -writel (CONFIG_SYS_DA850_DDR2_SDRCR | +writel (CFG_SYS_DA850_DDR2_SDRCR | (1 <<DV_DDR_SRCR_LPMODEN_SHIFT ) | (1 <<DV_DDR_SRCR_MCLKSTOPEN_SHIFT ), &dv_ddr2_regs_ctrl->sdrcr);
@@ -246,7 +246,7 @@ static int da850_ddr_setup(void)/* disable self refresh */ clrbits_le32 (&dv_ddr2_regs_ctrl->sdrcr,DV_DDR_SDRCR_LPMODEN |DV_DDR_SDRCR_MCLKSTOPEN ); -writel (CONFIG_SYS_DA850_DDR2_PBBPR , &dv_ddr2_regs_ctrl->pbbpr); +writel (CFG_SYS_DA850_DDR2_PBBPR , &dv_ddr2_regs_ctrl->pbbpr);return 0 ; }
@@ -265,7 +265,7 @@ int arch_cpu_init(void)writel (DV_SYSCFG_KICK1_UNLOCK , &davinci_syscfg_regs->kick1);dv_maskbits (&davinci_syscfg_regs->suspsrc, -CONFIG_SYS_DA850_SYSCFG_SUSPSRC ); +CFG_SYS_DA850_SYSCFG_SUSPSRC );/* configure pinmux settings */ if (davinci_configure_pin_mux_items (pinmuxes, pinmuxes_size))
@@ -273,8 +273,8 @@ int arch_cpu_init(void)#if defined(CONFIG_SYS_DA850_PLL_INIT )/* PLL setup */ -da850_pll_init (davinci_pllc0_regs,CONFIG_SYS_DA850_PLL0_PLLM ); -da850_pll_init (davinci_pllc1_regs,CONFIG_SYS_DA850_PLL1_PLLM ); +da850_pll_init (davinci_pllc0_regs,CFG_SYS_DA850_PLL0_PLLM ); +da850_pll_init (davinci_pllc1_regs,CFG_SYS_DA850_PLL1_PLLM );#endif /* setup CSn config */ #if defined(CONFIG_SYS_DA850_CS2CFG )
arch/arm/mach-davinci/timer.c +2 -2
@@ -32,7 +32,7 @@DECLARE_GLOBAL_DATA_PTR ;static struct davinci_timer *const timer = - (struct davinci_timer *)CONFIG_SYS_TIMERBASE ; + (struct davinci_timer *)CFG_SYS_TIMERBASE ;#define TIMER_LOAD_VAL 0xffffffff
@@ -47,7 +47,7 @@ int timer_init(void)writel (0x0 , &timer->tim34);writel (TIMER_LOAD_VAL , &timer->prd34);writel (2 <<22 , &timer->tcr); - gd->arch.timer_rate_hz =CONFIG_SYS_HZ_CLOCK /TIM_CLK_DIV ; + gd->arch.timer_rate_hz =CFG_SYS_HZ_CLOCK /TIM_CLK_DIV ; gd->arch.timer_reset_value =0 ;return (0 );
arch/arm/mach-exynos/spl_boot.c +1 -1
@@ -141,7 +141,7 @@ static void exynos_spi_copy(unsigned int uboot_size, unsigned int uboot_addr) {int upto, todo;int i, timeout =100 ; -struct exynos_spi *regs = (struct exynos_spi *)CONFIG_SYS_SPI_BASE ; +struct exynos_spi *regs = (struct exynos_spi *)CFG_SYS_SPI_BASE ;set_spi_clk (PERIPH_ID_SPI1 ,50000000 );/* set spi clock to 50Mhz */ /* set the spi1 GPIO */
arch/arm/mach-imx/image-container.c +4 -4
@@ -248,13 +248,13 @@ unsigned long spl_nor_get_uboot_base(void)int end;/* Calculate the image set end, -* if it is less than CONFIG_SYS_UBOOT_BASE(0x8281000), -* we use CONFIG_SYS_UBOOT_BASE +* if it is less than CFG_SYS_UBOOT_BASE(0x8281000), +* we use CFG_SYS_UBOOT_BASE * Otherwise, use the calculated address */ end =get_imageset_end ((void *)NULL ,QSPI_NOR_DEV ); -if (end <=CONFIG_SYS_UBOOT_BASE ) - end =CONFIG_SYS_UBOOT_BASE ; +if (end <=CFG_SYS_UBOOT_BASE ) + end =CFG_SYS_UBOOT_BASE ;else end =ROUND (end,SZ_1K );
arch/arm/mach-imx/mx5/lowlevel_init.S +5 -5
@@ -205,7 +205,7 @@ setup_pll_func: /* Switch peripheral to PLL 3 */ ldr r0, =CCM_BASE_ADDR - ldr r1, =0x000010C0 | CONFIG_SYS_DDR_CLKSEL + ldr r1, =0x000010C0 | CFG_SYS_DDR_CLKSEL str r1, [r0, #CLKCTL_CBCMR] ldr r1, =0x13239145 str r1, [r0, #CLKCTL_CBCDR]
@@ -215,7 +215,7 @@ setup_pll_func: ldr r0, =CCM_BASE_ADDR ldr r1, =0x19239145 str r1, [r0, #CLKCTL_CBCDR] - ldr r1, =0x000020C0 | CONFIG_SYS_DDR_CLKSEL + ldr r1, =0x000020C0 | CFG_SYS_DDR_CLKSEL str r1, [r0, #CLKCTL_CBCMR] setup_pll PLL3_BASE_ADDR, 216
@@ -240,10 +240,10 @@ setup_pll_func: /* setup the rest */ /* Use lp_apm (24MHz) source for perclk */ - ldr r1, =0x000020C2 | CONFIG_SYS_DDR_CLKSEL + ldr r1, =0x000020C2 | CFG_SYS_DDR_CLKSEL str r1, [r0, #CLKCTL_CBCMR] /* ddr clock from PLL 1, all perclk dividers are 1 since using 24MHz */ - ldr r1, =CONFIG_SYS_CLKTL_CBCDR + ldr r1, =CFG_SYS_CLKTL_CBCDR str r1, [r0, #CLKCTL_CBCDR] /* Restore the default values in the Gate registers */
@@ -378,7 +378,7 @@ ENTRY(lowlevel_init) mov r10, lr mov r4, #0 /* Fix R4 to 0 */ -#if defined(CONFIG_SYS_MAIN_PWR_ON) +#if defined(CFG_SYS_MAIN_PWR_ON) ldr r0, =GPIO1_BASE_ADDR ldr r1, [r0, #0x0] orr r1, r1, #1 << 23
arch/arm/mach-k3/config_secure.mk +1 -1
@@ -30,7 +30,7 @@ tispl.bin_HS: $(obj)/u-boot-spl-nodtb.bin_HS $(patsubst %,$(obj)/dts/%.dtb_HS,$( $(call if_changed,mkfitimage) MKIMAGEFLAGS_u-boot.img_HS = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \ $(patsubst %,-b arch/$(ARCH)/dts/%.dtb_HS,$(subst ",,$(CONFIG_OF_LIST)))
arch/arm/mach-keystone/cmd_mon.c +1 -1
@@ -23,7 +23,7 @@ static int do_mon_install(struct cmd_tbl *cmdtp, int flag, int argc,if (argc <2 )return CMD_RET_USAGE ; - freq =CONFIG_SYS_HZ_CLOCK ; + freq =CFG_SYS_HZ_CLOCK ; addr =hextoul (argv[1 ],NULL );
arch/arm/mach-keystone/include/mach/hardware.h +1 -1
@@ -263,7 +263,7 @@ typedef volatile unsigned int *dv_reg_p;/* MSMC segment size shift bits */ #define KS2_MSMC_SEG_SIZE_SHIFT 12#define KS2_MSMC_MAP_SEG_NUM (2 << (30 - KS2_MSMC_SEG_SIZE_SHIFT)) -#define KS2_MSMC_DST_SEG_BASE (CONFIG_SYS_LPAE_SDRAM_BASE >> \ +#define KS2_MSMC_DST_SEG_BASE (CFG_SYS_LPAE_SDRAM_BASE >> \ KS2_MSMC_SEG_SIZE_SHIFT)/* Device speed */
arch/arm/mach-kirkwood/include/mach/config.h +2 -2
@@ -52,8 +52,8 @@/* Use common timer */ #ifndef CONFIG_TIMER -#define CONFIG_SYS_TIMER_COUNTER (MVEBU_TIMER_BASE + 0x14) -#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_TCLK +#define CFG_SYS_TIMER_COUNTER (MVEBU_TIMER_BASE + 0x14) +#define CFG_SYS_TIMER_RATE CFG_SYS_TCLK#endif #endif /* _KW_CONFIG_H */
arch/arm/mach-kirkwood/include/mach/kw88f6192.h +1 -1
@@ -15,6 +15,6 @@#define KW_REGS_PHY_BASE KW88F6192_REGS_PHYS_BASE/* TCLK Core Clock defination */ -#define CONFIG_SYS_TCLK 166000000/* 166MHz */ +#define CFG_SYS_TCLK 166000000/* 166MHz */ #endif /* _CONFIG_KW88F6192_H */
arch/arm/mach-kirkwood/include/mach/kw88f6281.h +1 -1
@@ -15,7 +15,7 @@#define KW_REGS_PHY_BASE KW88F6281_REGS_PHYS_BASE/* TCLK Core Clock definition */ -#define CONFIG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(21)) ? \ +#define CFG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(21)) ? \ 166666667 : 200000000)#endif /* _ASM_ARCH_KW88F6281_H */
arch/arm/mach-mvebu/cpu.c +2 -2
@@ -659,7 +659,7 @@ void enable_caches(void)void v7_outer_cache_enable (void ) {struct pl310_regs *const pl310 = - (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; + (struct pl310_regs *)CFG_SYS_PL310_BASE ;/* The L2 cache is already disabled at this point */
@@ -691,7 +691,7 @@ void v7_outer_cache_enable(void)void v7_outer_cache_disable (void ) {struct pl310_regs *const pl310 = - (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; + (struct pl310_regs *)CFG_SYS_PL310_BASE ;clrbits_le32 (&pl310->pl310_ctrl,L2X0_CTRL_EN ); }
arch/arm/mach-mvebu/include/mach/soc.h +5 -5
@@ -54,7 +54,7 @@#define MVEBU_SDRAM_SCRATCH (MVEBU_REGISTER(0x01504))#define MVEBU_L2_CACHE_BASE (MVEBU_REGISTER(0x08000)) -#define CONFIG_SYS_PL310_BASE MVEBU_L2_CACHE_BASE +#define CFG_SYS_PL310_BASE MVEBU_L2_CACHE_BASE#define MVEBU_TWSI_BASE (MVEBU_REGISTER(0x11000))#define MVEBU_TWSI1_BASE (MVEBU_REGISTER(0x11100))#define MVEBU_MPP_BASE (MVEBU_REGISTER(0x18000))
@@ -146,7 +146,7 @@#define BOOT_FROM_UART 0x30#define BOOT_FROM_SPI 0x38 -#define CONFIG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(20)) ? \ +#define CFG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(20)) ? \ 200000000 : 166000000)#elif defined(CONFIG_ARMADA_38X )/* SAR values for Armada 38x */
@@ -169,7 +169,7 @@#define BOOT_FROM_MMC 0x30#define BOOT_FROM_MMC_ALT 0x31 -#define CONFIG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(15)) ? \ +#define CFG_SYS_TCLK ((readl(CONFIG_SAR_REG) & BIT(15)) ? \ 200000000 : 250000000)#elif defined(CONFIG_ARMADA_MSYS )/* SAR values for MSYS */
@@ -188,7 +188,7 @@#define BOOT_FROM_UART 0x2#define BOOT_FROM_SPI 0x3 -#define CONFIG_SYS_TCLK 200000000/* 200MHz */ +#define CFG_SYS_TCLK 200000000/* 200MHz */ #elif defined(CONFIG_ARMADA_XP )/* SAR values for Armada XP */ #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18230))
@@ -209,7 +209,7 @@#define BOOT_FROM_UART 0x2#define BOOT_FROM_SPI 0x3 -#define CONFIG_SYS_TCLK 250000000/* 250MHz */ +#define CFG_SYS_TCLK 250000000/* 250MHz */ #endif #endif /* _MVEBU_SOC_H */
arch/arm/mach-mvebu/lowlevel.S +2 -2
@@ -35,10 +35,10 @@ ENTRY(arch_very_early_init) * Disable L2 cache * * NOTE: Internal registers are still at address INTREG_BASE_ADDR_REG - * but CONFIG_SYS_PL310_BASE is already calculated from base + * but CFG_SYS_PL310_BASE is already calculated from base * address SOC_REGS_PHY_BASE. */ - ldr r1, =(CONFIG_SYS_PL310_BASE - SOC_REGS_PHY_BASE + INTREG_BASE_ADDR_REG) + ldr r1, =(CFG_SYS_PL310_BASE - SOC_REGS_PHY_BASE + INTREG_BASE_ADDR_REG) ldr r0, [r1, #L2X0_CTRL_OFF] bic r0, #L2X0_CTRL_EN str r0, [r1, #L2X0_CTRL_OFF]
arch/arm/mach-npcm/npcm7xx/l2_cache_pl310.c +1 -1
@@ -11,7 +11,7 @@ void l2_pl310_init(void);void set_pl310_ctrl (u32 enable) { -struct pl310_regs *const pl310 = (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; +struct pl310_regs *const pl310 = (struct pl310_regs *)CFG_SYS_PL310_BASE ;writel (enable, &pl310->pl310_ctrl); }
arch/arm/mach-omap2/config_secure.mk +1 -1
@@ -102,7 +102,7 @@ u-boot_HS_XIP_X-LOADER: $(obj)/u-boot.bin FORCE ifdef CONFIG_SPL_LOAD_FIT MKIMAGEFLAGS_u-boot_HS.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \ - -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \ + -a $(CONFIG_TEXT_BASE) -e $(CFG_SYS_UBOOT_START) \ -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \ $(patsubst %,-b arch/$(ARCH)/dts/%.dtb_HS,$(subst ",,$(CONFIG_OF_LIST)))
arch/arm/mach-omap2/mem-common.c +6 -6
@@ -124,11 +124,11 @@ void set_gpmc_cs0(int flash_type)#if defined(CONFIG_NOR )case MTD_DEV_TYPE_NOR : gpmc_regs = gpmc_regs_nor; - base =CONFIG_SYS_FLASH_BASE ; - size = (CONFIG_SYS_FLASH_SIZE >0x08000000 ) ?GPMC_SIZE_256M : - ((CONFIG_SYS_FLASH_SIZE >0x04000000 ) ?GPMC_SIZE_128M : - ((CONFIG_SYS_FLASH_SIZE >0x02000000 ) ?GPMC_SIZE_64M : - ((CONFIG_SYS_FLASH_SIZE >0x01000000 ) ?GPMC_SIZE_32M : + base =CFG_SYS_FLASH_BASE ; + size = (CFG_SYS_FLASH_SIZE >0x08000000 ) ?GPMC_SIZE_256M : + ((CFG_SYS_FLASH_SIZE >0x04000000 ) ?GPMC_SIZE_128M : + ((CFG_SYS_FLASH_SIZE >0x02000000 ) ?GPMC_SIZE_64M : + ((CFG_SYS_FLASH_SIZE >0x01000000 ) ?GPMC_SIZE_32M :GPMC_SIZE_16M )));break ;#endif
@@ -142,7 +142,7 @@ void set_gpmc_cs0(int flash_type)#if defined(CONFIG_CMD_ONENAND )case MTD_DEV_TYPE_ONENAND : gpmc_regs = gpmc_regs_onenand; - base =CONFIG_SYS_ONENAND_BASE ; + base =CFG_SYS_ONENAND_BASE ; size =GPMC_SIZE_128M ;break ;#endif
arch/arm/mach-omap2/timer.c +1 -1
@@ -27,7 +27,7 @@DECLARE_GLOBAL_DATA_PTR ; -static struct gptimer *timer_base = (struct gptimer *)CONFIG_SYS_TIMERBASE ; +static struct gptimer *timer_base = (struct gptimer *)CFG_SYS_TIMERBASE ;static ulong get_timer_masked (void );/*
arch/arm/mach-orion5x/include/mach/mv88f5182.h +1 -1
@@ -18,6 +18,6 @@#define ORION5X_REGS_PHY_BASE F88F5182_REGS_PHYS_BASE/* TCLK Core Clock defination */ -#define CONFIG_SYS_TCLK 166000000/* 166MHz */ +#define CFG_SYS_TCLK 166000000/* 166MHz */ #endif /* _CONFIG_88F5182_H */
arch/arm/mach-orion5x/timer.c +3 -3
@@ -74,7 +74,7 @@ struct orion5x_tmr_registers *orion5x_tmr_regs =static inline ulong read_timer (void ) {return readl (CNTMR_VAL_REG (UBOOT_CNTR )) - / (CONFIG_SYS_TCLK /1000 ); + / (CFG_SYS_TCLK /1000 ); }DECLARE_GLOBAL_DATA_PTR ;
@@ -92,7 +92,7 @@ static ulong get_timer_masked(void) }else {/* we have an overflow ... */ timestamp += lastdec + - (TIMER_LOAD_VAL / (CONFIG_SYS_TCLK /1000 )) - now; + (TIMER_LOAD_VAL / (CFG_SYS_TCLK /1000 )) - now; } lastdec = now;
@@ -115,7 +115,7 @@ void __udelay(unsigned long usec)ulong delayticks; current =uboot_cntr_val (); - delayticks = (usec * (CONFIG_SYS_TCLK /1000000 )); + delayticks = (usec * (CFG_SYS_TCLK /1000000 ));if (current < delayticks) { delayticks -= current;
arch/arm/mach-rmobile/include/mach/r8a7790.h +1 -1
@@ -24,7 +24,7 @@#define MSTP11_BITS 0x00000000/* SDHI */ -#define CONFIG_SYS_SH_SDHI_NR_CHANNEL 4 +#define CFG_SYS_SH_SDHI_NR_CHANNEL 4#define R8A7790_CUT_ES2X 2#define IS_R8A7790_ES2 () \
arch/arm/mach-rmobile/include/mach/r8a7791.h +1 -1
@@ -14,7 +14,7 @@*/ /* SDHI */ -#define CONFIG_SYS_SH_SDHI_NR_CHANNEL 3 +#define CFG_SYS_SH_SDHI_NR_CHANNEL 3#define DBSC3_1_QOS_R0_BASE 0xE67A1000#define DBSC3_1_QOS_R1_BASE 0xE67A1100
arch/arm/mach-rmobile/include/mach/r8a7792.h +1 -1
@@ -24,6 +24,6 @@#define MSTP11_BITS 0x00000008/* SDHI */ -#define CONFIG_SYS_SH_SDHI_NR_CHANNEL 1 +#define CFG_SYS_SH_SDHI_NR_CHANNEL 1#endif /* __ASM_ARCH_R8A7792_H */
arch/arm/mach-rmobile/include/mach/r8a7793.h +1 -1
@@ -15,7 +15,7 @@*/ /* SDHI */ -#define CONFIG_SYS_SH_SDHI_NR_CHANNEL 3 +#define CFG_SYS_SH_SDHI_NR_CHANNEL 3#define DBSC3_1_QOS_R0_BASE 0xE67A1000#define DBSC3_1_QOS_R1_BASE 0xE67A1100
arch/arm/mach-rmobile/include/mach/r8a7794.h +1 -1
@@ -24,7 +24,7 @@#define MSTP11_BITS 0x000001C0/* SDHI */ -#define CONFIG_SYS_SH_SDHI_NR_CHANNEL 3 +#define CFG_SYS_SH_SDHI_NR_CHANNEL 3#define R8A7794_CUT_ES2 2#define IS_R8A7794_ES2 () \
arch/arm/mach-rmobile/timer.c +4 -4
@@ -40,8 +40,8 @@ static u64 get_time_us(void) {u64 timer =get_cpu_global_timer (); - timer = ((timer <<2 ) + (CLK2MHZ (CONFIG_SYS_CPU_CLK ) >>1 )); -do_div (timer,CLK2MHZ (CONFIG_SYS_CPU_CLK )); + timer = ((timer <<2 ) + (CLK2MHZ (CFG_SYS_CPU_CLK ) >>1 )); +do_div (timer,CLK2MHZ (CFG_SYS_CPU_CLK ));return timer; }
@@ -65,7 +65,7 @@ void __udelay(unsigned long usec)u64 wait; start =get_cpu_global_timer (); - wait = (u64)((usec *CLK2MHZ (CONFIG_SYS_CPU_CLK )) >>2 ); + wait = (u64)((usec *CLK2MHZ (CFG_SYS_CPU_CLK )) >>2 );do { current =get_cpu_global_timer (); }while ((current - start) < wait);
@@ -83,5 +83,5 @@ unsigned long long get_ticks(void)ulong get_tbclk (void ) { -return (ulong)(CONFIG_SYS_CPU_CLK >>2 ); +return (ulong)(CFG_SYS_CPU_CLK >>2 ); }
arch/arm/mach-socfpga/misc.c +1 -1
@@ -34,7 +34,7 @@ phys_addr_t socfpga_sysmgr_base __section(".data");#ifdef CONFIG_SYS_L2_PL310 static const struct pl310_regs *const pl310 = - (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; + (struct pl310_regs *)CFG_SYS_PL310_BASE ;#endif struct bsel bsel_str[] = {
arch/arm/mach-socfpga/misc_arria10.c +2 -2
@@ -60,7 +60,7 @@ static Altera_desc altera_fpga[] = {#if defined(CONFIG_SPL_BUILD )static struct pl310_regs *const pl310 = - (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; + (struct pl310_regs *)CFG_SYS_PL310_BASE ;static const struct socfpga_noc_fw_ocram *noc_fw_ocram_base = (void *)SOCFPGA_SDR_FIREWALL_OCRAM_ADDRESS ;
@@ -256,7 +256,7 @@ void dram_bank_mmu_setup(int bank)/* If we're still in OCRAM, don't set the XN bit on it */ if (!(gd->flags &GD_FLG_RELOC )) {set_section_dcache ( -CONFIG_SYS_INIT_RAM_ADDR >>MMU_SECTION_SHIFT , +CFG_SYS_INIT_RAM_ADDR >>MMU_SECTION_SHIFT ,DCACHE_WRITETHROUGH ); }
arch/arm/mach-socfpga/misc_gen5.c +1 -1
@@ -31,7 +31,7 @@DECLARE_GLOBAL_DATA_PTR ;static struct pl310_regs *const pl310 = - (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; + (struct pl310_regs *)CFG_SYS_PL310_BASE ;static struct nic301_registers *nic301_regs = (struct nic301_registers *)SOCFPGA_L3REGS_ADDRESS ; static struct scu_registers *scu_regs =
arch/arm/mach-socfpga/spl_a10.c +1 -1
@@ -41,7 +41,7 @@DECLARE_GLOBAL_DATA_PTR ;#define BOOTROM_SHARED_MEM_SIZE 0x800/* 2KB */ -#define BOOTROM_SHARED_MEM_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ +#define BOOTROM_SHARED_MEM_ADDR (CFG_SYS_INIT_RAM_ADDR + \ SOCFPGA_PHYS_OCRAM_SIZE - \ BOOTROM_SHARED_MEM_SIZE)#define RST_STATUS_SHARED_ADDR (BOOTROM_SHARED_MEM_ADDR + 0x438)
arch/arm/mach-socfpga/timer.c +1 -1
@@ -10,7 +10,7 @@#define TIMER_LOAD_VAL 0xFFFFFFFF -static const struct socfpga_timer *timer_base = (void *)CONFIG_SYS_TIMERBASE ; +static const struct socfpga_timer *timer_base = (void *)CFG_SYS_TIMERBASE ;/* * Timer initialization
arch/arm/mach-u8500/cache.c +1 -1
@@ -22,7 +22,7 @@ void enable_caches(void)#ifdef CONFIG_SYS_L2_PL310 void v7_outer_cache_disable (void ) { -struct pl310_regs *const pl310 = (struct pl310_regs *)CONFIG_SYS_PL310_BASE ; +struct pl310_regs *const pl310 = (struct pl310_regs *)CFG_SYS_PL310_BASE ;/* * Linux expects the L2 cache to be turned off by the bootloader.
arch/arm/mach-uniphier/arm32/timer.c +1 -1
@@ -10,7 +10,7 @@#include "arm-mpcore.h" #define PERIPHCLK (50 * 1000 * 1000)/* 50 MHz */ -#define PRESCALER ((PERIPHCLK) / (CONFIG_SYS_TIMER_RATE) - 1) +#define PRESCALER ((PERIPHCLK) / (CFG_SYS_TIMER_RATE) - 1)static void *get_global_timer_base (void ) {
arch/arm/mach-versatile/timer.c +4 -4
@@ -36,9 +36,9 @@ int timer_init (void)ulong tmr_ctrl_val;/* 1st disable the Timer */ - tmr_ctrl_val = *(volatile ulong *)(CONFIG_SYS_TIMERBASE +8 ); + tmr_ctrl_val = *(volatile ulong *)(CFG_SYS_TIMERBASE +8 ); tmr_ctrl_val &= ~TIMER_ENABLE ; - *(volatile ulong *)(CONFIG_SYS_TIMERBASE +8 ) = tmr_ctrl_val; + *(volatile ulong *)(CFG_SYS_TIMERBASE +8 ) = tmr_ctrl_val;/* * The Timer Control Register has one Undefined/Shouldn't Use Bit
@@ -52,11 +52,11 @@ int timer_init (void)* Tmr Siz : 16 Bit Counter * Tmr in Wrapping Mode */ - tmr_ctrl_val = *(volatile ulong *)(CONFIG_SYS_TIMERBASE +8 ); + tmr_ctrl_val = *(volatile ulong *)(CFG_SYS_TIMERBASE +8 ); tmr_ctrl_val &= ~(TIMER_MODE_MSK |TIMER_INT_EN |TIMER_PRS_MSK |TIMER_SIZE_MSK |TIMER_ONE_SHT ); tmr_ctrl_val |= (TIMER_ENABLE |TIMER_PRS_8S ); - *(volatile ulong *)(CONFIG_SYS_TIMERBASE +8 ) = tmr_ctrl_val; + *(volatile ulong *)(CFG_SYS_TIMERBASE +8 ) = tmr_ctrl_val;return 0 ; }
arch/m68k/cpu/mcf523x/cpu.c +1 -1
@@ -92,7 +92,7 @@ int watchdog_init(void)u32 wdog_module =0 ;/* set timeout and enable watchdog */ - wdog_module = ((CONFIG_SYS_CLK /CONFIG_SYS_HZ ) *CONFIG_WATCHDOG_TIMEOUT ); + wdog_module = ((CFG_SYS_CLK /CONFIG_SYS_HZ ) *CONFIG_WATCHDOG_TIMEOUT ); wdog_module |= (wdog_module /8192 );out_be16 (&wdp->mr, wdog_module);
arch/m68k/cpu/mcf523x/cpu_init.c +19 -19
@@ -47,36 +47,36 @@ void cpu_init_f(void)out_be16 (&wdog->cr,0 );#endif -out_be32 (&scm->rambar,CONFIG_SYS_INIT_RAM_ADDR |SCM_RAMBAR_BDE ); +out_be32 (&scm->rambar,CFG_SYS_INIT_RAM_ADDR |SCM_RAMBAR_BDE );/* Port configuration */ out_8 (&gpio->par_cs,0 ); -#if (defined(CONFIG_SYS_CS0_BASE ) && defined(CONFIG_SYS_CS0_MASK ) && defined(CONFIG_SYS_CS0_CTRL )) -out_be_fbcs_reg (&fbcs->csar0,CONFIG_SYS_CS0_BASE ); -out_be_fbcs_reg (&fbcs->cscr0,CONFIG_SYS_CS0_CTRL ); -out_be32 (&fbcs->csmr0,CONFIG_SYS_CS0_MASK ); +#if (defined(CFG_SYS_CS0_BASE ) && defined(CFG_SYS_CS0_MASK ) && defined(CFG_SYS_CS0_CTRL )) +out_be_fbcs_reg (&fbcs->csar0,CFG_SYS_CS0_BASE ); +out_be_fbcs_reg (&fbcs->cscr0,CFG_SYS_CS0_CTRL ); +out_be32 (&fbcs->csmr0,CFG_SYS_CS0_MASK );#endif -#if (defined(CONFIG_SYS_CS1_BASE ) && defined(CONFIG_SYS_CS1_MASK ) && defined(CONFIG_SYS_CS1_CTRL )) +#if (defined(CFG_SYS_CS1_BASE ) && defined(CFG_SYS_CS1_MASK ) && defined(CFG_SYS_CS1_CTRL ))setbits_8 (&gpio->par_cs,GPIO_PAR_CS_CS1 ); -out_be_fbcs_reg (&fbcs->csar1,CONFIG_SYS_CS1_BASE ); -out_be_fbcs_reg (&fbcs->cscr1,CONFIG_SYS_CS1_CTRL ); -out_be32 (&fbcs->csmr1,CONFIG_SYS_CS1_MASK ); +out_be_fbcs_reg (&fbcs->csar1,CFG_SYS_CS1_BASE ); +out_be_fbcs_reg (&fbcs->cscr1,CFG_SYS_CS1_CTRL ); +out_be32 (&fbcs->csmr1,CFG_SYS_CS1_MASK );#endif -#if (defined(CONFIG_SYS_CS2_BASE ) && defined(CONFIG_SYS_CS2_MASK ) && defined(CONFIG_SYS_CS2_CTRL )) +#if (defined(CFG_SYS_CS2_BASE ) && defined(CFG_SYS_CS2_MASK ) && defined(CFG_SYS_CS2_CTRL ))setbits_8 (&gpio->par_cs,GPIO_PAR_CS_CS2 ); -out_be_fbcs_reg (&fbcs->csar2,CONFIG_SYS_CS2_BASE ); -out_be_fbcs_reg (&fbcs->cscr2,CONFIG_SYS_CS2_CTRL ); -out_be32 (&fbcs->csmr2,CONFIG_SYS_CS2_MASK ); +out_be_fbcs_reg (&fbcs->csar2,CFG_SYS_CS2_BASE ); +out_be_fbcs_reg (&fbcs->cscr2,CFG_SYS_CS2_CTRL ); +out_be32 (&fbcs->csmr2,CFG_SYS_CS2_MASK );#endif -#if (defined(CONFIG_SYS_CS3_BASE ) && defined(CONFIG_SYS_CS3_MASK ) && defined(CONFIG_SYS_CS3_CTRL )) +#if (defined(CFG_SYS_CS3_BASE ) && defined(CFG_SYS_CS3_MASK ) && defined(CFG_SYS_CS3_CTRL ))setbits_8 (&gpio->par_cs,GPIO_PAR_CS_CS3 ); -out_be_fbcs_reg (&fbcs->csar3,CONFIG_SYS_CS3_BASE ); -out_be_fbcs_reg (&fbcs->cscr3,CONFIG_SYS_CS3_CTRL ); -out_be32 (&fbcs->csmr3,CONFIG_SYS_CS3_MASK ); +out_be_fbcs_reg (&fbcs->csar3,CFG_SYS_CS3_BASE ); +out_be_fbcs_reg (&fbcs->cscr3,CFG_SYS_CS3_CTRL ); +out_be32 (&fbcs->csmr3,CFG_SYS_CS3_MASK );#endif #if (defined(CONFIG_SYS_CS4_BASE ) && defined(CONFIG_SYS_CS4_MASK ) && defined(CONFIG_SYS_CS4_CTRL ))
@@ -108,8 +108,8 @@ void cpu_init_f(void)#endif #ifdef CONFIG_SYS_I2C_FSL -CONFIG_SYS_I2C_PINMUX_REG &=CONFIG_SYS_I2C_PINMUX_CLR ; -CONFIG_SYS_I2C_PINMUX_REG |=CONFIG_SYS_I2C_PINMUX_SET ; +CFG_SYS_I2C_PINMUX_REG &=CFG_SYS_I2C_PINMUX_CLR ; +CFG_SYS_I2C_PINMUX_REG |=CFG_SYS_I2C_PINMUX_SET ;#endif icache_enable ();
arch/m68k/cpu/mcf523x/speed.c +1 -1
@@ -29,7 +29,7 @@ int get_clocks(void)while (!(in_be32 (&pll->synsr) &PLL_SYNSR_LOCK )) ; - gd->bus_clk =CONFIG_SYS_CLK ; + gd->bus_clk =CFG_SYS_CLK ; gd->cpu_clk = (gd->bus_clk *2 );#ifdef CONFIG_SYS_I2C_FSL
arch/m68k/cpu/mcf523x/start.S +3 -3
@@ -91,10 +91,10 @@ _start: move.w #0x2700,%sr /* Mask off Interrupt */ /* Set vector base register at the beginning of the Flash */ - move.l #CONFIG_SYS_FLASH_BASE, %d0 + move.l #CFG_SYS_FLASH_BASE, %d0 movec %d0, %VBR - move.l #(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_CTRL), %d0 + move.l #(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_CTRL), %d0 movec %d0, %RAMBAR1 /* invalidate and disable cache */
@@ -116,7 +116,7 @@ _start: move.l #__got_start, %a5 /* setup stack initially on top of internal static ram */ - move.l #(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE), %sp + move.l #(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_SIZE), %sp /* * if configured, malloc_f arena will be reserved first,
arch/m68k/cpu/mcf52x2/cpu.c +5 -5
@@ -132,11 +132,11 @@ int print_cpuinfo(void)if (cpu_model)printf ("CPU: Freescale ColdFire MCF%s rev. %hu, at %s MHz\n" , - cpu_model, prn,strmhz (buf,CONFIG_SYS_CLK )); + cpu_model, prn,strmhz (buf,CFG_SYS_CLK ));else printf ("CPU: Unknown - Freescale ColdFire MCF5271 family" " (PIN: 0x%x) rev. %hu, at %s MHz\n" , - pin, prn,strmhz (buf,CONFIG_SYS_CLK )); + pin, prn,strmhz (buf,CFG_SYS_CLK ));return 0 ; }
@@ -284,7 +284,7 @@ int print_cpuinfo(void)char buf[32 ];printf ("CPU: Freescale Coldfire MCF5275 at %s MHz\n" , -strmhz (buf,CONFIG_SYS_CLK )); +strmhz (buf,CFG_SYS_CLK )); return 0; };#endif /* CONFIG_DISPLAY_CPUINFO */
@@ -370,7 +370,7 @@ int print_cpuinfo(void)char buf[32 ];printf ("CPU: Freescale Coldfire MCF5249 at %s MHz\n" , -strmhz (buf,CONFIG_SYS_CLK )); +strmhz (buf,CFG_SYS_CLK )); return 0; }#endif /* CONFIG_DISPLAY_CPUINFO */
@@ -394,7 +394,7 @@ int print_cpuinfo(void)unsigned char resetsource =mbar_readLong (SIM_RSR );printf ("CPU: Freescale Coldfire MCF5253 at %s MHz\n" , -strmhz (buf,CONFIG_SYS_CLK )); +strmhz (buf,CFG_SYS_CLK ));if ((resetsource &SIM_RSR_HRST ) || (resetsource &SIM_RSR_SWTR )) { printf("Reset:%s%s\n",
arch/m68k/cpu/mcf52x2/cpu_init.c +55 -55
186 lines not on this page · raw message
arch/m68k/cpu/mcf52x2/speed.c +7 -7
@@ -23,19 +23,19 @@ int get_clocks(void)#if defined(CONFIG_M5208 )pll_t *pll = (pll_t *)MMAP_PLL ; -out_8 (&pll->odr,CONFIG_SYS_PLL_ODR ); -out_8 (&pll->fdr,CONFIG_SYS_PLL_FDR ); +out_8 (&pll->odr,CFG_SYS_PLL_ODR ); +out_8 (&pll->fdr,CFG_SYS_PLL_FDR );#endif #if defined(CONFIG_M5249 ) || defined(CONFIG_M5253 )volatile unsigned long cpll =mbar2_readLong (MCFSIM_PLLCR );unsigned long pllcr; -#ifndef CONFIG_SYS_PLL_BYPASS +#ifndef CFG_SYS_PLL_BYPASS #ifdef CONFIG_M5249 /* Setup the PLL to run at the specified speed */ -#ifdef CONFIG_SYS_FAST_CLK +#ifdef CFG_SYS_FAST_CLK pllcr =0x925a3100 ;/* ~140MHz clock (PLL bypass = 0) */ #else pllcr =0x135a4140 ;/* ~72MHz clock (PLL bypass = 0) */
@@ -43,7 +43,7 @@ int get_clocks(void)#endif /* CONFIG_M5249 */ #ifdef CONFIG_M5253 - pllcr =CONFIG_SYS_PLLCR ; + pllcr =CFG_SYS_PLLCR ;#endif /* CONFIG_M5253 */ cpll = cpll &0xfffffffe ;/* Set PLL bypass mode = 0 (PSTCLK = crystal) */
@@ -52,7 +52,7 @@ int get_clocks(void) pllcr ^=0x00000001 ;/* Set pll bypass to 1 */ mbar2_writeLong (MCFSIM_PLLCR , pllcr);/* Start locking (pll bypass = 1) */ udelay (0x20 );/* Wait for a lock ... */ -#endif /* #ifndef CONFIG_SYS_PLL_BYPASS */ +#endif /* #ifndef CFG_SYS_PLL_BYPASS */ #endif /* CONFIG_M5249 || CONFIG_M5253 */
@@ -68,7 +68,7 @@ int get_clocks(void) ;#endif - gd->cpu_clk =CONFIG_SYS_CLK ; + gd->cpu_clk =CFG_SYS_CLK ;#if defined(CONFIG_M5208 ) || defined(CONFIG_M5249 ) || defined(CONFIG_M5253 ) || \ defined(CONFIG_M5271 ) || defined(CONFIG_M5275 ) gd->bus_clk = gd->cpu_clk /2 ;
arch/m68k/cpu/mcf52x2/start.S +24 -24
131 lines not on this page · raw message
arch/m68k/cpu/mcf530x/cpu.c +1 -1
@@ -33,7 +33,7 @@ int print_cpuinfo(void)char buf[32 ];printf ("CPU: Freescale Coldfire MCF5307 at %s MHz\n" , -strmhz (buf,CONFIG_SYS_CPU_CLK )); +strmhz (buf,CFG_SYS_CPU_CLK )); return 0; }#endif /* CONFIG_DISPLAY_CPUINFO */
arch/m68k/cpu/mcf530x/cpu_init.c +24 -24
59 lines not on this page · raw message
arch/m68k/cpu/mcf530x/speed.c +2 -2
@@ -16,8 +16,8 @@ DECLARE_GLOBAL_DATA_PTR;int get_clocks (void ) {#if defined(CONFIG_M5307 ) - gd->bus_clk =CONFIG_SYS_CLK ; - gd->cpu_clk =CONFIG_SYS_CPU_CLK ; + gd->bus_clk =CFG_SYS_CLK ; + gd->cpu_clk =CFG_SYS_CPU_CLK ;#endif return 0 ;
arch/m68k/cpu/mcf530x/start.S +5 -5
@@ -39,7 +39,7 @@ _vectors: /* Flash offset is 0 until we setup CS0 */ .long 0x00000000 #if defined(CONFIG_M5307) && \ - (CONFIG_TEXT_BASE == CONFIG_SYS_INT_FLASH_BASE) + (CONFIG_TEXT_BASE == CFG_SYS_INT_FLASH_BASE) .long _start - CONFIG_TEXT_BASE #else .long _START
@@ -92,10 +92,10 @@ _start: move.w #0x2700,%sr /* set MBAR address + valid flag */ - move.l #(CONFIG_SYS_MBAR + 1), %d0 + move.l #(CFG_SYS_MBAR + 1), %d0 move.c %d0, %MBAR - move.l #(CONFIG_SYS_INIT_RAM_ADDR + 1), %d0 + move.l #(CFG_SYS_INIT_RAM_ADDR + 1), %d0 move.c %d0, %RAMBAR /* DS 4.8.2 (Cache Organization) invalidate and disable cache */
@@ -110,7 +110,7 @@ _start: * therefore no VBR to set */ #if !defined(CONFIG_MONITOR_IS_IN_RAM) - move.l #CONFIG_SYS_FLASH_BASE, %d0 + move.l #CFG_SYS_FLASH_BASE, %d0 movec %d0, %VBR #endif
@@ -125,7 +125,7 @@ _start: move.l #__got_start, %a5 /* setup stack initially on top of internal static ram */ - move.l #(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE), %sp + move.l #(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_SIZE), %sp /* * if configured, malloc_f arena will be reserved first,
arch/m68k/cpu/mcf532x/cpu.c +1 -1
@@ -131,7 +131,7 @@ int watchdog_init(void)u32 wdog_module =0 ;/* set timeout and enable watchdog */ - wdog_module = ((CONFIG_SYS_CLK /1000 ) *CONFIG_WATCHDOG_TIMEOUT ); + wdog_module = ((CFG_SYS_CLK /1000 ) *CONFIG_WATCHDOG_TIMEOUT );#ifdef CONFIG_M5329 out_be16 (&wdp->mr, wdog_module /8192 );#else
arch/m68k/cpu/mcf532x/cpu_init.c +43 -43
128 lines not on this page · raw message
arch/m68k/cpu/mcf532x/speed.c +1 -1
@@ -252,7 +252,7 @@ int clock_pll(int fsys, int flags)/* get_clocks() fills in gd->cpu_clock and gd->bus_clk */ int get_clocks (void ) { - gd->bus_clk =clock_pll (CONFIG_SYS_CLK /1000 ,0 ) *1000 ; + gd->bus_clk =clock_pll (CFG_SYS_CLK /1000 ,0 ) *1000 ; gd->cpu_clk = (gd->bus_clk *3 );#ifdef CONFIG_SYS_I2C_FSL
arch/m68k/cpu/mcf532x/start.S +3 -3
@@ -98,11 +98,11 @@ _start: #if !defined(CONFIG_MONITOR_IS_IN_RAM) /* Set vector base register at the beginning of the Flash */ - move.l #CONFIG_SYS_FLASH_BASE, %d0 + move.l #CFG_SYS_FLASH_BASE, %d0 movec %d0, %VBR #endif - move.l #(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_CTRL), %d0 + move.l #(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_CTRL), %d0 movec %d0, %RAMBAR1 /* invalidate and disable cache */
@@ -131,7 +131,7 @@ _start: move.l #__got_start, %a5 /* setup stack initially on top of internal static ram */ - move.l #(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE), %sp + move.l #(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_SIZE), %sp /* * if configured, malloc_f arena will be reserved first,
arch/m68k/cpu/mcf5445x/cpu_init.c +19 -19
@@ -29,30 +29,30 @@ void init_fbcs(void)fbcs_t *fbcs__maybe_unused = (fbcs_t *)MMAP_FBCS ;#if !defined(CONFIG_SERIAL_BOOT ) -#if (defined(CONFIG_SYS_CS0_BASE ) && defined(CONFIG_SYS_CS0_MASK ) && defined(CONFIG_SYS_CS0_CTRL )) -out_be32 (&fbcs->csar0,CONFIG_SYS_CS0_BASE ); -out_be32 (&fbcs->cscr0,CONFIG_SYS_CS0_CTRL ); -out_be32 (&fbcs->csmr0,CONFIG_SYS_CS0_MASK ); +#if (defined(CFG_SYS_CS0_BASE ) && defined(CFG_SYS_CS0_MASK ) && defined(CFG_SYS_CS0_CTRL )) +out_be32 (&fbcs->csar0,CFG_SYS_CS0_BASE ); +out_be32 (&fbcs->cscr0,CFG_SYS_CS0_CTRL ); +out_be32 (&fbcs->csmr0,CFG_SYS_CS0_MASK );#endif #endif -#if (defined(CONFIG_SYS_CS1_BASE ) && defined(CONFIG_SYS_CS1_MASK ) && defined(CONFIG_SYS_CS1_CTRL )) +#if (defined(CFG_SYS_CS1_BASE ) && defined(CFG_SYS_CS1_MASK ) && defined(CFG_SYS_CS1_CTRL ))/* Latch chipselect */ -out_be32 (&fbcs->csar1,CONFIG_SYS_CS1_BASE ); -out_be32 (&fbcs->cscr1,CONFIG_SYS_CS1_CTRL ); -out_be32 (&fbcs->csmr1,CONFIG_SYS_CS1_MASK ); +out_be32 (&fbcs->csar1,CFG_SYS_CS1_BASE ); +out_be32 (&fbcs->cscr1,CFG_SYS_CS1_CTRL ); +out_be32 (&fbcs->csmr1,CFG_SYS_CS1_MASK );#endif -#if (defined(CONFIG_SYS_CS2_BASE ) && defined(CONFIG_SYS_CS2_MASK ) && defined(CONFIG_SYS_CS2_CTRL )) -out_be32 (&fbcs->csar2,CONFIG_SYS_CS2_BASE ); -out_be32 (&fbcs->cscr2,CONFIG_SYS_CS2_CTRL ); -out_be32 (&fbcs->csmr2,CONFIG_SYS_CS2_MASK ); +#if (defined(CFG_SYS_CS2_BASE ) && defined(CFG_SYS_CS2_MASK ) && defined(CFG_SYS_CS2_CTRL )) +out_be32 (&fbcs->csar2,CFG_SYS_CS2_BASE ); +out_be32 (&fbcs->cscr2,CFG_SYS_CS2_CTRL ); +out_be32 (&fbcs->csmr2,CFG_SYS_CS2_MASK );#endif -#if (defined(CONFIG_SYS_CS3_BASE ) && defined(CONFIG_SYS_CS3_MASK ) && defined(CONFIG_SYS_CS3_CTRL )) -out_be32 (&fbcs->csar3,CONFIG_SYS_CS3_BASE ); -out_be32 (&fbcs->cscr3,CONFIG_SYS_CS3_CTRL ); -out_be32 (&fbcs->csmr3,CONFIG_SYS_CS3_MASK ); +#if (defined(CFG_SYS_CS3_BASE ) && defined(CFG_SYS_CS3_MASK ) && defined(CFG_SYS_CS3_CTRL )) +out_be32 (&fbcs->csar3,CFG_SYS_CS3_BASE ); +out_be32 (&fbcs->cscr3,CFG_SYS_CS3_CTRL ); +out_be32 (&fbcs->csmr3,CFG_SYS_CS3_MASK );#endif #if (defined(CONFIG_SYS_CS4_BASE ) && defined(CONFIG_SYS_CS4_MASK ) && defined(CONFIG_SYS_CS4_CTRL ))
@@ -208,14 +208,14 @@ void cpu_init_f(void)/* FlexBus Chipselect */ init_fbcs (); -#ifdef CONFIG_SYS_CS0_BASE +#ifdef CFG_SYS_CS0_BASE /* * now the flash base address is no longer at 0 (Newer ColdFire family * boot at address 0 instead of 0xFFnn_nnnn). The vector table must * also move to the new location. */ -if (CONFIG_SYS_CS0_BASE !=0 ) -setvbr (CONFIG_SYS_CS0_BASE ); +if (CFG_SYS_CS0_BASE !=0 ) +setvbr (CFG_SYS_CS0_BASE );#endif icache_enable ();
arch/m68k/cpu/mcf5445x/start.S +23 -23
128 lines not on this page · raw message
arch/m68k/include/asm/cache.h +12 -12
@@ -135,28 +135,28 @@#endif /* CONFIG_CF_V4 */ -#ifndef CONFIG_SYS_CACHE_ICACR -#define CONFIG_SYS_CACHE_ICACR 0 +#ifndef CFG_SYS_CACHE_ICACR +#define CFG_SYS_CACHE_ICACR 0#endif -#ifndef CONFIG_SYS_CACHE_DCACR -#ifdef CONFIG_SYS_CACHE_ICACR -#define CONFIG_SYS_CACHE_DCACR CONFIG_SYS_CACHE_ICACR +#ifndef CFG_SYS_CACHE_DCACR +#ifdef CFG_SYS_CACHE_ICACR +#define CFG_SYS_CACHE_DCACR CFG_SYS_CACHE_ICACR#else -#define CONFIG_SYS_CACHE_DCACR 0 +#define CFG_SYS_CACHE_DCACR 0#endif #endif -#ifndef CONFIG_SYS_CACHE_ACR0 -#define CONFIG_SYS_CACHE_ACR0 0 +#ifndef CFG_SYS_CACHE_ACR0 +#define CFG_SYS_CACHE_ACR0 0#endif -#ifndef CONFIG_SYS_CACHE_ACR1 -#define CONFIG_SYS_CACHE_ACR1 0 +#ifndef CFG_SYS_CACHE_ACR1 +#define CFG_SYS_CACHE_ACR1 0#endif -#ifndef CONFIG_SYS_CACHE_ACR2
Lines of this file are not shown. View the raw message.
arch/m68k/include/asm/immap_520x.h +26 -26
52 lines not on this page · raw message
arch/m68k/include/asm/immap_5235.h +36 -36
72 lines not on this page · raw message
arch/m68k/include/asm/immap_5271.h +36 -36
72 lines not on this page · raw message
arch/m68k/include/asm/immap_5275.h +38 -38
76 lines not on this page · raw message
arch/m68k/include/asm/immap_5282.h +36 -36
72 lines not on this page · raw message
arch/m68k/include/asm/immap_5301x.h +40 -40
80 lines not on this page · raw message
arch/m68k/include/asm/m5282.h +194 -194
388 lines not on this page · raw message
arch/mips/mach-mtmips/mt7621/spl/start.S +1 -1
Lines of this file are not shown. View the raw message.
arch/powerpc/cpu/mpc83xx/cpu_init.c +23 -23
46 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/start.S +24 -24
48 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/cpu_init.c +26 -26
52 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/cpu_init_early.c +11 -11
Lines of this file are not shown. View the raw message.
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +1 -1
Lines of this file are not shown. View the raw message.
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +7 -7
Lines of this file are not shown. View the raw message.
arch/powerpc/cpu/mpc85xx/speed.c +21 -21
42 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/start.S +65 -65
130 lines not on this page · raw message
arch/powerpc/cpu/mpc85xx/u-boot-spl.lds +2 -2
Lines of this file are not shown. View the raw message.
arch/powerpc/include/asm/config_mpc85xx.h +21 -21
42 lines not on this page · raw message
arch/powerpc/include/asm/fsl_secure_boot.h +10 -10
Lines of this file are not shown. View the raw message.
arch/powerpc/include/asm/immap_85xx.h +22 -22
44 lines not on this page · raw message
board/cortina/presidio-asic/lowlevel_init.S +1 -1
Lines of this file are not shown. View the raw message.
board/emulation/qemu-ppce500/qemu-ppce500.c +3 -3
Lines of this file are not shown. View the raw message.
board/freescale/common/fsl_chain_of_trust.c +1 -1
Lines of this file are not shown. View the raw message.
board/freescale/common/p_corenet/tlb.c +24 -24
48 lines not on this page · raw message
board/freescale/ls1012aqds/ls1012aqds.c +2 -2
Lines of this file are not shown. View the raw message.
board/freescale/ls1021aqds/ls1021aqds.c +1 -1
Lines of this file are not shown. View the raw message.
board/freescale/ls1021atwr/ls1021atwr.c +6 -6
Lines of this file are not shown. View the raw message.
board/freescale/ls1043aqds/ls1043aqds.c +24 -24
48 lines not on this page · raw message
board/freescale/ls1043ardb/ls1043ardb.c +16 -16
Lines of this file are not shown. View the raw message.
board/freescale/ls1046aqds/ls1046aqds.c +24 -24
48 lines not on this page · raw message
board/freescale/ls2080aqds/ls2080aqds.c +1 -1
Lines of this file are not shown. View the raw message.
board/freescale/mpc837xerdb/mpc837xerdb.c +14 -14
Lines of this file are not shown. View the raw message.
board/freescale/mpc8548cds/mpc8548cds.c +6 -6
Lines of this file are not shown. View the raw message.
board/freescale/p1_p2_rdb_pc/ddr.c +28 -28
56 lines not on this page · raw message
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +11 -11
Lines of this file are not shown. View the raw message.
board/freescale/t102xrdb/tlb.c +27 -27
54 lines not on this page · raw message
board/freescale/t104xrdb/tlb.c +29 -29
58 lines not on this page · raw message
board/freescale/t208xqds/tlb.c +23 -23
46 lines not on this page · raw message
board/freescale/t208xrdb/tlb.c +25 -25
50 lines not on this page · raw message
board/freescale/t4rdb/tlb.c +25 -25
50 lines not on this page · raw message
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c +1 -1
Lines of this file are not shown. View the raw message.
doc/device-tree-bindings/video/exynos-dp.txt +2 -2
Lines of this file are not shown. View the raw message.
doc/device-tree-bindings/video/exynos-fb.txt +5 -5
Lines of this file are not shown. View the raw message.
drivers/misc/fsl_ifc.c +219 -219
438 lines not on this page · raw message
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/fsl-mc/mc.c +24 -24
48 lines not on this page · raw message
include/configs/M5208EVBE.h +21 -21
42 lines not on this page · raw message
include/configs/M5235EVB.h +26 -26
52 lines not on this page · raw message
include/configs/M5249EVB.h +33 -33
66 lines not on this page · raw message
include/configs/M5253DEMO.h +43 -43
86 lines not on this page · raw message
include/configs/M5272C3.h +24 -24
48 lines not on this page · raw message
include/configs/M5275EVB.h +24 -24
48 lines not on this page · raw message
include/configs/M5282EVB.h +34 -34
68 lines not on this page · raw message
include/configs/M53017EVB.h +27 -27
54 lines not on this page · raw message
include/configs/M5329EVB.h +28 -28
56 lines not on this page · raw message
include/configs/M5373EVB.h +28 -28
56 lines not on this page · raw message
include/configs/MPC837XERDB.h +30 -30
60 lines not on this page · raw message
include/configs/MPC8548CDS.h +29 -29
58 lines not on this page · raw message
include/configs/P1010RDB.h +73 -73
146 lines not on this page · raw message
include/configs/P2041RDB.h +66 -66
132 lines not on this page · raw message
include/configs/T102xRDB.h +105 -104
209 lines not on this page · raw message
include/configs/T104xRDB.h +114 -114
228 lines not on this page · raw message
include/configs/T208xQDS.h +113 -113
226 lines not on this page · raw message
include/configs/T208xRDB.h +96 -96
192 lines not on this page · raw message
include/configs/T4240RDB.h +103 -103
206 lines not on this page · raw message
include/configs/amcore.h +22 -22
44 lines not on this page · raw message
include/configs/astro_mcf5373l.h +34 -34
68 lines not on this page · raw message
include/configs/at91sam9263ek.h +28 -28
56 lines not on this page · raw message
include/configs/cobra5272.h +24 -24
48 lines not on this page · raw message
include/configs/eb_cpu5282.h +43 -43
86 lines not on this page · raw message
include/configs/gardena-smart-gateway-at91sam.h +6 -6
Lines of this file are not shown. View the raw message.
include/configs/gardena-smart-gateway-mt7688.h +4 -4
Lines of this file are not shown. View the raw message.
include/configs/imx8mm_data_modul_edm_sbc.h +2 -2
Lines of this file are not shown. View the raw message.
include/configs/imx8mn_bsh_smm_s2_common.h +3 -3
Lines of this file are not shown. View the raw message.
include/configs/km/pg-wcom-ls102xa.h +43 -43
86 lines not on this page · raw message
include/configs/kmcent2.h +102 -102
204 lines not on this page · raw message
include/configs/ls1021aqds.h +87 -87
174 lines not on this page · raw message
include/configs/ls1021atwr.h +37 -37
74 lines not on this page · raw message
include/configs/ls1043aqds.h +112 -112
224 lines not on this page · raw message
include/configs/ls1043ardb.h +73 -73
146 lines not on this page · raw message
include/configs/ls1046aqds.h +118 -118
236 lines not on this page · raw message
include/configs/ls1046ardb.h +28 -28
56 lines not on this page · raw message
include/configs/ls1088aqds.h +108 -108
216 lines not on this page · raw message
include/configs/ls1088ardb.h +40 -40
80 lines not on this page · raw message
include/configs/ls2080aqds.h +79 -79
158 lines not on this page · raw message
include/configs/ls2080ardb.h +55 -55
110 lines not on this page · raw message
include/configs/p1_p2_rdb_pc.h +82 -82
164 lines not on this page · raw message
include/configs/pm9261.h +26 -26
52 lines not on this page · raw message
include/configs/pm9263.h +28 -28
56 lines not on this page · raw message
include/configs/socfpga_arria10_socdk.h +1 -1
Lines of this file are not shown. View the raw message.
include/configs/socrates.h +33 -33
66 lines not on this page · raw message
include/configs/somlabs_visionsom_6ull.h +2 -2
Lines of this file are not shown. View the raw message.
include/configs/stmark2.h +21 -21
42 lines not on this page · 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 17/17] global: Move remaining CONFIG_SYS_* to CFG_SYS_*
Quoted 22 lines · Tom Rini
The rest of the unmigrated CONFIG symbols in the
CONFIG_SYS_NORnamespace 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]>--- board/freescale/ls1043aqds/ls1043aqds.c | 48 +++++++------- board/freescale/ls1043ardb/ls1043ardb.c | 32 +++++----- board/freescale/ls1046aqds/ls1046aqds.c | 48 +++++++------- board/freescale/ls1088a/ls1088a.c | 26 ++++---- include/configs/P1010RDB.h | 42 ++++++------- include/configs/T102xRDB.h | 38 +++++------ include/configs/T104xRDB.h | 48 +++++++------- include/configs/T208xQDS.h | 60 +++++++++--------- include/configs/T208xRDB.h | 36 +++++------ include/configs/T4240RDB.h | 48 +++++++------- include/configs/km/pg-wcom-ls102xa.h | 24 +++---- include/configs/kmcent2.h | 34 +++++----- include/configs/ls1021aqds.h | 60 +++++++++--------- include/configs/ls1021atwr.h | 24 +++----
Quoted 9 lines
include/configs/ls1043aqds.h | 84 ++++++++++++------------- include/configs/ls1043ardb.h | 64 +++++++++---------- include/configs/ls1046aqds.h | 84 ++++++++++++------------- include/configs/ls1088aqds.h | 66 +++++++++---------- include/configs/ls1088ardb.h | 26 ++++---- include/configs/ls2080aqds.h | 66 +++++++++---------- include/configs/ls2080ardb.h | 38 +++++------ 21 files changed, 498 insertions(+), 498 deletions(-)
Quoted 7 lines · Tom Rini
The rest of the unmigrated CONFIG symbols in the
CONFIG_SYS_NORnamespace 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]>Reviewed-by Simon Glass <[email protected]>
For the series, (and v2 of #3) applied to u-boot/next, thanks!
Signature · 1 line
Tom