summaryrefslogtreecommitdiffstats
path: root/plat/brcm/board/stingray/include/ddr_init.h
blob: 0c135b1d57c2c9f56cde6d2820c9facd5293fb6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Copyright (c) 2016 - 2020, Broadcom
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef DDR_INIT_H
#define DDR_INIT_H

#include <fru.h>

#pragma weak ddr_initialize
#pragma weak ddr_secure_region_config
#pragma weak ddr_info_save
#pragma weak get_active_ddr_channel
#pragma weak is_warmboot

void ddr_initialize(struct ddr_info *ddr)
{
}

void ddr_secure_region_config(uint64_t start, uint64_t end)
{
}

void ddr_info_save(void)
{
}

unsigned char get_active_ddr_channel(void)
{
	return 0;
}

static inline unsigned int is_warmboot(void)
{
	return 0;
}
#endif