Skip to content
Snippets Groups Projects
Commit b59cc516 authored by Stefan Roese's avatar Stefan Roese
Browse files

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: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
parent e207f225
No related branches found
No related tags found
No related merge requests found
......@@ -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
// 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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment