diff mbox series

[U-Boot,101/126] x86: Use fsp command with FSP1

Message ID 20190925150052.201698-102-sjg@chromium.org
State Superseded
Delegated to: Bin Meng
Headers show
Series x86: Add initial support for apollolake | expand

Commit Message

Simon Glass Sept. 25, 2019, 3 p.m. UTC
The current 'fsp' command only works with FSP1. Update it to avoid trying
to build it with FSP2.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Oct. 10, 2019, 10:02 a.m. UTC | #1
Hi Simon,

On Wed, Sep 25, 2019 at 11:02 PM Simon Glass <sjg@chromium.org> wrote:
>
> The current 'fsp' command only works with FSP1. Update it to avoid trying
> to build it with FSP2.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/x86/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cmd/x86/Makefile b/cmd/x86/Makefile
> index 144b1cf5abe..c50ddccef57 100644
> --- a/cmd/x86/Makefile
> +++ b/cmd/x86/Makefile
> @@ -3,4 +3,4 @@
>  obj-y += mtrr.o
>  obj-$(CONFIG_CMD_EXCEPTION) += exception.o
>  obj-$(CONFIG_USE_HOB) += hob.o
> -obj-$(CONFIG_HAVE_FSP) += fsp.o
> +obj-$(CONFIG_FSP_VERSION1) += fsp.o

Instead of making this command FSP1 only, can we update the codes to
support FSP2? It only need output some basic information for the FSP2
file headers.

> --

Regards,
Bin
diff mbox series

Patch

diff --git a/cmd/x86/Makefile b/cmd/x86/Makefile
index 144b1cf5abe..c50ddccef57 100644
--- a/cmd/x86/Makefile
+++ b/cmd/x86/Makefile
@@ -3,4 +3,4 @@ 
 obj-y += mtrr.o
 obj-$(CONFIG_CMD_EXCEPTION) += exception.o
 obj-$(CONFIG_USE_HOB) += hob.o
-obj-$(CONFIG_HAVE_FSP) += fsp.o
+obj-$(CONFIG_FSP_VERSION1) += fsp.o