barriers: Move __ISB() to the new API
Remove the arch-specific ARM-centric __ISB() macro and use the new barrier API instead. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
20165f576f
commit
6f3a13d974
42 changed files with 87 additions and 96 deletions
|
@ -458,10 +458,10 @@ static int pl011_init(const struct device *dev)
|
|||
|
||||
if (!data->sbsa) {
|
||||
get_uart(dev)->dmacr = 0U;
|
||||
__ISB();
|
||||
barrier_isync_fence_full();
|
||||
get_uart(dev)->cr &= ~(BIT(14) | BIT(15) | BIT(1));
|
||||
get_uart(dev)->cr |= PL011_CR_RXE | PL011_CR_TXE;
|
||||
__ISB();
|
||||
barrier_isync_fence_full();
|
||||
}
|
||||
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
|
||||
config->irq_config_func(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue