[MTD] Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jul 23 07:59:01 EDT 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e733450b675dfc07940c21b4832207c79059246f
Commit:     e733450b675dfc07940c21b4832207c79059246f
Parent:     4a32cfa0f5c3f9e8a0da610002e4555173226650
Author:     Robert P. J. Day <rpjday at mindspring.com>
AuthorDate: Wed Jul 11 17:04:02 2007 -0400
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon Jul 23 12:50:51 2007 +0100

    [MTD] Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY.
    
    Signed-off-by: Robert P. J. Day <rpjday at mindspring.com>
    Acked-by: Ralf Baechle <ralf at linux-mips.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/maps/alchemy-flash.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

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



More information about the linux-mtd-cvs mailing list