aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-15 14:34:19 +0200
committerTom Rini <trini@konsulko.com>2015-11-12 13:18:59 -0500
commit3d4ef38de2f65e9d122e1c40221f303ade0eac97 (patch)
tree5a269875b53292534860c90900accea7d4452528
parent6fb77c48e40c15afcc67bb8d3b5d7d300883d293 (diff)
downloadu-boot-3d4ef38de2f65e9d122e1c40221f303ade0eac97.zip
u-boot-3d4ef38de2f65e9d122e1c40221f303ade0eac97.tar.gz
u-boot-3d4ef38de2f65e9d122e1c40221f303ade0eac97.tar.bz2
sparse: Rename the file and header
The Android sparse image format is currently supported through a file called aboot, which isn't really such a great name, since the sparse image format is only used for transferring data with fastboot. Rename the file and header to a file called "sparse", which also makes it consistent with the header defining the image structures. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--common/Makefile2
-rw-r--r--common/fb_mmc.c2
-rw-r--r--common/fb_nand.c2
-rw-r--r--common/image-sparse.c (renamed from common/aboot.c)2
-rw-r--r--include/image-sparse.h (renamed from include/aboot.h)0
5 files changed, 4 insertions, 4 deletions
diff --git a/common/Makefile b/common/Makefile
index 4c1b2f0..d8dc892 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -277,7 +277,7 @@ obj-y += stdio.o
# This option is not just y/n - it can have a numeric value
ifdef CONFIG_FASTBOOT_FLASH
-obj-y += aboot.o
+obj-y += image-sparse.o
ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV
obj-y += fb_mmc.o
endif
diff --git a/common/fb_mmc.c b/common/fb_mmc.c
index c698966..e4fbd8d 100644
--- a/common/fb_mmc.c
+++ b/common/fb_mmc.c
@@ -9,8 +9,8 @@
#include <errno.h>
#include <fastboot.h>
#include <fb_mmc.h>
+#include <image-sparse.h>
#include <part.h>
-#include <aboot.h>
#include <sparse_format.h>
#include <mmc.h>
diff --git a/common/fb_nand.c b/common/fb_nand.c
index 57cbde0..9ca8602 100644
--- a/common/fb_nand.c
+++ b/common/fb_nand.c
@@ -8,8 +8,8 @@
#include <config.h>
#include <common.h>
-#include <aboot.h>
#include <fastboot.h>
+#include <image-sparse.h>
#include <sparse_format.h>
#include <linux/mtd/mtd.h>
diff --git a/common/aboot.c b/common/image-sparse.c
index 6d76c1e..dffe844 100644
--- a/common/aboot.c
+++ b/common/image-sparse.c
@@ -36,9 +36,9 @@
#include <config.h>
#include <common.h>
-#include <aboot.h>
#include <div64.h>
#include <errno.h>
+#include <image-sparse.h>
#include <malloc.h>
#include <part.h>
#include <sparse_format.h>
diff --git a/include/aboot.h b/include/image-sparse.h
index 0382f5b..0382f5b 100644
--- a/include/aboot.h
+++ b/include/image-sparse.h