avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
21
u-boot/arch/arm/mach-rockchip/rk3036/syscon_rk3036.c
Normal file
21
u-boot/arch/arm/mach-rockchip/rk3036/syscon_rk3036.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* (C) Copyright 2015 Rockchip Electronics Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
static const struct udevice_id rk3036_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3036-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(syscon_rk3036) = {
|
||||
.name = "rk3036_syscon",
|
||||
.id = UCLASS_SYSCON,
|
||||
.of_match = rk3036_syscon_ids,
|
||||
};
|
||||
Reference in New Issue
Block a user