Message ID | 20211108144556.v10.2.I1edaad77041c1300213c307eef6741499504047@changeid |
---|---|
State | Accepted |
Commit | 300761b68da14fc77f3e236f35c459fb1a6769ce |
Delegated to: | Ramon Fried |
Headers | show |
Series | [v10,1/2] net: brcm: netXtreme driver | expand |
On Tue, Nov 9, 2021 at 12:46 AM Roman Bacik <roman.bacik@broadcom.com> wrote: > > From: Bharat Gooty <bharat.gooty@broadcom.com> > > 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> > --- > > (no changes since v4) > > Changes in v4: > - remove bnxt commands > - load bnxt firmware in board_init > > Changes in v3: > - remove commands set/get mac/speed > - add doc/bnxt.rst > > board/broadcom/bcmns3/ns3.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c > index 32acf367842a..88036c16c951 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; > } > > -- > 2.17.1 > > > -- > This electronic communication and the information and any files transmitted > with it, or attached to it, are confidential and are intended solely for > the use of the individual or entity to whom it is addressed and may contain > information that is confidential, legally privileged, protected by privacy > laws, or otherwise restricted from disclosure to anyone else. If you are > not the intended recipient or the person responsible for delivering the > e-mail to the intended recipient, you are hereby notified that any use, > copying, distributing, dissemination, forwarding, printing, or copying of > this e-mail is strictly prohibited. If you received this e-mail in error, > please return the e-mail to the sender, delete it from your computer, and > destroy any printed copy of it. Applied to u-boot-net/next, Thanks.
diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c index 32acf367842a..88036c16c951 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; }