drivers/renesas/common/ddr/dram_sub_func.h
raw| 1 | /* |
| 2 | * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef DRAM_SUB_FUNC_H |
| 8 | #define DRAM_SUB_FUNC_H |
| 9 | |
| 10 | #define DRAM_UPDATE_STATUS_ERR -1 |
| 11 | #define DRAM_BOOT_STATUS_COLD 0 |
| 12 | #define DRAM_BOOT_STATUS_WARM 1 |
| 13 | |
| 14 | int32_t rcar_dram_update_boot_status(uint32_t status); |
| 15 | void rcar_dram_get_boot_status(uint32_t *status); |
| 16 | |
| 17 | #endif /* DRAM_SUB_FUNC_H */ |