diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-03-31 12:39:37 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-04-27 13:57:17 +0200 |
commit | 80fdef12b22ab70f9d83343016abcd3b50a87d7c (patch) | |
tree | 1a68cd61505459368f30eed14640bbdf5004adf0 /board/xilinx/common/board.c | |
parent | b72f4505277369bb9d8013370d5f316aff49f596 (diff) |
xilinx: Introduce board_late_init_xilinx()
This function should keep common shared late configurations for Xilinx
SoCs.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/common/board.c')
-rw-r--r-- | board/xilinx/common/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index e83c692f217..7c191e53fb7 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -8,6 +8,7 @@ #include <asm/sections.h> #include <dm/uclass.h> #include <i2c.h> +#include "board.h" int zynq_board_read_rom_ethaddr(unsigned char *ethaddr) { @@ -71,3 +72,10 @@ void *board_fdt_blob_setup(void) return NULL; } #endif + +int board_late_init_xilinx(void) +{ + env_set_hex("script_offset_f", CONFIG_BOOT_SCRIPT_OFFSET); + + return 0; +} |