Skip to content

Commit

Permalink
m32r: remove dead config symbols from M32R code
Browse files Browse the repository at this point in the history
remove dead config symbols from M32R code

Signed-off-by: Jiri Olsa <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
olsajiri authored and Linus Torvalds committed Feb 5, 2008
1 parent 134d495 commit 7852375
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions arch/m32r/boot/compressed/m32r_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static int puts(const char *s)
return 0;
}

#if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_OPSPUT)
#if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_OPSPUT)
#include <asm/m32r.h>
#include <asm/io.h>

Expand Down Expand Up @@ -52,7 +52,7 @@ static void putc(char c)
}
*BOOT_SIO0TXB = c;
}
#else /* !(CONFIG_PLAT_M32700UT_Alpha) && !(CONFIG_PLAT_M32700UT) */
#else /* !(CONFIG_PLAT_M32700UT) */
#if defined(CONFIG_PLAT_MAPPI2)
#define SIO0STS (volatile unsigned short *)(0xa0efd000 + 14)
#define SIO0TXB (volatile unsigned short *)(0xa0efd000 + 30)
Expand Down
2 changes: 1 addition & 1 deletion include/asm-m32r/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define _ASM_M32R_IRQ_H


#if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_USRV)
#if defined(CONFIG_PLAT_USRV)
/*
* IRQ definitions for M32700UT
* M32700 Chip: 64 interrupts
Expand Down
4 changes: 1 addition & 3 deletions include/asm-m32r/m32700ut/m32700ut_pld.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
* this archive for more details.
*/

#if defined(CONFIG_PLAT_M32700UT_Alpha)
#define PLD_PLAT_BASE 0x08c00000
#elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
#if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
#define PLD_PLAT_BASE 0x04c00000
#else
#error "no platform configuration"
Expand Down

0 comments on commit 7852375

Please sign in to comment.