From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 28 Nov 2018 05:24:45 +0100 Subject: [U-Boot] [PATCH v2 00/32] spi: DM_SPI migration timeout, remainder(2) In-Reply-To: <7ad75126-fd5b-0482-ab3d-07e3791c24a3@gmail.com> References: <20181125172853.20491-1-jagan@amarulasolutions.com> <7ad75126-fd5b-0482-ab3d-07e3791c24a3@gmail.com> Message-ID: <3c0bda66-1ca8-4914-97f3-290a1416deef@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marek, Jagan, Am 27.11.2018 um 13:10 schrieb Marek Vasut: > On 11/27/2018 06:51 AM, Jagan Teki wrote: >> On Mon, Nov 26, 2018 at 12:48 PM Peng Fan wrote: >>> >>> Hi Jagan, >>> >>> Just have a quick question here. >>> >>> After dropping non-DM code, for SPL use non-DM code should switch to SPL_DM and use SPL OF CONTROL? >> >> Here are the options, that we dealt based on the size constraints >> 1) try to use DM_SPL with SPL OF_CONTROL > > Not possible > >> 2) try PLATDATA > > Adds extra bloat to SPLs which are already borderline, so not possible. > >> 3) try TPL for truly small size > > How would that help ? I don't need extra level of bootloader, I can use > SPL right now. Exactly my thoughts too. I have a at91 based board (smartweb) in mainline where the SPL fits into 4k sram ... no chance for 1) or 2) ... I see the reasons for integrating more and more stuff into SPL, but it should be possible to build a small SPL ... Hopefully TPL stays really small ... Hmm.. while writting (did not actually looked into TPL ...): Is it possible to boot U-boot directly from TPL ? >> if none works, we can see the other option. may be some glue code to >> read flash for SPL or something else. > > I'll have to take a look at the Renesas Gen2, but probably next year. I talk with customers to get time for converting, but this also may take some time ... bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de