Re: [PATCH 1/2] powerpc/boot: Expose Kconfig symbols to wrapper

2018-10-10 Thread Joel Stanley
On Thu, 11 Oct 2018 at 10:32, Michael Ellerman wrote: > > Michael Ellerman writes: > > Joel Stanley writes: > >> diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > >> index 0fb96c26136f..eeed74e0dfca 100644 > >> --- a/arch/powerpc/boot/Makefile > >> +++

Re: [PATCH 1/2] powerpc/boot: Expose Kconfig symbols to wrapper

2018-10-10 Thread Michael Ellerman
Michael Ellerman writes: > Joel Stanley writes: >> diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile >> index 0fb96c26136f..eeed74e0dfca 100644 >> --- a/arch/powerpc/boot/Makefile >> +++ b/arch/powerpc/boot/Makefile >> @@ -197,9 +197,14 @@ $(obj)/empty.c: >>

Re: [PATCH 1/2] powerpc/boot: Expose Kconfig symbols to wrapper

2018-10-10 Thread Michael Ellerman
Joel Stanley writes: > diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > index 0fb96c26136f..eeed74e0dfca 100644 > --- a/arch/powerpc/boot/Makefile > +++ b/arch/powerpc/boot/Makefile > @@ -197,9 +197,14 @@ $(obj)/empty.c: > $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds :

[PATCH 1/2] powerpc/boot: Expose Kconfig symbols to wrapper

2018-10-09 Thread Joel Stanley
Currently the wrapper is built without including anything in $(src)/include/, which means there are no CONFIG_ symbols defined. This means the platform specific serial drivers were never enabled. We now copy the definitions into the boot directory, so any C file can now include autoconf.h to