Mario Bălănică | c258e4c | 2023-12-01 04:59:43 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2024, Arm Limited and Contributors. All rights reserved. |
| 3 | * Copyright (c) 2024, Mario Bălănică <mariobalanica02@gmail.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: BSD-3-Clause |
| 6 | */ |
| 7 | |
| 8 | #include <drivers/arm/pl011.h> |
| 9 | #include <drivers/console.h> |
| 10 | #include <platform_def.h> |
| 11 | |
| 12 | #include <rpi_shared.h> |
| 13 | |
| 14 | int rpi3_register_used_uart(console_t *console) |
| 15 | { |
| 16 | return console_pl011_register(PLAT_RPI_PL011_UART_BASE, |
| 17 | PLAT_RPI_PL011_UART_CLOCK, |
| 18 | PLAT_RPI_UART_BAUDRATE, |
| 19 | console); |
| 20 | } |