]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/altera/socfpga/socfpga_cyclone5.c
arm: socfpga: board: Correctly set ATAG position
[people/ms/u-boot.git] / board / altera / socfpga / socfpga_cyclone5.c
index fb92852d5f56ad31a4972779d019c01a3ba34068..bc8a87c648f64ebe9791c02c7e9859d151cc1f1d 100644 (file)
@@ -35,5 +35,9 @@ int board_early_init_f(void)
 int board_init(void)
 {
        icache_enable();
+
+       /* Address of boot parameters for ATAG (if ATAG is used) */
+       gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+
        return 0;
 }