mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
Migrate all of COFIG_SYS_FSL* to the CFG_SYS namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5155207ae1
commit
6cc04547cb
237 changed files with 861 additions and 862 deletions
|
@ -21,18 +21,18 @@
|
|||
#include <asm/bitops.h>
|
||||
|
||||
/*
|
||||
* CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY is the physical address from the view
|
||||
* CFG_SYS_FSL_DDR_SDRAM_BASE_PHY is the physical address from the view
|
||||
* of DDR controllers. It is the same as CONFIG_SYS_DDR_SDRAM_BASE for
|
||||
* all Power SoCs. But it could be different for ARM SoCs. For example,
|
||||
* fsl_lsch3 has a mapping mechanism to map DDR memory to ranges (in order) of
|
||||
* 0x00_8000_0000 ~ 0x00_ffff_ffff
|
||||
* 0x80_8000_0000 ~ 0xff_ffff_ffff
|
||||
*/
|
||||
#ifndef CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY
|
||||
#ifndef CFG_SYS_FSL_DDR_SDRAM_BASE_PHY
|
||||
#ifdef CONFIG_MPC83xx
|
||||
#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE
|
||||
#define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE
|
||||
#else
|
||||
#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE
|
||||
#define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -898,7 +898,7 @@ phys_size_t fsl_ddr_sdram(void)
|
|||
|
||||
/* Reset info structure. */
|
||||
memset(&info, 0, sizeof(fsl_ddr_info_t));
|
||||
info.mem_base = CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY;
|
||||
info.mem_base = CFG_SYS_FSL_DDR_SDRAM_BASE_PHY;
|
||||
info.first_ctrl = 0;
|
||||
info.num_ctrls = CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS;
|
||||
info.dimm_slots_per_ctrl = CONFIG_DIMM_SLOTS_PER_CTLR;
|
||||
|
@ -946,7 +946,7 @@ fsl_ddr_sdram_size(void)
|
|||
unsigned long long total_memory = 0;
|
||||
|
||||
memset(&info, 0 , sizeof(fsl_ddr_info_t));
|
||||
info.mem_base = CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY;
|
||||
info.mem_base = CFG_SYS_FSL_DDR_SDRAM_BASE_PHY;
|
||||
info.first_ctrl = 0;
|
||||
info.num_ctrls = CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS;
|
||||
info.dimm_slots_per_ctrl = CONFIG_DIMM_SLOTS_PER_CTLR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue