Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 1 | /* |
Marek Vasut | a2e5d19 | 2019-08-07 18:05:05 +0200 | [diff] [blame] | 2 | * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef DRAM_SUB_FUNC_H |
| 8 | #define DRAM_SUB_FUNC_H |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 9 | |
Marek Vasut | a2e5d19 | 2019-08-07 18:05:05 +0200 | [diff] [blame] | 10 | #define DRAM_UPDATE_STATUS_ERR -1 |
| 11 | #define DRAM_BOOT_STATUS_COLD 0 |
| 12 | #define DRAM_BOOT_STATUS_WARM 1 |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 13 | |
| 14 | int32_t rcar_dram_update_boot_status(uint32_t status); |
Marek Vasut | a2e5d19 | 2019-08-07 18:05:05 +0200 | [diff] [blame] | 15 | void rcar_dram_get_boot_status(uint32_t *status); |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 16 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 17 | #endif /* DRAM_SUB_FUNC_H */ |