mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-25 07:41:40 +02:00
arm: socfpga: Add do_bridge_reset for Arria 10
Add do_bridge_reset() function for Arria 10, it is required by misc.c. arch/arm/mach-socfpga/built-in.o: In function `do_bridge': arch/arm/mach-socfpga/misc.c:221: undefined reference to `do_bridge_reset' make[1]: *** [u-boot] Error 1 Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
This commit is contained in:
parent
a684729a15
commit
2e1de5bd97
@ -14,6 +14,7 @@
|
|||||||
#include <asm/arch/misc.h>
|
#include <asm/arch/misc.h>
|
||||||
#include <asm/arch/pinmux.h>
|
#include <asm/arch/pinmux.h>
|
||||||
#include <asm/arch/reset_manager.h>
|
#include <asm/arch/reset_manager.h>
|
||||||
|
#include <asm/arch/reset_manager_arria10.h>
|
||||||
#include <asm/arch/sdram_arria10.h>
|
#include <asm/arch/sdram_arria10.h>
|
||||||
#include <asm/arch/system_manager.h>
|
#include <asm/arch/system_manager.h>
|
||||||
#include <asm/arch/nic301.h>
|
#include <asm/arch/nic301.h>
|
||||||
@ -262,3 +263,11 @@ int arch_misc_init(void)
|
|||||||
return socfpga_eth_reset();
|
return socfpga_eth_reset();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void do_bridge_reset(int enable)
|
||||||
|
{
|
||||||
|
if (enable)
|
||||||
|
socfpga_reset_deassert_bridges_handoff();
|
||||||
|
else
|
||||||
|
socfpga_bridges_reset();
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user