mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
15f09a1a83
Rockchip use 'arch-rockchip' instead of arch-$(SOC) as common header file path, so that we can get the correct path directly. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
20 lines
442 B
C
20 lines
442 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/arch-rockchip/clock.h>
|
|
#include <dm.h>
|
|
#include <syscon.h>
|
|
|
|
static const struct udevice_id rk3328_syscon_ids[] = {
|
|
{ .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF },
|
|
{ }
|
|
};
|
|
|
|
U_BOOT_DRIVER(syscon_rk3328) = {
|
|
.name = "rk3328_syscon",
|
|
.id = UCLASS_SYSCON,
|
|
.of_match = rk3328_syscon_ids,
|
|
};
|