Skip to content

Add more framework to OMAP3 SPL, port more boards

Tom Rini u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest14 patches 0 repliesNew
  2. v312 patches 0 repliesSuperseded
  3. v212 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v112 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Update this to match the feedback I'd incorporated before
- Update enable_gpmc_cs_config to not use so many magic values and explain the bitshifts.
- Add MCFG macro to calculate this value for the various DDR chips that are in use.
- Enhance the comments in <asm/arch-omap3/mem.h> to say to read the TRM to understand what all possible values are and bitshifts and update the comments about rfr_ctrl to explain why they aren't broken into values + shifts.
- The above three should cover all of Heiko Schocher's feedback.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14omap3: mem: Comment enable_gpmc_cs_config morearch/arm/cpu/armv7/omap3/mem.c arch/arm/include/asm/arch-omap3/mem.h+13 -30 replies
2/14OMAP3: Update SDRC dram_init to always call make_cs1_contiguous()arch/arm/cpu/armv7/omap3/sdrc.c+11 -120 replies
3/14OMAP3: Add a helper function to set timings in SDRCarch/arm/cpu/armv7/omap3/sdrc.c+61 -550 replies
4/14OMAP3: Change mem_ok to clear again after reading backarch/arm/cpu/armv7/omap3/mem.c+1 -00 replies
5/14OMAP3: Remove get_mem_type prototypearch/arm/include/asm/arch-omap3/sys_proto.h+0 -10 replies
6/14omap3: mem: Add MCFG helper macroarch/arm/include/asm/arch-omap3/mem.h+30 -160 replies
7/14OMAP3: Add optimal SDRC autorefresh control valuesarch/arm/include/asm/arch-omap3/mem.h+11 -50 replies
8/14OMAP3: Suffix all Micron memory timing parts with their speedarch/arm/include/asm/arch-omap3/mem.h+11 -100 replies
9/14OMAP3 SPL: Rework memory initalization and devkit8000 supportarch/arm/cpu/armv7/omap3/sdrc.c arch/arm/include/asm/arch-omap3/mem.h arch/arm/include/asm/arch-omap3/sys_proto.h +2 more+38 -440 replies
10/14OMAP3 SPL: Add identify_nand_chip functionarch/arm/cpu/armv7/omap3/Makefile arch/arm/cpu/armv7/omap3/spl_id_nand.c arch/arm/include/asm/arch-omap3/sys_proto.h+91 -05 replies
10/14OMAP3 SPL: Add identify_nand_chip function+0 -01 reply
10/14OMAP3 SPL: Add identify_nand_chip function+0 -00 replies
10/14OMAP3 SPL: Add identify_nand_chip function+0 -01 reply
10/14OMAP3 SPL: Add identify_nand_chip function+0 -00 replies
11/14OMAP3: Add SPL support to Beagleboardarch/arm/include/asm/arch-omap3/mem.h board/ti/beagle/beagle.c board/ti/beagle/config.mk +1 more+153 -390 replies
12/14OMAP3: Add SPL support to omap3_evmarch/arm/include/asm/arch-omap3/mem.h board/ti/evm/config.mk board/ti/evm/evm.c +4 more+152 -371 reply
13/14AM3517: Add SPL supportboard/logicpd/am3517evm/am3517evm.c board/logicpd/am3517evm/config.mk include/configs/am3517_evm.h+56 -330 replies
14/14AM3517 CraneBoard: Add SPL supportboard/ti/am3517crane/am3517crane.c board/ti/am3517crane/config.mk include/configs/am3517_crane.h+56 -320 replies

Reviews trailers per patch

None of the 18 patches has a Reviewed-by or Acked-by.

PatchTom RiniMatt RanostayMatt PorterKoen Kooi
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
10/14
10/14
10/14
10/14
11/14T-b T-b T-b
12/14
13/14
14/14T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards

Hey all,

This is related to, but a bit different from the RFT thread I made with beagleboard SPL patches. I've incorporated the feedback about splitting the changes up a lot more and after talking with Scott Wood on IRC after the ML thread, I've created an omap3 specific file with the NAND related stuff these boards need (since it would have gotten very big for what's really needed here at this stage). The series is checkpatch.pl clean.

What we have in patches 1-8 is bugfixing and cleanup of the memory code. It's worth noting that without these changes we do some very 'funny' (read: wrong) things on some platforms like omap3_evm where we find 384MB memory when there's really only 256MB (and maybe 256 on the 128MB boards, not sure).

Patch 9 adds another hook for SDRC boards to be able to say what timings they have because on say beagle or omap3_evm, we have a few choices. We also convert devkit8000 here.

Patch 10 adds a new CONFIG (CONFIG_SPL_OMAP3_ID_NAND) and file so that OMAP3 boards which have a PoP chip for NAND/DDR can find out what they are and decide on timings based on that.

Patches 11 and 12 convert Beagleboard and OMAP3 EVM to SPL.

Patches 13 and 14 convert the am3517 evm and am3517 crane boards (which don't use SDRC but EMIF4) to SPL as well (given Ilya Yanok fixed a bug in <asm/arch-omap3/cpu.h> for emif4 this is just a mechanical change).

Changes in v4:
- Update this to match the feedback I'd incorporated before
- Update enable_gpmc_cs_config to not use so many magic values and explain the bitshifts.
- Add MCFG macro to calculate this value for the various DDR chips that are in use.
- Enhance the comments in <asm/arch-omap3/mem.h> to say to read the TRM to understand what all possible values are and bitshifts and update the comments about rfr_ctrl to explain why they aren't broken into values + shifts.
- The above three should cover all of Heiko Schocher's feedback.

Changes in v3:
- Rename CONFIG_SPL_OMAP3_POP_PROBE to CONFIG_SPL_OMAP3_ID_NAND at Igor's request (and function to identify_nand_chip).
- Drop an unused CONFIG_OMAP3_MICRON_DDR from all of the board config files

Changes in v2:
- Incorporate Igor Grinberg's feedback (except non-CodingStyle whitespacing).
- Move to ToT (so omap3_evm patch is reworked a good deal, others that touch <asm/arch-omap3/mem.h> reworked and use new macros when applicable)
- Fixed a few more typos and hardcoded values to defines while addressing Igor's feedback.

Signature · 1 line
Tom