diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-10-16 15:01:15 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:03 +0200 |
commit | 6d0f6bcf337c5261c08fabe12982178c2c489d76 (patch) | |
tree | ae13958ffa9c6b58c2ea97aac07a4ad2f04a350f /include/asm-blackfin | |
parent | 71edc271816ec82cf0550dd6980be2da3cc2ad9e (diff) | |
download | u-boot-6d0f6bcf337c5261c08fabe12982178c2c489d76.tar.gz |
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/blackfin-config-post.h | 6 | ||||
-rw-r--r-- | include/asm-blackfin/blackfin-config-pre.h | 8 | ||||
-rw-r--r-- | include/asm-blackfin/global_data.h | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-blackfin/blackfin-config-post.h b/include/asm-blackfin/blackfin-config-post.h index 6a1ffa17d0..0ab68ace75 100644 --- a/include/asm-blackfin/blackfin-config-post.h +++ b/include/asm-blackfin/blackfin-config-post.h @@ -10,7 +10,7 @@ #define __ASM_BLACKFIN_CONFIG_POST_H__ /* Check to make sure everything fits in external RAM */ -#if ((CFG_MONITOR_BASE + CFG_MONITOR_LEN) > CFG_MAX_RAM_SIZE) +#if ((CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN) > CONFIG_SYS_MAX_RAM_SIZE) # error Memory Map does not fit into configuration #endif @@ -20,8 +20,8 @@ #endif /* Make sure the structure is properly aligned */ -#if ((CFG_GBL_DATA_ADDR & -4) != CFG_GBL_DATA_ADDR) -# error CFG_GBL_DATA_ADDR: must be 4 byte aligned +#if ((CONFIG_SYS_GBL_DATA_ADDR & -4) != CONFIG_SYS_GBL_DATA_ADDR) +# error CONFIG_SYS_GBL_DATA_ADDR: must be 4 byte aligned #endif /* Set default CONFIG_VCO_HZ if need be */ diff --git a/include/asm-blackfin/blackfin-config-pre.h b/include/asm-blackfin/blackfin-config-pre.h index f2c44f78c9..541cb76f42 100644 --- a/include/asm-blackfin/blackfin-config-pre.h +++ b/include/asm-blackfin/blackfin-config-pre.h @@ -15,10 +15,10 @@ #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) /* Configurable Blackfin-specific monitor commands */ -#define CFG_BFIN_CMD_BOOTLDR 0x01 -#define CFG_BFIN_CMD_CPLBINFO 0x02 -#define CFG_BFIN_CMD_OTP 0x04 -#define CFG_BFIN_CMD_CACHE_DUMP 0x08 +#define CONFIG_SYS_BFIN_CMD_BOOTLDR 0x01 +#define CONFIG_SYS_BFIN_CMD_CPLBINFO 0x02 +#define CONFIG_SYS_BFIN_CMD_OTP 0x04 +#define CONFIG_SYS_BFIN_CMD_CACHE_DUMP 0x08 /* Bootmode defines -- your config needs to select this via BFIN_BOOT_MODE. * Depending on your cpu, some of these may not be valid, check your HRM. diff --git a/include/asm-blackfin/global_data.h b/include/asm-blackfin/global_data.h index 2f408705e4..5c9903bb15 100644 --- a/include/asm-blackfin/global_data.h +++ b/include/asm-blackfin/global_data.h @@ -35,7 +35,7 @@ * global variables during system initialization (until we have set * up the memory controller so that we can use RAM). * - * Keep it *SMALL* and remember to set CFG_GBL_DATA_SIZE > sizeof(gd_t) + * Keep it *SMALL* and remember to set CONFIG_SYS_GBL_DATA_SIZE > sizeof(gd_t) */ typedef struct global_data { bd_t *bd; |