U-Boot MMC SPL for OMAP4
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 22 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 22 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/22] U-Boot MMC SPL for OMAP4
Hi,
Are there anymore comments on this series?
Quoted 111 lines · Aneesh V
This series adds mmc SPL support for OMAP4. This is essentially an up-streaming effort for TI's x-loader for OMAP4 using the SPL framework
This work partly draws upon previous work done for x-loader by:
Santosh Shilimkar<[email protected]> Rajendra Nayak<[email protected]>
and many othersFeatures supported:
* Clock init - DPLL locking, clock domains/modules enabling
* SDRAM/DMM initialization
* Mux initialization
* MMC raw read support
* MMC FAT read supportImprovments over x-loader:
* Code completely revamped
* DPLL programming that works for allSYS_CLKfrequencies
* Automatic SDRAM identification and initialization
* Board dependent parts(especially mux) deferred to u-boot. So, same SPL will work for Panda and SDP and most likely on any other board that comes along
* Determination of u-boot size to avoid reading extra content while loading U-Boot
* Modular apporach to enable future addition of support for all OMAP3/4 platformsAneesh V (21):
omap: add miscellaneous utility macros for bit-field operations
omap4: add OMAP4430 revision check
armv7:start.S: provide a hook for saving boot params
omap4: save parameters passed by ROM code to SPL
arm: new labels in the linker script file
Add generic spl infrastructure
armv7:start.S: add SPL support
omap: add spl support
omap4: add spl support for OMAP4 SDP
omap4: add serial console support to SPL
omap4: utility function to identify the context of hw init
omap4: separate mux settings into essential and non essential parts
omap4: correct mux data for sdp4430
omap4: add clock support
omap4: add sdram init support
omap4: calculate EMIF register values
omap4: automatic sdram detection
armv7: embed u-boot size within u-boot for use from SPL
omap: add MMC support to SPL
omap: spl: add FAT support over MMC
omap4: add spl support for OMAP4 PandaJohn Rigby (1):
mkimage: Add OMAP boot image supportMakefile | 11 + arch/arm/cpu/armv7/cpu.c | 7 + arch/arm/cpu/armv7/omap-common/Makefile | 1 + .../{omap4/lowlevel_init.S => omap-common/utils.c} | 58 +- arch/arm/cpu/armv7/omap4/Makefile | 3 + arch/arm/cpu/armv7/omap4/board.c | 117 ++- arch/arm/cpu/armv7/omap4/clocks.c | 717 +++++++++++ arch/arm/cpu/armv7/omap4/emif.c | 1303 ++++++++++++++++++++ arch/arm/cpu/armv7/omap4/lowlevel_init.S | 31 + arch/arm/cpu/armv7/omap4/omap4_mux_data.h | 76 ++ arch/arm/cpu/armv7/omap4/sdram_elpida.c | 267 ++++ arch/arm/cpu/armv7/start.S | 50 +- arch/arm/cpu/armv7/u-boot.lds | 4 + arch/arm/include/asm/arch-omap4/clocks.h | 504 ++++++++ arch/arm/include/asm/arch-omap4/emif.h | 1021 +++++++++++++++ arch/arm/include/asm/arch-omap4/omap4.h | 50 +- arch/arm/include/asm/arch-omap4/sys_proto.h | 60 +- .../omap4/lowlevel_init.S => include/asm/armv7.h} | 32 +- arch/arm/include/asm/global_data.h | 5 + arch/arm/include/asm/omap_common.h | 106 ++ board/ti/panda/panda.c | 25 +- board/ti/{sdp4430/sdp.h => panda/panda_mux_data.h} | 76 +- board/ti/sdp4430/config.mk | 3 +- board/ti/sdp4430/sdp.c | 25 +- .../{panda/panda.h => sdp4430/sdp4430_mux_data.h} | 128 +-- common/image.c | 1 + include/configs/omap4_panda.h | 24 + include/configs/omap4_sdp4430.h | 24 + include/image.h | 1 + spl/board/ti/panda/Makefile | 219 ++++ spl/board/ti/sdp4430/Makefile | 219 ++++ spl/board/ti/spl-omap.c | 189 +++ .../armv7/u-boot.lds => spl/board/ti/spl-omap.lds | 70 +- tools/Makefile | 2 + tools/mkimage.c | 2 + tools/mkimage.h | 1 + tools/omapimage.c | 229 ++++ .../omap4/lowlevel_init.S => tools/omapimage.h | 49 +- 38 files changed, 5390 insertions(+), 320 deletions(-)copy
arch/arm/cpu/armv7/{omap4/lowlevel_init.S=>omap-common/utils.c} (50%) create mode 100644arch/arm/cpu/armv7/omap4/clocks.c
create mode 100644arch/arm/cpu/armv7/omap4/emif.c
create mode 100644arch/arm/cpu/armv7/omap4/omap4_mux_data.hcreate mode 100644arch/arm/cpu/armv7/omap4/sdram_elpida.ccreate mode 100644arch/arm/include/asm/arch-omap4/clocks.hcreate mode 100644arch/arm/include/asm/arch-omap4/emif.h
copyarch/arm/{cpu/armv7/omap4/lowlevel_init.S=>include/asm/armv7.h} (62%) create mode 100644arch/arm/include/asm/omap_common.h
renameboard/ti/{sdp4430/sdp.h=>panda/panda_mux_data.h} (76%) renameboard/ti/{panda/panda.h=>sdp4430/sdp4430_mux_data.h} (67%) create mode 100644 spl/board/ti/panda/Makefile
create mode 100644 spl/board/ti/sdp4430/Makefile
create mode 100644spl/board/ti/spl-omap.c
copyarch/arm/cpu/armv7/u-boot.lds=>spl/board/ti/spl-omap.lds(57%) create mode 100644tools/omapimage.c
copyarch/arm/cpu/armv7/omap4/lowlevel_init.S=>tools/omapimage.h(53%)