aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-02-24 08:58:50 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-26 16:29:04 +1100
commit7c4cea4a1690489233a14c2df01ddcc8f8e9ff8b (patch)
treefd0493a660d3eb32c745190a75e86541a471edaa
parent46bc7ec7d4857f50908dd1daf914766057b86d7c (diff)
downloadskiboot-7c4cea4a1690489233a14c2df01ddcc8f8e9ff8b.zip
skiboot-7c4cea4a1690489233a14c2df01ddcc8f8e9ff8b.tar.gz
skiboot-7c4cea4a1690489233a14c2df01ddcc8f8e9ff8b.tar.bz2
libflash: move ecc.h into libflash/
The ecc.h header is used by libflash, so should sit in libflash, to allow non-skiboot tools to access it. This change is a simple move of the header file - no changes are made to the header itself. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-By: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--libflash/ecc.c2
-rw-r--r--libflash/ecc.h (renamed from include/ecc.h)0
-rw-r--r--libflash/libffs.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/libflash/ecc.c b/libflash/ecc.c
index b794e6a..cf0393c 100644
--- a/libflash/ecc.c
+++ b/libflash/ecc.c
@@ -17,9 +17,9 @@
/* This is based on the hostboot ecc code */
#include <stdint.h>
-#include <ecc.h>
#include "libflash.h"
+#include "ecc.h"
/*
* Matrix used for ECC calculation.
diff --git a/include/ecc.h b/libflash/ecc.h
index d5c30cb..d5c30cb 100644
--- a/include/ecc.h
+++ b/libflash/ecc.h
diff --git a/libflash/libffs.c b/libflash/libffs.c
index c28fd66..c6cf9dd 100644
--- a/libflash/libffs.c
+++ b/libflash/libffs.c
@@ -18,11 +18,11 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <ecc.h>
#include <ccan/endian/endian.h>
#include "libffs.h"
+#include "ecc.h"
enum ffs_type {
ffs_type_flash,