All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB
@ 2003-07-19  2:19 Andreas Oberritter
  2003-07-19 19:30 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Oberritter @ 2003-07-19  2:19 UTC (permalink / raw)
  To: u-boot

A trivial patch for include/flash.h

Changelog:

Patch by Andreas Oberritter, 19 July 03:
 - Add IDs for STM M28W320CB 32MBit flash type
-------------- next part --------------
--- u-boot-0.4.0.orig/include/flash.h	2003-06-20 01:40:31.000000000 +0200
+++ u-boot-0.4.0/include/flash.h	2003-07-19 04:08:41.000000000 +0200
@@ -182,6 +182,7 @@
 #define STM_ID_29W320DT 0x22CA22CA	/* M29W320DT ID (32 M, top boot sector) */
 #define STM_ID_29W320DB 0x22CB22CB	/* M29W320DB ID (32 M, bottom boot sect)	*/
 #define STM_ID_29W040B	0x00E300E3	/* M29W040B ID (4M = 512K x 8)	*/
+#define STM_ID_28W320CB 0x88BB88BB	/* M28W320CB ID (4M = 256K x 16, bottom)*/
 
 #define INTEL_ID_28F016S    0x66a066a0	/* 28F016S[VS] ID (16M = 512k x 16)	*/
 #define INTEL_ID_28F800B3T  0x88928892	/*  8M = 512K x 16 top boot sector	*/
@@ -266,6 +267,7 @@
 #define FLASH_STM800AB	0x0051		/* STM M29WF800AB  (  8M = 512K x 16 )	*/
 #define FLASH_STMW320DT 0x0052		/* STM M29W320DT   (32 M, top boot sector)	*/
 #define FLASH_STMW320DB 0x0053		/* STM M29W320DB   (32 M, bottom boot sect)*/
+#define FLASH_STM320CB	0x005D		/* STM M28W320CB (4M = 256K x 16, bottom)*/
 #define FLASH_STM320DB	0x00CB		/* STM M29W320DB (4M = 64K x 64, bottom)*/
 #define FLASH_STM800DT	0x00D7		/* STM M29W800DT (1M = 64K x 16, top)	*/
 #define FLASH_STM800DB	0x005B		/* STM M29W800DB (1M = 64K x 16, bottom)*/

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

* [U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB
  2003-07-19  2:19 [U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB Andreas Oberritter
@ 2003-07-19 19:30 ` Wolfgang Denk
  2003-07-19 20:05   ` Andreas Oberritter
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2003-07-19 19:30 UTC (permalink / raw)
  To: u-boot

Dear Andreas,

in message <1058581190.943.22.camel@localhost> you wrote:
> 
> A trivial patch for include/flash.h
...
> +#define STM_ID_28W320CB 0x88BB88BB	/* M28W320CB ID (4M = 256K x 16, bottom)*/
...
> +#define FLASH_STM320CB	0x005D		/* STM M28W320CB (4M = 256K x 16, bottom)*/

Why should we add these definitions? No code  in  U-Boot  uses  these
variables.


Patch rejected.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Don't put off for tomorrow what you can  do  today,  because  if  you
enjoy it today you can do it again tomorrow.

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

* [U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB
  2003-07-19 19:30 ` Wolfgang Denk
@ 2003-07-19 20:05   ` Andreas Oberritter
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Oberritter @ 2003-07-19 20:05 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,

On Sat, 2003-07-19 at 21:30, Wolfgang Denk wrote:
> > +#define STM_ID_28W320CB 0x88BB88BB	/* M28W320CB ID (4M = 256K x 16, bottom)*/
> ...
> > +#define FLASH_STM320CB	0x005D		/* STM M28W320CB (4M = 256K x 16, bottom)*/
> 
> Why should we add these definitions? No code  in  U-Boot  uses  these
> variables.

It is used in the flash code for our board (see link below). I will
clean up the code for it and hope to get it merged into your cvs tree
soon (without the framebuffer, mpeg decoder and scart stuff). My
intention was to submit the trivial patches first before the board code
to keep the board patch smaller. However, I will review the patches and
try again with a complete patch set.

http://cvs.tuxbox.org/cgi-bin/viewcvs.cgi/tuxbox/boot/u-boot/board/dbox2/flash.c?rev=HEAD

Regards,
Andreas

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

end of thread, other threads:[~2003-07-19 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-19  2:19 [U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB Andreas Oberritter
2003-07-19 19:30 ` Wolfgang Denk
2003-07-19 20:05   ` Andreas Oberritter

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.