
On Thu, May 23, 2019 at 02:08:23PM +0000, Abel Vesa wrote:
On 19-05-23 09:59:05, Tom Rini wrote:
On Thu, May 23, 2019 at 10:49:11AM -0300, Fabio Estevam wrote:
Hi Peng,
On Tue, May 21, 2019 at 10:38 PM Peng Fan peng.fan@nxp.com wrote:
I will send a v2 removing CONFIG_SPL_DM.
So what is the real direction moving to use SPL driver, non-dm is allowed in future?
We are very limited in space when CONFIG_SPL_DM is used on imx6q-sabresd.
With CONFIG_SPL_DM selected the size increase due to the three dtb's is about 8kB.
Even with CONFIG_SPL_DM disabled we ony have 1kB of free space, so I still want to optimize the size further.
So with CONFIG_SPL_DM we're overflowing by ~7kB?
Well, the mandatory requirements here are as follow (AFAIK):
- keep one binary for all imx6dl imx6[qp|dl|q]-sabresd
- have DM support in SPL
So I guess we have to either prioritize the other needed configs and leave out the one we can do without. That, ofcourse, if we still want to fit in and we still want one binary for all three sabresd boards.
Well, no, you don't have to use DM in SPL. But what I'm wondering is if we need qp/dl/q specific information at the SPL stage or if that can wait until we're doing the real U-Boot.