Skip to content

Commit

Permalink
s4-common: set the bootloader msg offset
Browse files Browse the repository at this point in the history
HTC offsets the bootloader message to 0x800 (2048) in /misc. This
prevents overwriting other stored variables in misc, such as the most
recently installed stock OS version.

Change-Id: I8499c9a3786820d105cc79968f010e16466124b3
  • Loading branch information
mdmower committed Jul 16, 2014
1 parent d255b8b commit 384b178
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BoardConfigCommon.mk
Expand Up @@ -73,6 +73,7 @@ BOARD_RECOVERY_SWIPE := true
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
TARGET_RECOVERY_LCD_BACKLIGHT_PATH := \"/sys/class/leds/lcd-backlight/brightness\"
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/htc/s4-common/recovery/source/recovery_keys.c
BOARD_RECOVERY_BLDRMSG_OFFSET := 2048

# Charge mode
BOARD_CHARGING_MODE_BOOTING_LPM := /sys/htc_lpm/lpm_mode
Expand Down

0 comments on commit 384b178

Please sign in to comment.