1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
10 void board_boot_order(u32 *spl_boot_list)
12 /* eMMC prior to sdcard */
13 spl_boot_list[0] = BOOT_DEVICE_MMC2;
14 spl_boot_list[1] = BOOT_DEVICE_MMC1;
17 #define GPIO7A3_HUB_RST 227
19 int rk_board_late_init(void)
23 ret = gpio_request(GPIO7A3_HUB_RST, "hub_rst");
26 ret = gpio_direction_output(GPIO7A3_HUB_RST, 1);