blob: 0c135b1d57c2c9f56cde6d2820c9facd5293fb6e [file] [log] [blame]
Sheetal Tigadoliad0943e2019-12-18 19:44:43 +05301/*
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
18void ddr_initialize(struct ddr_info *ddr)
19{
20}
21
22void ddr_secure_region_config(uint64_t start, uint64_t end)
23{
24}
25
26void ddr_info_save(void)
27{
28}
29
30unsigned char get_active_ddr_channel(void)
31{
32 return 0;
33}
34
35static inline unsigned int is_warmboot(void)
36{
37 return 0;
38}
39#endif