summaryrefslogtreecommitdiff
path: root/arch/xtensa/lib/bdinfo.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-09-07 14:31:00 -0400
committerTom Rini <trini@konsulko.com>2020-09-07 14:31:00 -0400
commit314b9b4a38befd120ce1c566d9eea8e0ec9d8336 (patch)
tree928486047400278e4a08469cd61a94aba690e868 /arch/xtensa/lib/bdinfo.c
parent96d66a9b8ce11aae9f8bef5244b83b4740b37644 (diff)
parentbac9da46c57511e574aa7e763e17fdd6f55db5bb (diff)
Merge branch 'remove-config-nr-dram-banks-v9-2020-08-26' of https://gitlab.denx.de/u-boot/custodians/u-boot-marvell into next
Diffstat (limited to 'arch/xtensa/lib/bdinfo.c')
-rw-r--r--arch/xtensa/lib/bdinfo.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/xtensa/lib/bdinfo.c b/arch/xtensa/lib/bdinfo.c
deleted file mode 100644
index 4ec85295219..00000000000
--- a/arch/xtensa/lib/bdinfo.c
+++ /dev/null
@@ -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;
-}