From 3a83fed13e0cccbdaef380c95fb576b3e853e1c1 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 16 Mar 2015 21:00:18 +0100 Subject: [PATCH] peregrine: Add Bootloader Assert With the new version, there was a modification to the modem layout. Users on the older bootloader would have non-functioning radio in this case. Another issue would be the display flickering. Add assert to alert user to update his bootloader (motoboot.img) Change-Id: I73588865646da3a962fd98309ff5710cbdee085c --- BoardConfig.mk | 3 +++ board-info.txt | 1 + 2 files changed, 4 insertions(+) create mode 100644 board-info.txt diff --git a/BoardConfig.mk b/BoardConfig.mk index 6fb619b..d2991b8 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -23,6 +23,9 @@ TARGET_UNIFIED_DEVICE := true TARGET_INIT_VENDOR_LIB := libinit_msm TARGET_LIBINIT_DEFINES_FILE := device/motorola/peregrine/init/init_peregrine.c +# Board +TARGET_BOARD_INFO_FILE := device/motorola/peregrine/board-info.txt + # Kernel BOARD_CUSTOM_BOOTIMG_MK := $(LOCAL_PATH)/mkbootimg.mk TARGET_KERNEL_CONFIG := peregrine_defconfig diff --git a/board-info.txt b/board-info.txt new file mode 100644 index 0000000..521ba6c --- /dev/null +++ b/board-info.txt @@ -0,0 +1 @@ +require version-bootloader=0x411B