mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 03:23:32 -04:00
ftsmc020: un-nest the register structure in header
Un-nestted the register structure in ftsmc020.h Signed-off-by: Macpaul Lin <macpaul@andestech.com>
This commit is contained in:
parent
f194f6ba5b
commit
56cd247232
@ -25,13 +25,15 @@
|
|||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
struct ftsmc020_bank {
|
||||||
|
unsigned int cr;
|
||||||
|
unsigned int tpr;
|
||||||
|
};
|
||||||
|
|
||||||
struct ftsmc020 {
|
struct ftsmc020 {
|
||||||
struct {
|
struct ftsmc020_bank bank[4]; /* 0x00 - 0x1c */
|
||||||
unsigned int cr; /* 0x00, 0x08, 0x10, 0x18 */
|
unsigned int pad[8]; /* 0x20 - 0x3c */
|
||||||
unsigned int tpr; /* 0x04, 0x0c, 0x14, 0x1c */
|
unsigned int ssr; /* 0x40 */
|
||||||
} bank[4];
|
|
||||||
unsigned int pad[8]; /* 0x20 - 0x3c */
|
|
||||||
unsigned int ssr; /* 0x40 */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void ftsmc020_init(void);
|
void ftsmc020_init(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user