
On Mon, Dec 05, 2016 at 01:52:30AM +0000, 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 different compiler may easily exceed the 32KB limit that the Allwinner BROM imposes. Introduce a separate, mostly generic sun50i-a64 configuration, which defines the CPU_V7 symbol and thus will create a 32-bit binary using the memory-saving Thumb2 encoding.
"mostly generic". Where do you draw the line? How do you deal with a board that would use a different UART? a different MMC? different memory configuration.?
This looks like it's not generic at all, it's just a configuration for the Pine64.
Maxime