projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
board
/
amcc
/
makalu
/
makalu.c
diff --git
a/board/amcc/makalu/makalu.c
b/board/amcc/makalu/makalu.c
index
fc79907
..
9fc0ec6
100644
(file)
--- a/
board/amcc/makalu/makalu.c
+++ b/
board/amcc/makalu/makalu.c
@@
-37,7
+37,7
@@
DECLARE_GLOBAL_DATA_PTR;
DECLARE_GLOBAL_DATA_PTR;
-extern flash_info_t flash_info[C
FG_MAX_FLASH_BANKS]; /* info for FLASH chips
*/
+extern flash_info_t flash_info[C
ONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips
*/
/*
* Board early initialization function
/*
* Board early initialization function
@@
-194,9
+194,9
@@
int board_early_init_f (void)
mtsdr(SDR0_SRST, 0);
/* Reset PCIe slots */
mtsdr(SDR0_SRST, 0);
/* Reset PCIe slots */
- gpio_write_bit(C
FG
_GPIO_PCIE_RST, 0);
+ gpio_write_bit(C
ONFIG_SYS
_GPIO_PCIE_RST, 0);
udelay(100);
udelay(100);
- gpio_write_bit(C
FG
_GPIO_PCIE_RST, 1);
+ gpio_write_bit(C
ONFIG_SYS
_GPIO_PCIE_RST, 1);
/*
* Configure PFC (Pin Function Control) registers
/*
* Configure PFC (Pin Function Control) registers
@@
-213,7
+213,7
@@
int misc_init_r(void)
#ifdef CONFIG_ENV_IS_IN_FLASH
/* Monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
#ifdef CONFIG_ENV_IS_IN_FLASH
/* Monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
- -C
FG
_MONITOR_LEN,
+ -C
ONFIG_SYS
_MONITOR_LEN,
0xffffffff,
&flash_info[0]);
#endif
0xffffffff,
&flash_info[0]);
#endif
@@
-286,9
+286,9
@@
void pcie_setup_hoses(int busno)
/* setup mem resource */
pci_set_region(hose->regions + 0,
/* setup mem resource */
pci_set_region(hose->regions + 0,
- C
FG_PCIE_MEMBASE + i * CFG
_PCIE_MEMSIZE,
- C
FG_PCIE_MEMBASE + i * CFG
_PCIE_MEMSIZE,
- C
FG
_PCIE_MEMSIZE,
+ C
ONFIG_SYS_PCIE_MEMBASE + i * CONFIG_SYS
_PCIE_MEMSIZE,
+ C
ONFIG_SYS_PCIE_MEMBASE + i * CONFIG_SYS
_PCIE_MEMSIZE,
+ C
ONFIG_SYS
_PCIE_MEMSIZE,
PCI_REGION_MEM);
hose->region_count = 1;
pci_register_hose(hose);
PCI_REGION_MEM);
hose->region_count = 1;
pci_register_hose(hose);