mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
ppc/85xx: Fixup PCI nodes for P1_P2_RDB
While we had ft_pci_board_setup it wasn't being called by ft_board_setup. Fix that so we actually update the device tree PCI nodes on P1_P2_RDB boards. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
6e5fb4eec3
commit
1749c3da8d
@ -198,6 +198,8 @@ int board_eth_init(bd_t *bis)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_OF_BOARD_SETUP)
|
#if defined(CONFIG_OF_BOARD_SETUP)
|
||||||
|
extern void ft_pci_board_setup(void *blob);
|
||||||
|
|
||||||
void ft_board_setup(void *blob, bd_t *bd)
|
void ft_board_setup(void *blob, bd_t *bd)
|
||||||
{
|
{
|
||||||
phys_addr_t base;
|
phys_addr_t base;
|
||||||
@ -208,6 +210,8 @@ void ft_board_setup(void *blob, bd_t *bd)
|
|||||||
base = getenv_bootm_low();
|
base = getenv_bootm_low();
|
||||||
size = getenv_bootm_size();
|
size = getenv_bootm_size();
|
||||||
|
|
||||||
|
ft_pci_board_setup(blob);
|
||||||
|
|
||||||
fdt_fixup_memory(blob, (u64)base, (u64)size);
|
fdt_fixup_memory(blob, (u64)base, (u64)size);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user