xilinx: Introduce board_late_init_xilinx()
[oweals/u-boot.git] / board / xilinx / versal / board.c
index 75aedb092922752f1cbe0ae7af94bcac55233f52..908ea87163f894ed4d126d976b1184965c28f8f9 100644 (file)
@@ -17,6 +17,7 @@
 #include <dm/uclass.h>
 #include <versalpl.h>
 #include <linux/sizes.h>
+#include "../common/board.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -204,9 +205,7 @@ int board_late_init(void)
        initrd_hi = round_down(initrd_hi, SZ_16M);
        env_set_addr("initrd_high", (void *)initrd_hi);
 
-       env_set_hex("script_offset_f", CONFIG_BOOT_SCRIPT_OFFSET);
-
-       return 0;
+       return board_late_init_xilinx();
 }
 
 int dram_init_banksize(void)