blob: 5d8510279f660ec080f32ff9a9c45c474e2ec7ff [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001/*
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
11void 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}