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
drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git]
/
src
/
soc
/
cavium
/
cn81xx
/
cbmem.c
blob
0b0c7176a8a3aa3d64a2a26639b20fbccfef71dd
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <cbmem.h>
4
#include <soc/addressmap.h>
5
#include <soc/sdram.h>
6
#include <symbols.h>
7
8
uintptr_t
cbmem_top_chipset
(
void
)
9
{
10
/* Make sure not to overlap with reserved ATF scratchpad */
11
return
(
uintptr_t
)
_dram
+ (
sdram_size_mb
() -
1
) *
MiB
;
12
}