Remove leftover smi_get_tseg_base
Change-Id: I8e694f37c8709efd702208aa005096ebf1f3abb5 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10356 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
This commit is contained in:
parent
4bddb75c4e
commit
41652a9bad
|
@ -487,8 +487,6 @@ void mainboard_smi_sleep(u8 slp_typ);
|
|||
|
||||
#if !CONFIG_SMM_TSEG
|
||||
void smi_release_lock(void);
|
||||
#else
|
||||
#define smi_get_tseg_base() 0
|
||||
#endif
|
||||
|
||||
/* Get PMBASE address */
|
||||
|
|
|
@ -44,11 +44,5 @@ void *memalign(size_t boundary, size_t size)
|
|||
|
||||
void *malloc(size_t size)
|
||||
{
|
||||
#if CONFIG_SMM_TSEG && defined(__SMM__)
|
||||
if (!free_mem_ptr) {
|
||||
free_mem_ptr = &_heap + smi_get_tseg_base();
|
||||
free_mem_end_ptr = &_eheap + smi_get_tseg_base();
|
||||
}
|
||||
#endif
|
||||
return memalign(sizeof(u64), size);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue