soc: Remove copyright notices
[coreboot.git] / src / soc / cavium / cn81xx / cbmem.c
blob44f579182ecfc6c1f858a2528cdcef98cf9d8bfd
1 /*
2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <cbmem.h>
16 #include <soc/addressmap.h>
17 #include <soc/sdram.h>
18 #include <symbols.h>
20 void *cbmem_top_chipset(void)
22 /* Make sure not to overlap with reserved ATF scratchpad */
23 return (void *)((uintptr_t)_dram + (sdram_size_mb() - 1) * MiB);