diff options
author | Rayagonda Kokatanur | 2020-07-15 22:49:01 +0530 |
---|---|---|
committer | Tom Rini | 2020-07-29 10:37:10 -0400 |
commit | f01a4e8cc96a43172398f2f441045ad8a2c90807 (patch) | |
tree | 091d8b54be87c9b28e8c5277957424ec74cef812 /board/broadcom | |
parent | b5a152e7ca0b2b71300c1ef7a4c80a1f729a7d05 (diff) |
board: ns3: program GIC LPI tables
U-boot programs the GIC LPI configuration tables and enables
the LPI table.
Signed-off-by: Bharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/broadcom')
-rw-r--r-- | board/broadcom/bcmns3/ns3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c index 6a72e28494a..a9c3a0990f5 100644 --- a/board/broadcom/bcmns3/ns3.c +++ b/board/broadcom/bcmns3/ns3.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/io.h> +#include <asm/gic-v3.h> #include <asm/system.h> #include <asm/armv8/mmu.h> #include <asm/arch-bcmns3/bl33_info.h> @@ -91,3 +92,12 @@ void reset_cpu(ulong level) psci_system_reset(); } } + +#ifdef CONFIG_OF_BOARD_SETUP +int ft_board_setup(void *fdt, struct bd_info *bd) +{ + gic_lpi_tables_init(); + + return 0; +} +#endif /* CONFIG_OF_BOARD_SETUP */ |