Fixed non-C includes (stdint.h).

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@86 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 3a29944dd2
commit 14d278894d

@ -32,9 +32,12 @@
#ifndef PXA2X0_UART_H
#define PXA2X0_UART_H
#include <stdint.h>
#include <common.h>
#if LANGUAGE == C
#include <stdint.h>
#endif
/* Common UART (FFUART/BTUART/STUART) Declarations */
#define FFUART_BASE 0x40100000
@ -64,13 +67,9 @@ typedef volatile struct UART_registers {
uint32_t isr;
} UART_registers;
#ifndef FFUART_pointer
#ifdef PXA2X0_UNMAPPED
#define FFUART_pointer ((UART_registers *) FFUART_BASE)
#endif
#ifndef BTUART_pointer
#define BTUART_pointer ((UART_registers *) BTUART_BASE)
#endif
#ifndef STUART_pointer
#define STUART_pointer ((UART_registers *) STUART_BASE)
#endif

Loading…
Cancel
Save