@@ -15,6 +15,10 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/config.mk
+ifneq ($(CONFIG_RAMDISK_OFFSET),)
+BOARD_MKBOOTIMG_ARGS := --ramdisk_offset $(CONFIG_RAMDISK_OFFSET)
+endif
+
WITH_DEXPREOPT := $(CONFIG_DEX_PREOPT)
# generic wifi
@@ -51,6 +51,16 @@ config BOARD_KERNEL_CMDLINE
help
Enter the kernel command line to be set in the bootimage.
+config BOARD_KERNEL_BASE
+ hex "Kernel Base Address"
+ help
+ Base address to load the kernel
+
+config RAMDISK_OFFSET
+ hex "Ramdisk offset"
+ help
+ Offset from Kernel Base Address to load the ramdisk
+
endif
config TARGET_NO_KERNEL
Adds kernel base address and ramdisk offset config values for for boot.img creation. Signed-off-by: John Stultz <john.stultz@linaro.org> --- BoardConfig.mk | 4 ++++ Kconfig | 10 ++++++++++ 2 files changed, 14 insertions(+) -- 1.9.1