[U-Boot] [PATCH 15/53] net: fm: add TFABOOT support

York Sun york.sun at nxp.com
Wed Oct 3 16:18:39 UTC 2018


On 10/03/2018 04:39 AM, Rajesh Bhagat wrote:
> Adds TFABOOT support and allows to pick FMAN firmware
> on basis of boot source.
> 
> Signed-off-by: Pankit Garg <pankit.garg at nxp.com>
> Signed-off-by: Rajesh Bhagat <rajesh.bhagat at nxp.com>
> ---
>  drivers/net/fm/fm.c | 104 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 104 insertions(+)
> 
> diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c
> index 3327073bf1..427ea1a627 100644
> --- a/drivers/net/fm/fm.c
> +++ b/drivers/net/fm/fm.c
> @@ -11,6 +11,15 @@
>  #include "fm.h"
>  #include <fsl_qe.h>		/* For struct qe_firmware */
>  
> +#ifdef CONFIG_TFABOOT

Same here. Do not use ifdef if you don't have to.

York


More information about the U-Boot mailing list