Skip to content

Commit 1661720

Browse files
author
Diego Ferrari
committed
[GPIO] reverted GPIO fix
1 parent 18d5815 commit 1661720

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/hw/hw.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ void detect_hardware(){
8787
MSI_OFFSET = 0;
8888
LOWEST_ADDR = MMIO_BASE;
8989
PM_BASE = MMIO_BASE + 0x100000u;
90-
if (RPI_BOARD != 5) reset_gpio();
9190
}
9291
}
9392

modules/serial/raspi/uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ volatile uint32_t uart_mbox[9] __attribute__((aligned(16))) = {
2828
void prepare_uart_hw() {
2929

3030
if (RPI_BOARD != 5){
31+
reset_gpio();
3132
enable_gpio_pin(14);
3233
enable_gpio_pin(15);
3334
}

0 commit comments

Comments
 (0)