: ARM: SPL: Make more generic, merge DaVinci and OMAP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORTarch/ | +4 | 1 reply | |
| 2/17 | omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print()README arch/ arch/ +6 more | +15 | 0 replies | |
| 3/17 | ARM: SPL: Move the omap SPL framework to arch/arm/libREADME arch/ arch/ +20 more | +591 | 1 reply | |
| 3/17 | ARM: SPL: Move the omap SPL framework to arch/arm/lib | +0 | 1 reply | |
| 4/17 | Makefile: Move SPL files to clobber, remove from cleanMakefile | +6 | 0 replies | |
| 5/17 | ARM: SPL: Rename omap_boot_device to spl_boot_devicearch/ arch/ arch/ +3 more | +8 | 0 replies | |
| 6/17 | ARM: SPL: Rename omap_boot_mode to spl_boot_mode()arch/ arch/ arch/ +2 more | +5 | 0 replies | |
| 7/17 | omap-common: Fix typo in lowlevel_init.S::save_boot_paramsarch/ | +1 | 0 replies | |
| 8/17 | ARM: SPL: Remove NAND_MODE_HW_ECC from spl_nand.carch/ arch/ arch/ | +3 | 1 reply | |
| 9/17 | ARM: SPL: Only call mem_malloc_init if configuredarch/ | +2 | 1 reply | |
| 9/17 | ARM: SPL: Only call mem_malloc_init if configured | +0 | 0 replies | |
| 10/17 | ARM: SPL: Add <asm/spl.h> and <asm/arch/spl.h>arch/ arch/ arch/ +10 more | +203 | 0 replies | |
| 11/17 | ARM: SPL: Make spl_mmc.c more genericarch/ arch/ arch/ +2 more | +36 | 0 replies | |
| 12/17 | ARM: SPL: Clean up spl.c / spl_nand.c slightlyarch/ arch/ | +8 | 0 replies | |
| 13/17 | ARM: SPL: Start hooking in the current SPI SPL supportarch/ arch/ | +8 | 0 replies | |
| 14/17 | ARM: SPL: Move gpmc_init() to spl_board_init()arch/ arch/ arch/ +4 more | +14 | 1 reply | |
| 15/17 | ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORKarch/ arch/ include/ +2 more | +44 | 1 reply | |
| 16/17 | SPL: Enhance drivers/mtd/nand/nand_spl_load.carch/ arch/ arch/ +5 more | +67 | 1 reply | |
| 17/17 | ARM: SPL: Enhance spi_spl_load to match the other load functionsarch/ arch/ drivers/ | +15 | 0 replies |
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by.
| Patch | Stefano Babic |
|---|---|
| 1/17 | A-b |
| 2/17 | |
| 3/17 | |
| 3/17 | |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 00/17]: ARM: SPL: Make more generic, merge DaVinci and OMAP
Hey all,
The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci can now opt in on SPL-boots-Linux by just setting the right defines and other platforms would just need to adapt to this framework. In my testing, davinci gains between 300 and 700 bytes for this (not enabling the SPL OS feature) and omap4/5/etc lose just a little bit (from the printf->puts changes). I've tested this on omap3_beagle (xM and classic) and omap4_panda. I don't have any davinci platforms that were previously using SPL so I can't boot-test those changes but since everyone sets CONFIG_SPL_MAX_SIZE, we're OK in that department.
To make this series easier to test I've placed it on
http://github.com/trini/u-boot WIP/spl-improvements
I've looked a little into re-reducing the size and the biggest problem I see is that SPI a lot of informational prints that we don't need, strictly speaking, but are nice in a normal U-Boot context. I'm unsure of the best way to quiet these as I don't like the idea of sprinkling #ifndef CONFIG_SPL_BUILD in random places.
--
Tom