diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-15 14:34:19 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 13:18:59 -0500 |
commit | 3d4ef38de2f65e9d122e1c40221f303ade0eac97 (patch) | |
tree | 5a269875b53292534860c90900accea7d4452528 /common | |
parent | 6fb77c48e40c15afcc67bb8d3b5d7d300883d293 (diff) |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile | 2 | ||||
-rw-r--r-- | common/fb_mmc.c | 2 | ||||
-rw-r--r-- | common/fb_nand.c | 2 | ||||
-rw-r--r-- | common/image-sparse.c (renamed from common/aboot.c) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/common/Makefile b/common/Makefile index 4c1b2f00abf..d8dc892f721 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 c6989668ae5..e4fbd8dfa75 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 57cbde07834..9ca8602a73e 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 6d76c1e758f..dffe844d548 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> |