Re: [U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-16 Thread Maxime Ripard
On Mon, Jan 16, 2017 at 09:47:06AM +, André Przywara wrote: > On 16/01/17 08:55, Maxime Ripard wrote: > > On Fri, Jan 13, 2017 at 09:42:28AM +, Andre Przywara wrote: > >>> Re wanting to build SPL either as 32-bit or 64-bit, could this be a > >>> Kconfig option perhaps? > >> > >> Sounds like

Re: [U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-16 Thread André Przywara
On 16/01/17 08:55, Maxime Ripard wrote: > On Fri, Jan 13, 2017 at 09:42:28AM +, Andre Przywara wrote: >>> Re wanting to build SPL either as 32-bit or 64-bit, could this be a >>> Kconfig option perhaps? >> >> Sounds like a direction worth to investigate. >> In the moment we have two separate def

Re: [U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-16 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 09:42:28AM +, Andre Przywara wrote: > > Re wanting to build SPL either as 32-bit or 64-bit, could this be a > > Kconfig option perhaps? > > Sounds like a direction worth to investigate. > In the moment we have two separate defconfig files, because CPU_V7 and > ARM64 are

Re: [U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-13 Thread Andre Przywara
Hi, On 13/01/17 02:19, Simon Glass wrote: > Hi Andre, > > On 2 January 2017 at 04:48, Andre Przywara wrote: >> When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't >> use the more compact Thumb2 encoding, which only exists for AArch32 >> code. This makes the SPL rather big, up

Re: [U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-12 Thread Simon Glass
Hi Andre, On 2 January 2017 at 04:48, Andre Przywara wrote: > When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't > use the more compact Thumb2 encoding, which only exists for AArch32 > code. This makes the SPL rather big, up to a point where any code > additions or even a diff

[U-Boot] [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-02 Thread Andre Przywara
When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't use the more compact Thumb2 encoding, which only exists for AArch32 code. This makes the SPL rather big, up to a point where any code additions or even a different compiler may easily exceed the 32KB limit that the Allwinner BRO