plat_bl1_setup.c 391 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2018 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. #include <lib/mmio.h>
  8. #include <plat_marvell.h>
  9. void marvell_bl1_setup_mpps(void)
  10. {
  11. /* Enable UART MPPs.
  12. ** In a normal system, this is done by Bootrom.
  13. */
  14. mmio_write_32(MVEBU_AP_MPP_REGS(1), 0x3000);
  15. mmio_write_32(MVEBU_AP_MPP_REGS(2), 0x3000);
  16. }