On Tue, Jul 3, 2018 at 5:45 PM, André Przywara <andre.przyw...@arm.com> wrote:
>> >> I tried enabling DM for MMC on A64 recently and unfortunately it results in >> SPL exceeding 32kb size limit. > > Mmh, worked for me with this preliminary branch: > [1] https://github.com/apritzel/u-boot/commits/sunxi-dm-WIP > (which I forgot to link in my original email). > Did you enable SPL_DM_MMC or SPL_DM as well? I think there is not much > benefit in doing so, especially given the code size issue. Yes, I did. We'll need it to handle all the controller quirks eventually (new clock mode, calibration, delays). Currently we have a number of ifdefs in the driver. >> So I guess we'll have to find a workaround for this issue as well... > > I recently made a patch that shrinks the ARMv8 exception table code by > 250 bytes. Not much, but might help. How much did you overflow? > I think eventually we should generate the exception table and put it > somewhere else than in SRAM A1. That has the potential of freeing up > about 2KB or so. I started rewriting the vectors to make this easier, > but it's not very high on my TODO list. That won't be enough: aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 10584 bytes > > Cheers, > Andre. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot