1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 #ifndef __HAL_PSRAM_H__
5 #define __HAL_PSRAM_H__
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 #include "plat_types.h"
12 
13 enum HAL_PSRAM_ID_T {
14     HAL_PSRAM_ID_0 = 0,
15     HAL_PSRAM_ID_NUM,
16 };
17 
18 void hal_psram_sleep(void);
19 void hal_psram_wakeup(void);
20 void hal_psram_init(void);
21 void psram_read_reg(uint32_t reg, uint32_t *val);
22 void hal_psram_phy_sleep();
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
28 
29