mt8518_ap1.c 317 B

123456789101112131415161718
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2019 MediaTek Inc.
  4. */
  5. #include <common.h>
  6. #include <dm.h>
  7. DECLARE_GLOBAL_DATA_PTR;
  8. int board_init(void)
  9. {
  10. /* address of boot parameters */
  11. gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
  12. debug("gd->fdt_blob is %p\n", gd->fdt_blob);
  13. return 0;
  14. }