aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Ahlén <erik.ahlen@avalonenterprise.com>2011-12-14 10:32:53 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2011-12-23 10:01:20 +0000
commit27bcd224b299f70c1ee8e776abebec3114ac548e (patch)
tree6b8707a7560e31c6d422d97c9d7f6ee366e47ea6
parentc402c1166bc314761c01d7f8afb700a2b14fceb6 (diff)
downloadriscv-openocd-27bcd224b299f70c1ee8e776abebec3114ac548e.zip
riscv-openocd-27bcd224b299f70c1ee8e776abebec3114ac548e.tar.gz
riscv-openocd-27bcd224b299f70c1ee8e776abebec3114ac548e.tar.bz2
Renamed mx2.{c,h} to mxc.{c,h} and added copyright notice
Change-Id: I07a280acdce58b8af4a145cd6beafccbb59f20d7 Signed-off-by: Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on: http://openocd.zylin.com/272 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r--src/flash/nand/Makefile.am4
-rw-r--r--src/flash/nand/mxc.c (renamed from src/flash/nand/mx2.c)5
-rw-r--r--src/flash/nand/mxc.h (renamed from src/flash/nand/mx2.h)3
3 files changed, 9 insertions, 3 deletions
diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am
index 23c303b..2ddd096 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
index a4e6eb1..50e4123 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 <target/target.h>
#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
index 45d9ecb..b3a46b3 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 *