mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
xtensa: Remove arch_setup_bdinfo()
arch_setup_bdinfo() only configures the deprecated bi_memstart & bi_memsize values, which should not be needed any more. Lets remove this file completely. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
parent
e207f2256f
commit
b59cc516a1
@ -5,4 +5,4 @@
|
||||
|
||||
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
||||
|
||||
obj-y += cache.o misc.o relocate.o time.o bdinfo.o
|
||||
obj-y += cache.o misc.o relocate.o time.o
|
||||
|
@ -1,22 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* XTENSA-specific information for the 'bd' command
|
||||
*
|
||||
* (C) Copyright 2003
|
||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
int arch_setup_bdinfo(void)
|
||||
{
|
||||
struct bd_info *bd = gd->bd;
|
||||
|
||||
bd->bi_memstart = PHYSADDR(CONFIG_SYS_SDRAM_BASE);
|
||||
bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user