Go to the documentation of this file.
16 return *((
volatile unsigned char *)ptr);
21 return *((
volatile unsigned int *)ptr);
26 *((
volatile unsigned char *)ptr) =
value;
31 *((
volatile unsigned int *)ptr) =
value;
34 #if defined(CONFIG_EP93XX_EARLY_UART1)
35 #define UART_BASE EP93XX_UART1_PHYS_BASE
36 #elif defined(CONFIG_EP93XX_EARLY_UART2)
37 #define UART_BASE EP93XX_UART2_PHYS_BASE
38 #elif defined(CONFIG_EP93XX_EARLY_UART3)
39 #define UART_BASE EP93XX_UART3_PHYS_BASE
41 #define UART_BASE EP93XX_UART1_PHYS_BASE
44 #define PHYS_UART_DATA (UART_BASE + 0x00)
45 #define PHYS_UART_FLAG (UART_BASE + 0x18)
46 #define UART_FLAG_TXFF 0x20
48 static inline void putc(
int c)
52 for (i = 0; i < 1000; i++) {
61 static inline void flush(
void)
72 #define PHYS_ETH_SELF_CTL 0x80010020
73 #define ETH_SELF_CTL_RESET 0x00000001
75 static void ethernet_reset(
void)
94 #define arch_decomp_wdog()