From a8fab5078beb88a3f1ae46450d08d0db1460fccc Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 12 Jul 2012 09:55:58 +0200 Subject: [PATCH] OMAP: Provide reasonable kernel and initrd load addresses To make our generic boot.scr approach work, we need to make sure we have variables that tell us where to load the kernel and initrd to. Add them back into upstream u-boot again. They used to be there in the linaro version. Signed-off-by: Alexander Graf Index: u-boot-2012.10/include/configs/omap3_beagle.h =================================================================== --- u-boot-2012.10.orig/include/configs/omap3_beagle.h +++ u-boot-2012.10/include/configs/omap3_beagle.h @@ -220,6 +220,8 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x80200000\0" \ "rdaddr=0x81000000\0" \ + "kerneladdr=0x80200000\0" \ + "ramdiskaddr=0x81000000\0" \ "usbtty=cdc_acm\0" \ "bootfile=uImage.beagle\0" \ "console=ttyO2,115200n8\0" \ Index: u-boot-2012.10/include/configs/omap4_common.h =================================================================== --- u-boot-2012.10.orig/include/configs/omap4_common.h +++ u-boot-2012.10/include/configs/omap4_common.h @@ -145,6 +145,8 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x82000000\0" \ + "kerneladdr=0x80000000\0" \ + "ramdiskaddr=0x82000000\0" \ "console=ttyO2,115200n8\0" \ "fdt_high=0xffffffff\0" \ "usbtty=cdc_acm\0" \