From 3d4ef38de2f65e9d122e1c40221f303ade0eac97 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 15 Oct 2015 14:34:19 +0200 Subject: [PATCH] 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 Reviewed-by: Tom Rini --- common/Makefile | 2 +- common/fb_mmc.c | 2 +- common/fb_nand.c | 2 +- common/{aboot.c => image-sparse.c} | 2 +- include/{aboot.h => image-sparse.h} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename common/{aboot.c => image-sparse.c} (99%) rename include/{aboot.h => image-sparse.h} (100%) diff --git a/common/Makefile b/common/Makefile index 4c1b2f00ab..d8dc892f72 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 c6989668ae..e4fbd8dfa7 100644 --- a/common/fb_mmc.c +++ b/common/fb_mmc.c @@ -9,8 +9,8 @@ #include #include #include +#include #include -#include #include #include diff --git a/common/fb_nand.c b/common/fb_nand.c index 57cbde0783..9ca8602a73 100644 --- a/common/fb_nand.c +++ b/common/fb_nand.c @@ -8,8 +8,8 @@ #include #include -#include #include +#include #include #include diff --git a/common/aboot.c b/common/image-sparse.c similarity index 99% rename from common/aboot.c rename to common/image-sparse.c index 6d76c1e758..dffe844d54 100644 --- a/common/aboot.c +++ b/common/image-sparse.c @@ -36,9 +36,9 @@ #include #include -#include #include #include +#include #include #include #include diff --git a/include/aboot.h b/include/image-sparse.h similarity index 100% rename from include/aboot.h rename to include/image-sparse.h -- 2.39.5