nandps_v2_2: Removed IAR compilation errors.
This patch removes the IAR compilation errors. Modified the OnfiNand_Geometry structure declaration according to IAR compiler Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
parent
8240571709
commit
c5ad94e476
1 changed files with 8 additions and 0 deletions
|
@ -212,6 +212,9 @@ enum OnfiCommandsEnum {
|
|||
* Parameter page structure of ONFI 1.0 specification.
|
||||
* Enhanced this sturcture to include ONFI 2.3 information for EZ NAND support.
|
||||
*/
|
||||
#ifdef __ICCARM__
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
typedef struct {
|
||||
/*
|
||||
* Revision information and features block
|
||||
|
@ -303,7 +306,12 @@ typedef struct {
|
|||
number */
|
||||
u8 VendorSpecific[88]; /**< Vendor specific */
|
||||
u16 Crc; /**< Integrity CRC */
|
||||
#ifdef __ICCARM__
|
||||
} OnfiNand_Geometry;
|
||||
#pragma pack(pop)
|
||||
#else
|
||||
}__attribute__((packed))OnfiNand_Geometry;
|
||||
#endif
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue