mt8512.c 371 B

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