repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git]
/
src
/
mainboard
/
emulation
/
qemu-armv7
/
cbmem.c
blob
5c423a05bbc26428190221463f3baac02b6ad4fd
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <cbmem.h>
4
#include <symbols.h>
5
#include <ramdetect.h>
6
7
uintptr_t
cbmem_top_chipset
(
void
)
8
{
9
return
(
uintptr_t
)
_dram
+ (
probe_ramsize
((
uintptr_t
)
_dram
,
CONFIG_DRAM_SIZE_MB
) *
MiB
);
10
}