diff options
Diffstat (limited to 'arch/arm/mach-mxs/imx.c')
-rw-r--r-- | arch/arm/mach-mxs/imx.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/arch/arm/mach-mxs/imx.c b/arch/arm/mach-mxs/imx.c index b7247b9b72..2b4e682281 100644 --- a/arch/arm/mach-mxs/imx.c +++ b/arch/arm/mach-mxs/imx.c @@ -1,17 +1,5 @@ -/* - * (C) Copyright 2010 Juergen Beisert - Pengutronix - * - * 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: 2010 Juergen Beisert, Pengutronix #include <common.h> #include <bootsource.h> @@ -21,9 +9,9 @@ #include <io.h> #include <stmp-device.h> -#include <mach/generic.h> -#include <mach/imx-regs.h> -#include <mach/revision.h> +#include <mach/mxs/generic.h> +#include <mach/mxs/imx-regs.h> +#include <mach/mxs/revision.h> #define HW_RTC_PERSISTENT1 0x070 @@ -170,8 +158,7 @@ static void mxs_boot_save_loc(void) case 0x9: src = BOOTSOURCE_MMC; break; /* "SSP SD/MMC #0" */ } - bootsource_set(src); - bootsource_set_instance(instance); + bootsource_set_raw(src, instance); } static int mxs_init(void) |