mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
powerpc/shared/.../uart.c: Address missing field initializer warnings
This was in a structure describing Flash memory configuration. The initialization was changed to using named fields. Updates #5325.
This commit is contained in:
committed by
Kinsey Moore
parent
6900b048d8
commit
ebcfc3db27
@@ -167,13 +167,13 @@ static struct devdesc intelDevs[] = {
|
|||||||
{ 0x0017, "J3 64Mb", 8*1024*1024, 0x20, 0x20000 },
|
{ 0x0017, "J3 64Mb", 8*1024*1024, 0x20, 0x20000 },
|
||||||
{ 0x0018, "J3 128Mb", 16*1024*1024, 0x20, 0x20000 },
|
{ 0x0018, "J3 128Mb", 16*1024*1024, 0x20, 0x20000 },
|
||||||
{ 0x001d, "J3 256Mb", 32*1024*1024, 0x20, 0x20000 },
|
{ 0x001d, "J3 256Mb", 32*1024*1024, 0x20, 0x20000 },
|
||||||
{ 0, 0, 0, 0}
|
{ 0, 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct vendesc BSP_flash_vendor_intel[] =
|
struct vendesc BSP_flash_vendor_intel[] =
|
||||||
{
|
{
|
||||||
{ 0x89, "Intel", intelDevs, &intelOps },
|
{ 0x89, "Intel", intelDevs, &intelOps },
|
||||||
{ 0, 0}
|
{ 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/********* Helper Subroutines ******************/
|
/********* Helper Subroutines ******************/
|
||||||
|
|||||||
@@ -123,12 +123,12 @@ static struct devdesc spansionDevs[] = {
|
|||||||
{ 0x007e2101, "S29GL128N", 0x01000000, 32, 0x20000 }, /* 16MB */
|
{ 0x007e2101, "S29GL128N", 0x01000000, 32, 0x20000 }, /* 16MB */
|
||||||
{ 0x007e2201, "S29GL256N", 0x02000000, 32, 0x20000 }, /* 32MB */
|
{ 0x007e2201, "S29GL256N", 0x02000000, 32, 0x20000 }, /* 32MB */
|
||||||
{ 0x007e2301, "S29GL512N", 0x04000000, 32, 0x20000 }, /* 64MB */
|
{ 0x007e2301, "S29GL512N", 0x04000000, 32, 0x20000 }, /* 64MB */
|
||||||
{ 0, 0, 0, 0}
|
{ 0, 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct vendesc BSP_flash_vendor_spansion[] = {
|
struct vendesc BSP_flash_vendor_spansion[] = {
|
||||||
{ 0x01, "Spansion/AMD", spansionDevs, &spansionOps },
|
{ 0x01, "Spansion/AMD", spansionDevs, &spansionOps },
|
||||||
{ 0, 0}
|
{ 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/********* Register Definitions ****************/
|
/********* Register Definitions ****************/
|
||||||
|
|||||||
Reference in New Issue
Block a user