Guard header for use by assembler code
Somehow it ends up being used by shell.S for the verdex bootstrap.
This commit is contained in:
@@ -72,6 +72,8 @@
|
|||||||
|
|
||||||
/* DMA controller */
|
/* DMA controller */
|
||||||
|
|
||||||
|
#ifndef _ASSEMBLER
|
||||||
|
|
||||||
typedef struct pxa27x_dma_descriptor {
|
typedef struct pxa27x_dma_descriptor {
|
||||||
uint32 ddadr;
|
uint32 ddadr;
|
||||||
uint32 dsadr;
|
uint32 dsadr;
|
||||||
@@ -79,6 +81,8 @@ typedef struct pxa27x_dma_descriptor {
|
|||||||
uint32 dcmd;
|
uint32 dcmd;
|
||||||
} pxa27x_dma_descriptor __attribute__ ((aligned(16)));
|
} pxa27x_dma_descriptor __attribute__ ((aligned(16)));
|
||||||
|
|
||||||
|
#endif // !_ASSEMBLER
|
||||||
|
|
||||||
/* LCD controller */
|
/* LCD controller */
|
||||||
|
|
||||||
#define LCC_BASE 0x44000000
|
#define LCC_BASE 0x44000000
|
||||||
@@ -106,6 +110,8 @@ typedef struct pxa27x_dma_descriptor {
|
|||||||
#define FBR0 (LCC_BASE+0x020)
|
#define FBR0 (LCC_BASE+0x020)
|
||||||
#define FSADR0 (LCC_BASE+0x204)
|
#define FSADR0 (LCC_BASE+0x204)
|
||||||
|
|
||||||
|
#ifndef _ASSEMBLER
|
||||||
|
|
||||||
typedef struct pxa27x_lcd_dma_descriptor {
|
typedef struct pxa27x_lcd_dma_descriptor {
|
||||||
uint32 fdadr;
|
uint32 fdadr;
|
||||||
uint32 fsadr;
|
uint32 fsadr;
|
||||||
@@ -113,4 +119,6 @@ typedef struct pxa27x_lcd_dma_descriptor {
|
|||||||
uint32 ldcmd;
|
uint32 ldcmd;
|
||||||
} pxa27x_lcd_dma_descriptor __attribute__ ((aligned(16)));
|
} pxa27x_lcd_dma_descriptor __attribute__ ((aligned(16)));
|
||||||
|
|
||||||
|
#endif // !_ASSEMBLER
|
||||||
|
|
||||||
#endif /* __PLATFORM_PXA270_H */
|
#endif /* __PLATFORM_PXA270_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user