From 96158b1b2e705b69919e4b82d65e537d7fde8176 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 11 Mar 2015 17:38:37 +0100 Subject: [PATCH] configs: move CFG_BOOTM_LEN into common.h --- u-boot/include/configs/carambola2.h | 1 - u-boot/include/configs/common.h | 1 + u-boot/include/configs/skylab.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/u-boot/include/configs/carambola2.h b/u-boot/include/configs/carambola2.h index 9729d0b43e..138ae64389 100644 --- a/u-boot/include/configs/carambola2.h +++ b/u-boot/include/configs/carambola2.h @@ -26,7 +26,6 @@ #define CFG_MAX_FLASH_SECT 256 #define CFG_FLASH_SECTOR_SIZE (64*1024) #define CFG_FLASH_SIZE 0x01000000 -#define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #define BOARDCAL 0x9fff0000 diff --git a/u-boot/include/configs/common.h b/u-boot/include/configs/common.h index 089c92389c..c8eed38d77 100644 --- a/u-boot/include/configs/common.h +++ b/u-boot/include/configs/common.h @@ -51,6 +51,7 @@ /* check if boot cycle threshold reached : if not try to boot linux if this fails run recovery */ #define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; run_recovery ; else run_recovery ; fi" +#define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #define CONFIG_NET_MULTI diff --git a/u-boot/include/configs/skylab.h b/u-boot/include/configs/skylab.h index 64a3d920e0..cb371cbc62 100644 --- a/u-boot/include/configs/skylab.h +++ b/u-boot/include/configs/skylab.h @@ -26,7 +26,6 @@ #define CFG_MAX_FLASH_SECT 128 #define CFG_FLASH_SECTOR_SIZE (64*1024) #define CFG_FLASH_SIZE 0x00800000 -#define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #define BOARDCAL 0x9f7f0000