Skip to content

U-Boot MMC SPL for OMAP4

Aneesh V u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22mkimage: Add OMAP boot image supportcommon/image.c include/image.h tools/Makefile +4 more+286 -02 replies
1/22mkimage: Add OMAP boot image support+0 -02 replies
1/22mkimage: Add OMAP boot image support+0 -00 replies
2/22omap: add miscellaneous utility macros for bit-field operationsarch/arm/include/asm/omap_common.h+51 -00 replies
3/22omap4: add OMAP4430 revision checkarch/arm/cpu/armv7/omap4/board.c arch/arm/include/asm/arch-omap4/omap4.h arch/arm/include/asm/armv7.h+77 -60 replies
4/22armv7: start.S: provide a hook for saving boot paramsarch/arm/cpu/armv7/cpu.c arch/arm/cpu/armv7/start.S+8 -01 reply
5/22omap4: save parameters passed by ROM code to SPLarch/arm/cpu/armv7/omap4/board.c arch/arm/cpu/armv7/omap4/lowlevel_init.S arch/arm/include/asm/arch-omap4/omap4.h +2 more+74 -00 replies
6/22arm: new labels in the linker script filearch/arm/cpu/armv7/start.S arch/arm/cpu/armv7/u-boot.lds+9 -11 reply
6/22arm: new labels in the linker script file+0 -00 replies
7/22Add generic spl infrastructureMakefile arch/arm/include/asm/global_data.h+16 -00 replies
8/22armv7: start.S: add SPL supportarch/arm/cpu/armv7/start.S+25 -110 replies
9/22omap: add spl supportspl/board/ti/spl-omap.c spl/board/ti/spl-omap.lds+109 -00 replies
10/22omap4: add spl support for OMAP4 SDPboard/ti/sdp4430/config.mk include/configs/omap4_sdp4430.h spl/board/ti/sdp4430/Makefile+141 -10 replies
11/22omap4: add serial console support to SPLarch/arm/cpu/armv7/omap4/board.c arch/arm/include/asm/omap_common.h spl/board/ti/sdp4430/Makefile +1 more+54 -00 replies
12/22omap4: utility function to identify the context of hw initarch/arm/include/asm/arch-omap4/sys_proto.h arch/arm/include/asm/omap_common.h+53 -00 replies
13/22omap4: separate mux settings into essential and non essential partsarch/arm/cpu/armv7/omap4/board.c arch/arm/cpu/armv7/omap4/omap4_mux_data.h arch/arm/include/asm/arch-omap4/sys_proto.h +4 more+151 -1240 replies
14/22omap4: correct mux data for sdp4430board/ti/panda/panda_mux_data.h board/ti/sdp4430/sdp4430_mux_data.h+61 -570 replies
15/22omap4: add clock supportarch/arm/cpu/armv7/omap4/Makefile arch/arm/cpu/armv7/omap4/board.c arch/arm/cpu/armv7/omap4/clocks.c +4 more+1237 -10 replies
16/22omap4: add sdram init supportarch/arm/cpu/armv7/omap4/Makefile arch/arm/cpu/armv7/omap4/board.c arch/arm/cpu/armv7/omap4/emif.c +6 more+1143 -70 replies
17/22omap4: calculate EMIF register valuesarch/arm/cpu/armv7/omap-common/Makefile arch/arm/cpu/armv7/omap-common/utils.c arch/arm/cpu/armv7/omap4/Makefile +9 more+1424 -161 reply
17/22omap4: calculate EMIF register values+0 -01 reply
17/22omap4: calculate EMIF register values+0 -00 replies
18/22omap4: automatic sdram detectionarch/arm/cpu/armv7/omap4/emif.c arch/arm/cpu/armv7/omap4/sdram_elpida.c include/configs/omap4_sdp4430.h+175 -100 replies
19/22armv7: embed u-boot size within u-boot for use from SPLarch/arm/cpu/armv7/start.S spl/board/ti/spl-omap.lds+6 -10 replies
20/22omap: add MMC support to SPLarch/arm/cpu/armv7/start.S arch/arm/include/asm/omap_common.h include/configs/omap4_sdp4430.h +2 more+156 -30 replies
21/22omap: spl: add FAT support over MMCinclude/configs/omap4_sdp4430.h spl/board/ti/sdp4430/Makefile spl/board/ti/spl-omap.c+31 -00 replies
22/22omap4: add spl support for OMAP4 Pandaarch/arm/include/asm/arch-omap4/emif.h include/configs/omap4_panda.h spl/board/ti/panda/Makefile+248 -50 replies

Reviews trailers per patch

None of the 27 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWolfgang Denk
SeriesA-b
1/22
1/22
1/22
2/22
3/22
4/22
5/22
6/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
17/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/22] U-Boot MMC SPL for OMAP4

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 others

Features supported:
* Clock init - DPLL locking, clock domains/modules enabling
* SDRAM/DMM initialization
* Mux initialization
* MMC raw read support
* MMC FAT read support

Improvments over x-loader:
* Code completely revamped
* DPLL programming that works for all SYS_CLK frequencies
* 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 platforms

Aneesh 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 Panda

John Rigby (1):
mkimage: Add OMAP boot image support

 Makefile                                           |   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 100644 arch/arm/cpu/armv7/omap4/clocks.c
 create mode 100644 arch/arm/cpu/armv7/omap4/emif.c
 create mode 100644 arch/arm/cpu/armv7/omap4/omap4_mux_data.h
 create mode 100644 arch/arm/cpu/armv7/omap4/sdram_elpida.c
 create mode 100644 arch/arm/include/asm/arch-omap4/clocks.h
 create mode 100644 arch/arm/include/asm/arch-omap4/emif.h
 copy arch/arm/{cpu/armv7/omap4/lowlevel_init.S => include/asm/armv7.h} (62%)
 create mode 100644 arch/arm/include/asm/omap_common.h
 rename board/ti/{sdp4430/sdp.h => panda/panda_mux_data.h} (76%)
 rename board/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 100644 spl/board/ti/spl-omap.c
 copy arch/arm/cpu/armv7/u-boot.lds => spl/board/ti/spl-omap.lds (57%)
 create mode 100644 tools/omapimage.c
 copy arch/arm/cpu/armv7/omap4/lowlevel_init.S => tools/omapimage.h (53%)