ddr_phy_access.h 401 B

123456789101112131415
  1. /*
  2. * Copyright (C) 2021 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. #include <plat_marvell.h>
  8. #define DEVICE_BASE 0xF0000000
  9. #define DDR_PHY_OFFSET 0x1000000
  10. #define DDR_PHY_BASE_ADDR (DEVICE_BASE + DDR_PHY_OFFSET)
  11. int mvebu_ddr_phy_write(uintptr_t offset, uint16_t data);
  12. int mvebu_ddr_phy_read(uintptr_t offset, uint16_t *read);