Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 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 | } |