arm-trusted-firmware/plat/intel/soc/agilex5/include/agilex5_ddr.h
Sieu Mun Tang ce21a1a909 feat(intel): update Agilex5 DDR and IOSSM driver
DDR and IOSSM driver code for Agilex5 platform,
initialize the DDR/IOSSM in BL2 EL3 early flow.

Change-Id: I3e4205171d9356190b60498cae322318520bb1c2
Signed-off-by: Girisha Dengi <girisha.dengi@intel.com>
Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com>
2024-10-07 17:28:30 +02:00

31 lines
581 B
C

/*
* Copyright (c) 2024, Altera Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef AGILEX5_DDR_H
#define AGILEX5_DDR_H
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <lib/utils_def.h>
#include "socfpga_handoff.h"
#define CONFIG_NR_DRAM_BANKS 1
typedef unsigned long long phys_addr_t;
typedef unsigned long long phys_size_t;
typedef phys_addr_t fdt_addr_t;
/* DDR/RAM configuration */
struct ddr_info {
phys_addr_t start;
phys_size_t size;
};
int agilex5_ddr_init(handoff *hoff_ptr);
#endif /* AGILEX5_DDR_H */