summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-03-25 22:56:30 -0600
committerJeff Sharkey <jsharkey@android.com>2017-03-25 22:56:32 -0600
commit0e9b6666075eec39203532c80c6a2c5eed835684 (patch)
treebe3493dd63b8380994adba8324d0ea9e86ee51d7 /BoardConfig.mk
parent6a672b224dc1eb5a0d3c4ac339ecb616b5df74fd (diff)
downloadbullhead-0e9b6666075eec39203532c80c6a2c5eed835684.tar.gz
Enable partitions on loop devices.
This is used by the new "virtual disk" feature used by vold to help debug and test storage code on devices without physical media. Bug: 34903607 Test: builds, boots, virtual disk works Change-Id: I57eeeb1492286053f48f90f9799c08efde7c5e35
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index d86bf49..8483ce2 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -37,6 +37,7 @@ BOARD_RAMDISK_OFFSET := 0x02000000
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=bullhead boot_cpus=0-5
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1 msm_poweroff.download_mode=0
+BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset $(BOARD_RAMDISK_OFFSET) --tags_offset $(BOARD_KERNEL_TAGS_OFFSET)