5d8510279f660ec080f32ff9a9c45c474e2ec7ff
[project/bcm63xx/atf.git] / plat / marvell / a8k / common / plat_bl1_setup.c
1 /*
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 * https://spdx.org/licenses
6 */
7
8 #include <mmio.h>
9 #include <plat_marvell.h>
10
11 void marvell_bl1_setup_mpps(void)
12 {
13 /* Enable UART MPPs.
14 ** In a normal system, this is done by Bootrom.
15 */
16 mmio_write_32(MVEBU_AP_MPP_REGS(1), 0x3000);
17 mmio_write_32(MVEBU_AP_MPP_REGS(2), 0x3000);
18 }