All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Update OMAP242x for git head (plus sign).
@ 2005-09-29  0:01 Woodruff, Richard
  2005-09-29 13:24 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Woodruff, Richard @ 2005-09-29  0:01 UTC (permalink / raw)
  To: u-boot

Wolfgang,

Yes indeed I duplicated cfi_flash.c.  The changes in my previous patch
to CFI were rejected.  You indicated see the previous list mail on the
subject.  Your assertion at that time was to put things into the board
specific files was one way to go.

The patch I had at that time was ifdef'ed just for my board in CFI and
for the flash part I'm using would seem to show errors.  I think those
OMAP specific ifdef's may fix errors, but I being its such a highly
coupled driver it is very difficult to add in changes with out breaking
a lot of boards.  How do you suggest real integration into that driver?
The 1% changes are minor and isolated now and that's not acceptable what
is?

I certainly can break the patch into parts, but they are all coupled.
The chip and board are very new have went though flux and this results
in large patches at this time.  This is not a PPC821 which shouldn't
have a lot of change.

Best Regards,
Richard Woodruff

> -----Original Message-----
> From: wd at denx.de [mailto:wd at denx.de]
> Sent: Wednesday, September 28, 2005 6:46 PM
> To: Woodruff, Richard
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] [PATCH] Update OMAP242x for git head (plus
> sign).
> 
> In message
<EA12F909C0431D458B9D18A176BEE4A50246905D@dlee02.ent.ti.com>
> you wrote:
> >
> > * Patch by Richard Woodruff, 28 Sep 2005:
> >  OMAP242x H4 board update
> >   - Switch to private cfi_flah.c file.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >   - Make work for 2422 mono-ddr.
> >   - Make work for 2420-POP.
> >   - Use clock gauging to determine crystal speed.
> >   - Fix warm reset problem with bad OTGCTRL access.
> >   - Switch to DDR unlock mode operation for DLL errata.
> >   - Remove obsolete APTIX conditionals.
> >   - Display more information at startup.
> >   - Use 24XX instead of 2420 in prep for future chips.
> 
> I reject this patch. You  duplicate  the  common  drivers/cfi_flash.c
> file  (1269  lines)  with  less  than  1%  modifications into a board
> specific file (board/omap2420h4/cfi_flash.c).
> 
> This is not acceptable.
> 
> Also, your  patch  is  much  too  big.  Please  break  it  down  into
> digestable  chunks.  Please  see  the  README, and re-read my posting
> http://sourceforge.net/mailarchive/message.php?msg_id=12658390
> 
> In short:
> 
> Make separate commits for logically separate changes.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Many aligators will be slain, but the swamp will remain.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [U-Boot-Users] [PATCH] Update OMAP242x for git head (plus sign).
@ 2005-09-28 21:20 Woodruff, Richard
  2005-09-28 23:46 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Woodruff, Richard @ 2005-09-28 21:20 UTC (permalink / raw)
  To: u-boot

Hello Wolfgang,
 
Attached is a patch generated today from a pull from the u-boot.git tree
using cg-mkpatch.  Please apply this and dump any patches you might have
in your queue.  Your updates over the weekend left the omap242x
processor
on head non-functional.
 
This patch is completely 24xx contained.  I have stopped using
drivers/cfi_flash.c and moved to using a private board copy as discussed
in an earlier thread.  The couple of files external touches are just
changing from CONFG_OMAP2420 to CONFIG_OMAP24XX.

* Patch by Richard Woodruff, 28 Sep 2005:
 OMAP242x H4 board update
  - Switch to private cfi_flah.c file.
  - Make work for 2422 mono-ddr.
  - Make work for 2420-POP.
  - Use clock gauging to determine crystal speed.
  - Fix warm reset problem with bad OTGCTRL access.
  - Switch to DDR unlock mode operation for DLL errata.
  - Remove obsolete APTIX conditionals.
  - Display more information at startup.
  - Use 24XX instead of 2420 in prep for future chips.

Signed-off-by: Richard Woodruff <r-woodruff2@ti.com>
 
README                                  |    2
 board/omap2420h4/Makefile               |    2
 board/omap2420h4/mem.c                  |  150 ++++++++-
 board/omap2420h4/omap2420h4.c           |  497
+++++++++++++-------------
-----
 board/omap2420h4/platform.S             |    2
 board/omap2420h4/sys_info.c             |   61 +++-
 common/env_flash.c                      |    8
 cpu/arm1136/cpu.c                       |    3
 cpu/arm1136/interrupts.c                |    2
 cpu/arm1136/start.S                     |    4
 drivers/ns16550.c                       |    4
 drivers/serial.c                        |    8
 include/asm-arm/arch-arm1136/clocks.h   |   91 +-----
 include/asm-arm/arch-arm1136/mem.h      |   61 ++--
 include/asm-arm/arch-arm1136/mux.h      |  215 +++++++------
 include/asm-arm/arch-arm1136/omap2420.h |  151 ++-------
 include/asm-arm/arch-arm1136/sys_info.h |   57 +++-
 include/configs/omap2420h4.h            |   73 +----
 lib_arm/cache.c                         |    2
 19 files changed, 643 insertions(+), 750 deletions(-)
 
Regards,
Richard W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omap242x-git.patch.gz
Type: application/x-gzip
Size: 21676 bytes
Desc: omap242x-git.patch.gz
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050928/3e2a0de3/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: changelog-git.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050928/3e2a0de3/attachment.txt 

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

end of thread, other threads:[~2005-09-30  8:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29  0:01 [U-Boot-Users] [PATCH] Update OMAP242x for git head (plus sign) Woodruff, Richard
2005-09-29 13:24 ` Wolfgang Denk
2005-09-29 20:28   ` Tolunay Orkun
2005-09-29 21:17     ` Wolfgang Denk
2005-09-29 22:07       ` Tolunay Orkun
2005-09-29 22:20         ` Wolfgang Denk
2005-09-29 23:36           ` Tolunay Orkun
2005-09-30  8:12             ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28 21:20 Woodruff, Richard
2005-09-28 23:46 ` Wolfgang Denk

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.