From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Tue, 6 Dec 2016 12:28:42 +0100 Subject: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support In-Reply-To: <1480902750-839-24-git-send-email-andre.przywara@arm.com> References: <1480902750-839-1-git-send-email-andre.przywara@arm.com> <1480902750-839-24-git-send-email-andre.przywara@arm.com> Message-ID: <20161206112842.dofdry3jxy3t42tf@lukather> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: