CBMEM: Drop parameter from cbmem_reinit()
Function is always called with get_top_of_ram() - HIGH_MEMORY_SIZE which equals cbmem_base, thus no need to pass it as a parameter. Change-Id: If026cb567ff534716cd9200cdffa08b21ac0c162 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3564 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
95c39c28a3
commit
d50cdf108f
11 changed files with 17 additions and 52 deletions
|
|
@ -138,7 +138,7 @@ int cbmem_base_check(void);
|
|||
#endif
|
||||
|
||||
void cbmem_init(u64 baseaddr, u64 size);
|
||||
int cbmem_reinit(u64 baseaddr);
|
||||
int cbmem_reinit(void);
|
||||
|
||||
void get_cbmem_table(uint64_t *base, uint64_t *size);
|
||||
struct cbmem_entry *get_cbmem_toc(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue