summaryrefslogtreecommitdiff
path: root/drivers/staging/renesas/rcar/ddr/dram_sub_func.h
blob: 7e88f4222189fc736a7790f75dff24e3c5807fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2015-2017, 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 */