aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Gooty <bharat.gooty@broadcom.com>2021-11-08 14:46:11 -0800
committerRamon Fried <rfried.dev@gmail.com>2021-12-02 08:34:01 +0200
commit300761b68da14fc77f3e236f35c459fb1a6769ce (patch)
treec5ba24193b2e7758026ef4a240e3622bbc484881
parent5a5bba053d4eb7dcd79b4532674881e0ac144767 (diff)
downloadu-boot-300761b68da14fc77f3e236f35c459fb1a6769ce.zip
u-boot-300761b68da14fc77f3e236f35c459fb1a6769ce.tar.gz
u-boot-300761b68da14fc77f3e236f35c459fb1a6769ce.tar.bz2
board: brcm-ns3: Load netXtreme firmware
Load NetXtreme firmware in board_init when BNXT_ETH is selected. Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com> Signed-off-by: Roman Bacik <roman.bacik@broadcom.com>
-rw-r--r--board/broadcom/bcmns3/ns3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c
index 32acf36..88036c1 100644
--- a/board/broadcom/bcmns3/ns3.c
+++ b/board/broadcom/bcmns3/ns3.c
@@ -150,7 +150,10 @@ int board_init(void)
if (bl33_info->version != BL33_INFO_VERSION)
printf("*** warning: ATF BL31 and U-Boot not in sync! ***\n");
-
+#if CONFIG_IS_ENABLED(BNXT_ETH)
+ if (chimp_fastboot_optee() != 0)
+ printf("*** warning: secure chimp fastboot failed! ***\n");
+#endif
return 0;
}