diff options
Diffstat (limited to 'arch/arm/boards/phytec-som-rk3288/lowlevel.c')
-rw-r--r-- | arch/arm/boards/phytec-som-rk3288/lowlevel.c | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/arch/arm/boards/phytec-som-rk3288/lowlevel.c b/arch/arm/boards/phytec-som-rk3288/lowlevel.c index 9def80ddb8..12044b6039 100644 --- a/arch/arm/boards/phytec-som-rk3288/lowlevel.c +++ b/arch/arm/boards/phytec-som-rk3288/lowlevel.c @@ -1,25 +1,17 @@ -/* - * Copyright (C) 2016 PHYTEC Messtechnik GmbH, - * Author: Wadim Egorov <w.egorov@phytec.de> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2016 PHYTEC Messtechnik GmbH + +/* Author: Wadim Egorov <w.egorov@phytec.de> */ #include <common.h> #include <linux/sizes.h> #include <asm/barebox-arm-head.h> #include <asm/barebox-arm.h> -#include <mach/rk3288-regs.h> -#include <mach/grf_rk3288.h> -#include <mach/hardware.h> +#include <mach/rockchip/rk3288-regs.h> +#include <mach/rockchip/grf_rk3288.h> +#include <mach/rockchip/hardware.h> #include <debug_ll.h> +#include <mach/rockchip/debug_ll.h> extern char __dtb_rk3288_phycore_som_start[]; @@ -35,7 +27,7 @@ ENTRY_FUNCTION(start_rk3288_phycore_som, r0, r1, r2) GPIO7C6_MASK << GPIO7C6_SHIFT, GPIO7C7_UART2DBG_SOUT << GPIO7C7_SHIFT | GPIO7C6_UART2DBG_SIN << GPIO7C6_SHIFT); - INIT_LL(); + rockchip_debug_ll_init(); } fdt = __dtb_rk3288_phycore_som_start + get_runtime_offset(); |