1 /* 2 * Copyright (C) 2012 Altera Corporation <www.altera.com> 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #include <common.h> 8 9 DECLARE_GLOBAL_DATA_PTR; 10 11 void s_init(void) {} 12 13 /* 14 * Miscellaneous platform dependent initialisations 15 */ 16 int board_init(void) 17 { 18 /* Address of boot parameters for ATAG (if ATAG is used) */ 19 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 20 21 return 0; 22 } 23