All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MTD:  Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY.
@ 2007-07-11 21:04 Robert P. J. Day
  2007-07-12 13:04 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-07-11 21:04 UTC (permalink / raw)
  To: David Woodhouse; +Cc: MTD mailing list, Ralf Baechle


Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

  this is a superset of the earlier patch.  this one removes *both*
apparently useless references from alchemy-flash.c.  ralf already
verified that the HYDROGEN3 reference is toast, perhaps he can verify
the second one as well.


diff --git a/drivers/mtd/maps/alchemy-flash.c b/drivers/mtd/maps/alchemy-flash.c
index 84fbe0e..82811bc 100644
--- a/drivers/mtd/maps/alchemy-flash.c
+++ b/drivers/mtd/maps/alchemy-flash.c
@@ -75,13 +75,6 @@
 #define BOARD_FLASH_WIDTH 2 /* 16-bits */
 #endif

-#ifdef CONFIG_MIPS_HYDROGEN3
-#define BOARD_MAP_NAME "Hydrogen3 Flash"
-#define BOARD_FLASH_SIZE 0x02000000 /* 32MB */
-#define BOARD_FLASH_WIDTH 4 /* 32-bits */
-#define USE_LOCAL_ACCESSORS /* why? */
-#endif
-
 #ifdef CONFIG_MIPS_BOSPORUS
 #define BOARD_MAP_NAME "Bosporus Flash"
 #define BOARD_FLASH_SIZE 0x01000000 /* 16MB */
@@ -130,13 +123,6 @@ int __init alchemy_mtd_init(void)

 	window_addr = 0x20000000 - BOARD_FLASH_SIZE;
 	window_size = BOARD_FLASH_SIZE;
-#ifdef CONFIG_MIPS_MIRAGE_WHY
-	/* Boot ROM flash bank only; no user bank */
-	window_addr = 0x1C000000;
-	window_size = 0x04000000;
-	/* USERFS from 0x1C00 0000 to 0x1FC00000 */
-	alchemy_partitions[0].size = 0x03C00000;
-#endif

 	/*
 	 * Static partition definition selection
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

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

* Re: [PATCH] MTD:  Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY.
  2007-07-11 21:04 [PATCH] MTD: Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY Robert P. J. Day
@ 2007-07-12 13:04 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-07-12 13:04 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: MTD mailing list, David Woodhouse

On Wed, Jul 11, 2007 at 05:04:02PM -0400, Robert P. J. Day wrote:

> 
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> 
> ---
> 
>   this is a superset of the earlier patch.  this one removes *both*
> apparently useless references from alchemy-flash.c.  ralf already
> verified that the HYDROGEN3 reference is toast, perhaps he can verify
> the second one as well.

Saw the other one first but anyway, same answer as to the other email.
It's dead since a while, so:

Acked-by: Ralf Baechle <ralf@linux-mips.org>

There was also another fragment of Hydrogen 3 code left under arch/mips
which I just deleted.

  Ralf

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

end of thread, other threads:[~2007-07-12 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 21:04 [PATCH] MTD: Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY Robert P. J. Day
2007-07-12 13:04 ` Ralf Baechle

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.