All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards
@ 2011-11-18 22:47 Tom Rini
  2011-11-18 22:47 ` [U-Boot] [PATCH v4 01/14] omap3: mem: Comment enable_gpmc_cs_config more Tom Rini
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: Tom Rini @ 2011-11-18 22:47 UTC (permalink / raw)
  To: u-boot

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.

-- 
Tom

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2011-11-29 22:20 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-18 22:47 [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards Tom Rini
2011-11-18 22:47 ` [U-Boot] [PATCH v4 01/14] omap3: mem: Comment enable_gpmc_cs_config more Tom Rini
2011-11-18 22:47 ` [U-Boot] [PATCH v4 02/14] OMAP3: Update SDRC dram_init to always call make_cs1_contiguous() Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 03/14] OMAP3: Add a helper function to set timings in SDRC Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 04/14] OMAP3: Change mem_ok to clear again after reading back Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 05/14] OMAP3: Remove get_mem_type prototype Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 06/14] omap3: mem: Add MCFG helper macro Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 07/14] OMAP3: Add optimal SDRC autorefresh control values Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 08/14] OMAP3: Suffix all Micron memory timing parts with their speed Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 09/14] OMAP3 SPL: Rework memory initalization and devkit8000 support Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 10/14] OMAP3 SPL: Add identify_nand_chip function Tom Rini
2011-11-20  7:36   ` Igor Grinberg
2011-11-20 14:26     ` Tom Rini
2011-11-21  7:04       ` Igor Grinberg
2011-11-21 14:12         ` Tom Rini
2011-11-21 14:41           ` Igor Grinberg
2011-11-21 15:33             ` Tom Rini
2011-11-22 14:33               ` Igor Grinberg
2011-11-22 14:51                 ` Tom Rini
2011-11-22 15:39                   ` Tom Rini
2011-11-23  7:39                     ` Igor Grinberg
2011-11-23 14:48                       ` Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 11/14] OMAP3: Add SPL support to Beagleboard Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 12/14] OMAP3: Add SPL support to omap3_evm Tom Rini
2011-11-29 22:20   ` Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 13/14] AM3517: Add SPL support Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 14/14] AM3517 CraneBoard: " Tom Rini
2011-11-29 21:55 ` [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.