mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
35dfc0496d
Prefer to use dts config instead, remove all board_boot_order() for rk3288 boards. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
23 lines
372 B
C
23 lines
372 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/gpio.h>
|
|
|
|
#define GPIO7A3_HUB_RST 227
|
|
|
|
int rk_board_late_init(void)
|
|
{
|
|
int ret;
|
|
|
|
ret = gpio_request(GPIO7A3_HUB_RST, "hub_rst");
|
|
if (ret)
|
|
return ret;
|
|
ret = gpio_direction_output(GPIO7A3_HUB_RST, 1);
|
|
if (ret)
|
|
return ret;
|
|
|
|
return 0;
|
|
}
|