mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 02:58:01 +08:00
mtd/ramtron.c: Table of parts is not terminated properly if CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined
This commit is contained in:
@@ -888,7 +888,8 @@ o Network (net/, drivers/net)
|
||||
PIC32 NO
|
||||
RGMP NO
|
||||
SAM3/4 NO
|
||||
SAMA5D NO
|
||||
SAMA5D3 NO
|
||||
SAMA5D4 YES <<
|
||||
SIM N/A << Doesn't support interrupts
|
||||
|
||||
The general outline of how this might be done is included in
|
||||
|
||||
@@ -241,6 +241,7 @@ static const struct ramtron_parts_s g_ramtron_parts[] =
|
||||
3, /* addr_len */
|
||||
RAMTRON_INIT_CLK_MAX /* speed */
|
||||
},
|
||||
#endif
|
||||
{
|
||||
NULL, /* name */
|
||||
0, /* id1 */
|
||||
@@ -249,7 +250,6 @@ static const struct ramtron_parts_s g_ramtron_parts[] =
|
||||
0, /* addr_len */
|
||||
0 /* speed */
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
/************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user