drivers: intc: ioapic: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
990ab00e30
commit
df45e4df77
7 changed files with 8 additions and 15 deletions
|
@ -11,8 +11,6 @@
|
|||
#define DT_RAM_SIZE CONFIG_SRAM_SIZE
|
||||
#define DT_ROM_SIZE CONFIG_FLASH_SIZE
|
||||
|
||||
#define DT_IOAPIC_BASE_ADDRESS DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS
|
||||
|
||||
#define DT_UART_NS16550_PORT_0_BASE_ADDR DT_INST_0_NS16550_BASE_ADDRESS
|
||||
#define DT_UART_NS16550_PORT_0_SIZE DT_INST_0_NS16550_SIZE
|
||||
#define DT_UART_NS16550_PORT_0_BAUD_RATE DT_INST_0_NS16550_CURRENT_SPEED
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
MMU_BOOT_REGION(CONFIG_LOAPIC_BASE_ADDRESS, 4 * 1024, MMU_ENTRY_WRITE);
|
||||
|
||||
/* ioapic */
|
||||
MMU_BOOT_REGION(DT_IOAPIC_BASE_ADDRESS, 1024 * 1024, MMU_ENTRY_WRITE);
|
||||
MMU_BOOT_REGION(DT_INST_0_INTEL_IOAPIC_BASE_ADDRESS, 1024 * 1024, MMU_ENTRY_WRITE);
|
||||
|
||||
#ifdef CONFIG_HPET_TIMER
|
||||
MMU_BOOT_REGION(DT_INST_0_INTEL_HPET_BASE_ADDRESS, KB(4), MMU_ENTRY_WRITE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue