summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-08-12 12:11:06 +0200
committerMichal Simek <michal.simek@xilinx.com>2020-08-20 09:58:16 +0200
commit653809f43f4d1872825ca281e488b1e7b56b9e95 (patch)
treec08811983c2205fa716434c8c0b5054144870a65 /board
parent0bfb43dfc14ec4ca5a07f5d22063f1869c45de45 (diff)
xilinx: common: Get rid of initrd_high variable setup
When bootm_low/bootm_size are setup properly there is no need to setup any initrd_high address. Location for initrd is determined through LMB. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/common/board.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index 0782d08ee3..901591ba2a 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -77,14 +77,8 @@ void *board_fdt_blob_setup(void)
int board_late_init_xilinx(void)
{
- ulong initrd_hi;
-
env_set_hex("script_offset_f", CONFIG_BOOT_SCRIPT_OFFSET);
- initrd_hi = gd->start_addr_sp - CONFIG_STACK_SIZE;
- initrd_hi = round_down(initrd_hi, SZ_16M);
- env_set_addr("initrd_high", (void *)initrd_hi);
-
env_set_addr("bootm_low", (void *)gd->ram_base);
env_set_addr("bootm_size", (void *)gd->ram_size);