From 70b421f3bd81923c01e16989dfec045d56a5c447 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 1 Jul 2019 12:19:48 +0200 Subject: lib/romstage_stack.c: Remove unused functions Change-Id: I1e66ff3fe7462dfeae2a7ce7e3a8083cf90a15f9 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/33936 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/lib/romstage_stack.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/lib') diff --git a/src/lib/romstage_stack.c b/src/lib/romstage_stack.c index ed6f09b4cb..4fe1459532 100644 --- a/src/lib/romstage_stack.c +++ b/src/lib/romstage_stack.c @@ -32,20 +32,3 @@ uintptr_t romstage_ram_stack_base(size_t size, int src) return CONFIG_RAMTOP - size; return 0; } - -uintptr_t romstage_ram_stack_bottom(void) -{ - return romstage_ram_stack_base(ROMSTAGE_RAM_STACK_SIZE, - ROMSTAGE_STACK_CBMEM); -} - -uintptr_t romstage_ram_stack_top(void) -{ - uintptr_t stack_top = romstage_ram_stack_base(ROMSTAGE_RAM_STACK_SIZE, - ROMSTAGE_STACK_CBMEM); - stack_top += ROMSTAGE_RAM_STACK_SIZE; - - /* Make it aligned to a 8-byte boundary. */ - stack_top = ALIGN_DOWN(stack_top, 8); - return stack_top; -} -- cgit v1.2.3