blob: f9521c871e46c8b7f31d9c17b33e2ba6b1a19e34 [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
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00008#include <lib/mmio.h>
9
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030010#include <plat_marvell.h>
11
12void marvell_bl1_setup_mpps(void)
13{
14 /* Enable UART MPPs.
15 ** In a normal system, this is done by Bootrom.
16 */
17 mmio_write_32(MVEBU_AP_MPP_REGS(1), 0x3000);
18 mmio_write_32(MVEBU_AP_MPP_REGS(2), 0x3000);
19}