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) 2018-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 BOOT_INIT_DRAM_H |
| 8 | #define BOOT_INIT_DRAM_H |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 9 | |
| 10 | extern int32_t rcar_dram_init(void); |
| 11 | |
Marek Vasut | a2e5d19 | 2019-08-07 18:05:05 +0200 | [diff] [blame] | 12 | #define INITDRAM_OK 0 |
| 13 | #define INITDRAM_NG 0xffffffff |
| 14 | #define INITDRAM_ERR_I 0xffffffff |
| 15 | #define INITDRAM_ERR_O 0xfffffffe |
| 16 | #define INITDRAM_ERR_T 0xfffffff0 |
Jorge Ramirez-Ortiz | 47503d2 | 2018-09-23 09:36:52 +0200 | [diff] [blame] | 17 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 18 | #endif /* BOOT_INIT_DRAM_H */ |