diff options
Diffstat (limited to 'arch/arm/mach-mxs/bcb.c')
-rw-r--r-- | arch/arm/mach-mxs/bcb.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/mach-mxs/bcb.c b/arch/arm/mach-mxs/bcb.c index fce607f634..152a7c3bca 100644 --- a/arch/arm/mach-mxs/bcb.c +++ b/arch/arm/mach-mxs/bcb.c @@ -1,11 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2011 Wolfram Sang, Pengutronix e.K. + /* - * (C) Copyright 2011 Wolfram Sang, Pengutronix e.K. - * - * 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. - * * Based on a similar function in Karo Electronics TX28-U-Boot (flash.c). * Probably written by Lothar Waßmann (like tx28.c). */ @@ -19,7 +15,7 @@ #include <errno.h> #include <io.h> -#include <mach/imx-regs.h> +#include <mach/mxs/imx-regs.h> #include <linux/err.h> #include <linux/mtd/nand.h> @@ -314,7 +310,7 @@ static int write_fcb(struct mtd_info *mtd, void *buf, int block) return ret; } -int update_bcb(int argc, char *argv[]) +static int update_bcb(int argc, char *argv[]) { int ret; int block; |