diff options
Diffstat (limited to 'arch/arm/mach-mvebu/kirkwood.c')
-rw-r--r-- | arch/arm/mach-mvebu/kirkwood.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 59fb95ff4a..4b5d1b716b 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -1,17 +1,5 @@ -/* - * Copyright (C) 2013 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * 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-or-later +// SPDX-FileCopyrightText: 2013 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> #include <common.h> #include <init.h> @@ -19,7 +7,7 @@ #include <restart.h> #include <asm/memory.h> #include <linux/mbus.h> -#include <mach/kirkwood-regs.h> +#include <mach/mvebu/kirkwood-regs.h> static void __noreturn kirkwood_restart_soc(struct restart_handler *rst) { @@ -34,7 +22,7 @@ static int kirkwood_init_soc(void) if (!of_machine_is_compatible("marvell,kirkwood")) return 0; - restart_handler_register_fn(kirkwood_restart_soc); + restart_handler_register_fn("soc", kirkwood_restart_soc); barebox_set_model("Marvell Kirkwood"); barebox_set_hostname("kirkwood"); |