1 /* 2 * Copyright (c) 2016 - 2020, Broadcom 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef DDR_INIT_H 8 #define DDR_INIT_H 9 10 #include <fru.h> 11 12 #pragma weak ddr_initialize 13 #pragma weak ddr_secure_region_config 14 #pragma weak ddr_info_save 15 #pragma weak get_active_ddr_channel 16 #pragma weak is_warmboot 17 ddr_initialize(struct ddr_info * ddr)18void ddr_initialize(struct ddr_info *ddr) 19 { 20 } 21 ddr_secure_region_config(uint64_t start,uint64_t end)22void ddr_secure_region_config(uint64_t start, uint64_t end) 23 { 24 } 25 ddr_info_save(void)26void ddr_info_save(void) 27 { 28 } 29 get_active_ddr_channel(void)30unsigned char get_active_ddr_channel(void) 31 { 32 return 0; 33 } 34 is_warmboot(void)35static inline unsigned int is_warmboot(void) 36 { 37 return 0; 38 } 39 #endif 40