From 27bcd224b299f70c1ee8e776abebec3114ac548e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Erik=20Ahl=C3=A9n?= Date: Wed, 14 Dec 2011 10:32:53 +0100 Subject: [PATCH] Renamed mx2.{c,h} to mxc.{c,h} and added copyright notice MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I07a280acdce58b8af4a145cd6beafccbb59f20d7 Signed-off-by: Erik Ahlén Reviewed-on: http://openocd.zylin.com/272 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/flash/nand/Makefile.am | 4 ++-- src/flash/nand/{mx2.c => mxc.c} | 5 ++++- src/flash/nand/{mx2.h => mxc.h} | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) rename src/flash/nand/{mx2.c => mxc.c} (99%) rename src/flash/nand/{mx2.h => mxc.h} (96%) diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index 23c303bfc..2ddd096ae 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -17,7 +17,7 @@ NAND_DRIVERS = \ davinci.c \ lpc3180.c \ lpc32xx.c \ - mx2.c \ + mxc.c \ mx3.c \ orion.c \ s3c24xx.c \ @@ -37,7 +37,7 @@ noinst_HEADERS = \ imp.h \ lpc3180.h \ lpc32xx.h \ - mx2.h \ + mxc.h \ mx3.h \ s3c24xx.h \ s3c24xx_regs.h \ diff --git a/src/flash/nand/mx2.c b/src/flash/nand/mxc.c similarity index 99% rename from src/flash/nand/mx2.c rename to src/flash/nand/mxc.c index a4e6eb1a1..50e4123b5 100644 --- a/src/flash/nand/mx2.c +++ b/src/flash/nand/mxc.c @@ -6,6 +6,9 @@ * Copyright (C) 2010 by Gaetan CARLIER * * Trump s.a., Belgium * * * + * Copyright (C) 2011 by Erik Ahlen * + * Avalon Innovation, Sweden * + * * * 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 * @@ -42,7 +45,7 @@ #endif #include "imp.h" -#include "mx2.h" +#include "mxc.h" #include #define nfc_is_v1() (mxc_nf_info->mxc_version == MXC_VERSION_MX27 || \ diff --git a/src/flash/nand/mx2.h b/src/flash/nand/mxc.h similarity index 96% rename from src/flash/nand/mx2.h rename to src/flash/nand/mxc.h index 45d9ecb87..b3a46b3a8 100644 --- a/src/flash/nand/mx2.h +++ b/src/flash/nand/mxc.h @@ -4,6 +4,9 @@ * Rezonans plc., Chelyabinsk, Russia * * impatt@mail.ru * * * + * Copyright (C) 2011 by Erik Ahlen * + * Avalon Innovation, Sweden * + * * * 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 * -- 2.30.2