mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
[sw] rename XIP-available flag in SYSINFO
This commit is contained in:
parent
ab939955ee
commit
0e08dc328c
4 changed files with 4 additions and 4 deletions
|
@ -92,7 +92,7 @@ enum NEORV32_SYSINFO_SOC_enum {
|
|||
SYSINFO_SOC_IO_NEOLED = 26, /**< SYSINFO_SOC (26) (r/-): NeoPixel-compatible smart LED interface implemented when 1 (via IO_NEOLED_EN generic) */
|
||||
SYSINFO_SOC_IO_XIRQ = 27, /**< SYSINFO_SOC (27) (r/-): External interrupt controller implemented when 1 (via XIRQ_NUM_IO generic) */
|
||||
SYSINFO_SOC_IO_GPTMR = 28, /**< SYSINFO_SOC (28) (r/-): General purpose timer implemented when 1 (via IO_GPTMR_EN generic) */
|
||||
SYSINFO_SOC_IO_XIP = 29, /**< SYSINFO_SOC (29) (r/-): Execute in place module implemented when 1 (via IO_XIP_EN generic) */
|
||||
SYSINFO_SOC_XIP = 29, /**< SYSINFO_SOC (29) (r/-): Execute in-place module implemented when 1 (via XIP_EN generic) */
|
||||
SYSINFO_SOC_IO_ONEWIRE = 30, /**< SYSINFO_SOC (30) (r/-): 1-wire interface controller implemented when 1 (via IO_ONEWIRE_EN generic) */
|
||||
SYSINFO_SOC_OCD = 31 /**< SYSINFO_SOC (31) (r/-): On-chip debugger implemented when 1 (via ON_CHIP_DEBUGGER_EN generic) */
|
||||
};
|
||||
|
|
|
@ -705,7 +705,7 @@ void neorv32_rte_print_hw_config(void) {
|
|||
if (tmp & (1 << SYSINFO_SOC_IO_NEOLED)) { neorv32_uart0_printf("NEOLED "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_XIRQ)) { neorv32_uart0_printf("XIRQ "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_GPTMR)) { neorv32_uart0_printf("GPTMR "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_XIP)) { neorv32_uart0_printf("XIP "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_XIP)) { neorv32_uart0_printf("XIP "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_ONEWIRE)) { neorv32_uart0_printf("ONEWIRE "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_DMA)) { neorv32_uart0_printf("DMA "); }
|
||||
if (tmp & (1 << SYSINFO_SOC_IO_SLINK)) { neorv32_uart0_printf("SLINK "); }
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
**************************************************************************/
|
||||
int neorv32_xip_available(void) {
|
||||
|
||||
if (NEORV32_SYSINFO->SOC & (1 << SYSINFO_SOC_IO_XIP)) {
|
||||
if (NEORV32_SYSINFO->SOC & (1 << SYSINFO_SOC_XIP)) {
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -1610,7 +1610,7 @@
|
|||
<field><name>SYSINFO_SOC_IO_NEOLED</name><bitRange>[26:26]</bitRange><description>NeoPixel-compatible smart LED interface implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_IO_XIRQ</name><bitRange>[27:27]</bitRange><description>External interrupt controller implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_IO_GPTMR</name><bitRange>[28:28]</bitRange><description>General purpose timer implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_IO_XIP</name><bitRange>[29:29]</bitRange><description>Execute in place module implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_XIP</name><bitRange>[29:29]</bitRange><description>Execute in place module implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_IO_ONEWIRE</name><bitRange>[30:30]</bitRange><description>1-wire interface controller implemented</description></field>
|
||||
<field><name>SYSINFO_SOC_OCD</name><bitRange>[31:31]</bitRange><description>On-chip debugger implemented</description></field>
|
||||
</fields>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue