Skip to content

Commit

Permalink
BoardConfig: rework partition information
Browse files Browse the repository at this point in the history
Add all partition sizes in device git and add odm partition

Signed-off-by: Alin Jerpelea <[email protected]>
  • Loading branch information
jerpelea committed Oct 3, 2019
1 parent 0472992 commit d5153a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ BOARD_KERNEL_CMDLINE += androidboot.hardware=mermaid

# Partition information
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3772776448
BOARD_VENDORIMAGE_PARTITION_SIZE := 891289600
BOARD_ODMIMAGE_PARTITION_SIZE := 419430400
# Reserve space for data encryption (51317309440-16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 51317293056

0 comments on commit d5153a0

Please sign in to comment.