1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 MediaTek Inc.
9 DECLARE_GLOBAL_DATA_PTR;
13 /* address of boot parameters */
14 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
16 debug("gd->fdt_blob is %p\n", gd->fdt_blob);
20 int board_late_init(void)
22 #ifdef CONFIG_USB_GADGET
27 #ifdef CONFIG_USB_GADGET
28 ret = uclass_get_device(UCLASS_USB_GADGET_GENERIC, 0, &dev);
30 pr_err("%s: Cannot find USB device\n", __func__);