blob: 69c4d860539bfb1a06d90d6e35878be30ceb6f1e [file] [log] [blame]
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +02001/*
Marek Vasuta2e5d192019-08-07 18:05:05 +02002 * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef DRAM_SUB_FUNC_H
8#define DRAM_SUB_FUNC_H
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +02009
Marek Vasuta2e5d192019-08-07 18:05:05 +020010#define DRAM_UPDATE_STATUS_ERR -1
11#define DRAM_BOOT_STATUS_COLD 0
12#define DRAM_BOOT_STATUS_WARM 1
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +020013
14int32_t rcar_dram_update_boot_status(uint32_t status);
Marek Vasuta2e5d192019-08-07 18:05:05 +020015void rcar_dram_get_boot_status(uint32_t *status);
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +020016
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000017#endif /* DRAM_SUB_FUNC_H */