summaryrefslogtreecommitdiff
path: root/src/cpu/amd/family_10h-family_15h/ram_calc.h
blob: 2b541d053e1a9c38ee0d5ee99ddce05d83d1a57a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * This file is part of the coreboot project.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _AMD_MODEL_10XXX_RAM_CALC_H_
#define _AMD_MODEL_10XXX_RAM_CALC_H_

uint64_t get_uma_memory_size(uint64_t topmem);
uint64_t get_cc6_memory_size(void);

#endif