Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #ifndef __MT_DEVINFO_H |
2 | #define __MT_DEVFINO_H | |
3 | ||
4 | #include <linux/types.h> | |
5 | ||
6 | #ifdef CONFIG_MTK_MTD_NAND | |
7 | #include <mach/mt_partitioninfo.h> | |
8 | #include <mach/nand_device_define.h> | |
9 | #endif | |
10 | ||
11 | /*device information data*/ | |
12 | #define ATAG_DEVINFO_DATA 0x41000804 | |
13 | #define ATAG_DEVINFO_DATA_SIZE 26 | |
14 | ||
15 | struct tag_devinfo_data { | |
16 | u32 devinfo_data[ATAG_DEVINFO_DATA_SIZE]; /* device information */ | |
17 | u32 devinfo_data_size; /* device information size */ | |
18 | }; | |
19 | ||
20 | #endif |