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:
François Revol 2014-07-22 12:30:01 +02:00
parent 8bfb76fe23
commit c8826605df
1 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,8 @@
/* DMA controller */
#ifndef _ASSEMBLER
typedef struct pxa27x_dma_descriptor {
uint32 ddadr;
uint32 dsadr;
@ -79,6 +81,8 @@ typedef struct pxa27x_dma_descriptor {
uint32 dcmd;
} pxa27x_dma_descriptor __attribute__ ((aligned(16)));
#endif // !_ASSEMBLER
/* LCD controller */
#define LCC_BASE 0x44000000
@ -106,6 +110,8 @@ typedef struct pxa27x_dma_descriptor {
#define FBR0 (LCC_BASE+0x020)
#define FSADR0 (LCC_BASE+0x204)
#ifndef _ASSEMBLER
typedef struct pxa27x_lcd_dma_descriptor {
uint32 fdadr;
uint32 fsadr;
@ -113,4 +119,6 @@ typedef struct pxa27x_lcd_dma_descriptor {
uint32 ldcmd;
} pxa27x_lcd_dma_descriptor __attribute__ ((aligned(16)));
#endif // !_ASSEMBLER
#endif /* __PLATFORM_PXA270_H */