summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10/cbmem.c
blob: 84dc2bf8adeb4f04149bc0e3e38a0dfe7003d2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Provides cbmem utilities for romstage and ramstage
 *
 * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
 * Subject to the GNU GPL v2, or (at your option) any later version.
 */

#include "ram_segs.h"
#include <cbmem.h>

#if IS_ENABLED(CONFIG_DYNAMIC_CBMEM)

void *cbmem_top(void)
{
	return a1x_get_cbmem_top();
}

#endif