
On Thu, May 26, 2016 at 12:21:23AM +0200, Marek Vasut wrote:
Not for SPL, which has 14 kiB size limit and it is itching to overflow. I am literally counting bytes in the SPL and removing slop from structures to make it fit, just barely. With the USB loader, I can brutalize the SPL into having extremely rudimentary UART support now (like printch() being the most advanced output mechanism, but you can only use it three times, otherwise the code won't fit and the board is eaten by demons) and this is where this patch comes into play.
So yes, for full u-boot, this _should_ be part of DT. For SPL, please apply.
Hi Marek,
Interesting :) May I ask which platform/SoC you're working with? Have you seen the (unfortunately currently out of tree) port we did for the JZ4780-based Ci20? I recall the pain of squeezing SPL down to a small enough size well...
https://github.com/MIPS/CI20_u-boot
Thanks, Paul