diff mbox series

arm: ti: boot: Remove legacy Android partitions

Message ID 20190104200908.23520-1-semen.protsenko@linaro.org
State Accepted
Commit 35e3d2e8a30321195e4f5cd8aafba6aefe818b3d
Headers show
Series arm: ti: boot: Remove legacy Android partitions | expand

Commit Message

Sam Protsenko Jan. 4, 2019, 8:09 p.m. UTC
Remove unused Android partitions:
  - efs, crypto, cache: we don't use it anymore (images are not built
    in AOSP
  - ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't
    reside as a separate partition

While at it, rename "reserved" partition to "uboot-env", as it's
actually stores U-Boot environment.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 include/environment/ti/boot.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Comments

Bajjuri, Praneeth Jan. 4, 2019, 8:11 p.m. UTC | #1
On 1/4/2019 2:09 PM, Sam Protsenko wrote:
> Remove unused Android partitions:
>    - efs, crypto, cache: we don't use it anymore (images are not built
>      in AOSP
>    - ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't
>      reside as a separate partition
>
> While at it, rename "reserved" partition to "uboot-env", as it's
> actually stores U-Boot environment.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
> ---
>   include/environment/ti/boot.h | 7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
> index 86ff6d3ea7..05bdbbc23e 100644
> --- a/include/environment/ti/boot.h
> +++ b/include/environment/ti/boot.h
> @@ -35,17 +35,12 @@
>   	"uuid_disk=${uuid_gpt_disk};" \
>   	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
>   	"name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
> -	"name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
> +	"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
>   	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
> -	"name=efs,size=16M,uuid=${uuid_gpt_efs};" \
> -	"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
>   	"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
>   	"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
>   	"name=system,size=1024M,uuid=${uuid_gpt_system};" \
>   	"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
> -	"name=cache,size=256M,uuid=${uuid_gpt_cache};" \
> -	"name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \
> -	"name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \
>   	VBMETA_PART \
>   	"name=userdata,size=-,uuid=${uuid_gpt_userdata}"
>   #endif /* PARTS_DEFAULT */
Tom Rini Jan. 10, 2019, 2:32 a.m. UTC | #2
On Fri, Jan 04, 2019 at 10:09:08PM +0200, Sam Protsenko wrote:

> Remove unused Android partitions:

>   - efs, crypto, cache: we don't use it anymore (images are not built

>     in AOSP

>   - ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't

>     reside as a separate partition

> 

> While at it, rename "reserved" partition to "uboot-env", as it's

> actually stores U-Boot environment.

> 

> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 86ff6d3ea7..05bdbbc23e 100644
--- a/include/environment/ti/boot.h
+++ b/include/environment/ti/boot.h
@@ -35,17 +35,12 @@ 
 	"uuid_disk=${uuid_gpt_disk};" \
 	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
 	"name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
-	"name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
+	"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
 	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
-	"name=efs,size=16M,uuid=${uuid_gpt_efs};" \
-	"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
 	"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
 	"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
 	"name=system,size=1024M,uuid=${uuid_gpt_system};" \
 	"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
-	"name=cache,size=256M,uuid=${uuid_gpt_cache};" \
-	"name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \
-	"name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \
 	VBMETA_PART \
 	"name=userdata,size=-,uuid=${uuid_gpt_userdata}"
 #endif /* PARTS_DEFAULT */