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 870cf37 commit a0af5d2
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=pioneer

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

0 comments on commit a0af5d2

Please sign in to comment.