mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00

Move ddr driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: I9aef73d3e9a027a127ce7483b72d339559866727
17 lines
417 B
C
17 lines
417 B
C
/*
|
|
* Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef DRAM_SUB_FUNC_H
|
|
#define DRAM_SUB_FUNC_H
|
|
|
|
#define DRAM_UPDATE_STATUS_ERR -1
|
|
#define DRAM_BOOT_STATUS_COLD 0
|
|
#define DRAM_BOOT_STATUS_WARM 1
|
|
|
|
int32_t rcar_dram_update_boot_status(uint32_t status);
|
|
void rcar_dram_get_boot_status(uint32_t *status);
|
|
|
|
#endif /* DRAM_SUB_FUNC_H */
|