mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00

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>
31 lines
581 B
C
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 */
|