hw/intc: Rename NIOS2 kconfig as ALTERA_IIC
PATCH 1/1 hw/intc: Rename NIOS2 kconfig as ALTERA_IIC
The 'NIOS2' Kconfig symbol is used to select an generic interrupt controller, and has not much to do with the Nios2 target. Rename the symbol as 'ALTERA_IIC'.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- hw/intc/Kconfig | 3 +++ hw/intc/meson.build | 2 +- hw/nios2/Kconfig | 7 ++----- 3 files changed, 6 insertions(+), 6 deletions(-)
hw/intc/Kconfig +3 -0
@@ -73,3 +73,6 @@ config SIFIVE_CLINT config SIFIVE_PLIC bool + +config ALTERA_IIC + bool
hw/intc/meson.build +1 -1
@@ -37,7 +37,7 @@ specific_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_plic.c')) specific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c')) specific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c')) specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gic.c')) -specific_ss.add(when: 'CONFIG_NIOS2', if_true: files('nios2_iic.c')) +specific_ss.add(when: 'CONFIG_ALTERA_IIC', if_true: files('nios2_iic.c')) specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_intc.c')) specific_ss.add(when: 'CONFIG_OMPIC', if_true: files('ompic.c')) specific_ss.add(when: 'CONFIG_OPENPIC_KVM', if_true: files('openpic_kvm.c'))
hw/nios2/Kconfig +2 -5
@@ -1,12 +1,9 @@ config NIOS2_10M50 bool - select NIOS2 + select ALTERA_IIC select SERIAL select ALTERA_TIMER config NIOS2_GENERIC_NOMMU bool - select NIOS2 - -config NIOS2 - bool + select ALTERA_IIC
Signature · 1 line
2.26.2
ping?
Quoted 55 lines · Philippe Mathieu-Daudé
The 'NIOS2'
Kconfigsymbol is used to select an generic interrupt controller, and has not much to do with the Nios2 target. Rename the symbol as 'ALTERA_IIC'.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/intc/Kconfig | 3 +++ hw/intc/meson.build | 2 +- hw/nios2/Kconfig | 7 ++----- 3 files changed, 6 insertions(+), 6 deletions(-)hw/intc/Kconfig +3
-0@@ -73,3 +73,6 @@ config SIFIVE_CLINT config SIFIVE_PLIC bool + +config ALTERA_IIC + boolhw/intc/meson.build +1
-1@@ -37,7 +37,7 @@ specific_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_plic.c')) specific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c')) specific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c')) specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gic.c')) -specific_ss.add(when: 'CONFIG_NIOS2', if_true: files('nios2_iic.c')) +specific_ss.add(when: 'CONFIG_ALTERA_IIC', if_true: files('nios2_iic.c')) specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_intc.c')) specific_ss.add(when: 'CONFIG_OMPIC', if_true: files('ompic.c')) specific_ss.add(when: 'CONFIG_OPENPIC_KVM', if_true: files('openpic_kvm.c'))hw/nios2/Kconfig +2
-5@@ -1,12 +1,9 @@ config NIOS2_10M50 bool - select NIOS2 + select ALTERA_IIC select SERIAL select ALTERA_TIMER config NIOS2_GENERIC_NOMMU bool - select NIOS2 - -config NIOS2 - bool + select ALTERA_IIC