mt8512.c 342 B

1234567891011121314151617181920
  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. DECLARE_GLOBAL_DATA_PTR;
  10. int board_init(void)
  11. {
  12. /* address of boot parameters */
  13. gd->bd->bi_boot_params = gd->ram_base + 0x100;
  14. debug("gd->fdt_blob is %p\n", gd->fdt_blob);
  15. return 0;
  16. }