2 * arch/m32r/boot/compressed/m32r_sio.c
4 * 2003-02-12: Takeo Takahashi
8 #include <linux/config.h>
14 int puts(const char *s)
17 while ((c = *s++)) putc(c);
21 #if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_M32700UT)
22 #define USE_FPGA_MAP 0
26 * fpga configuration program uses MMU, and define map as same as
27 * M32104 uT-Engine board.
29 #define BOOT_SIO0STS (volatile unsigned short *)(0x02c00000 + 0x20006)
30 #define BOOT_SIO0TXB (volatile unsigned short *)(0x02c00000 + 0x2000c)
33 #define PLD_BASE 0xa4c00000
34 #define BOOT_SIO0STS PLD_ESIO0STS
35 #define BOOT_SIO0TXB PLD_ESIO0TXB
41 while ((*BOOT_SIO0STS & 0x3) != 0x3) ;
44 while ((*BOOT_SIO0STS & 0x3) != 0x3) ;