提交 7852375b 编写于 作者: J Jiri Olsa 提交者: Linus Torvalds

m32r: remove dead config symbols from M32R code

remove dead config symbols from M32R code
Signed-off-by: NJiri Olsa <olsajiri@gmail.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 134d4956
...@@ -17,7 +17,7 @@ static int puts(const char *s) ...@@ -17,7 +17,7 @@ static int puts(const char *s)
return 0; 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/m32r.h>
#include <asm/io.h> #include <asm/io.h>
...@@ -52,7 +52,7 @@ static void putc(char c) ...@@ -52,7 +52,7 @@ static void putc(char c)
} }
*BOOT_SIO0TXB = c; *BOOT_SIO0TXB = c;
} }
#else /* !(CONFIG_PLAT_M32700UT_Alpha) && !(CONFIG_PLAT_M32700UT) */ #else /* !(CONFIG_PLAT_M32700UT) */
#if defined(CONFIG_PLAT_MAPPI2) #if defined(CONFIG_PLAT_MAPPI2)
#define SIO0STS (volatile unsigned short *)(0xa0efd000 + 14) #define SIO0STS (volatile unsigned short *)(0xa0efd000 + 14)
#define SIO0TXB (volatile unsigned short *)(0xa0efd000 + 30) #define SIO0TXB (volatile unsigned short *)(0xa0efd000 + 30)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#define _ASM_M32R_IRQ_H #define _ASM_M32R_IRQ_H
#if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_USRV) #if defined(CONFIG_PLAT_USRV)
/* /*
* IRQ definitions for M32700UT * IRQ definitions for M32700UT
* M32700 Chip: 64 interrupts * M32700 Chip: 64 interrupts
......
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
* this archive for more details. * this archive for more details.
*/ */
#if defined(CONFIG_PLAT_M32700UT_Alpha) #if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
#define PLD_PLAT_BASE 0x08c00000
#elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
#define PLD_PLAT_BASE 0x04c00000 #define PLD_PLAT_BASE 0x04c00000
#else #else
#error "no platform configuration" #error "no platform configuration"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册