diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-07-03 13:55:51 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-07 19:47:12 -0400 |
commit | 443a2ec57a5dd917a077b786f48f905643b02610 (patch) | |
tree | f8719fc98fc499d1b65b02527208ccf471ea861b /arch/blackfin | |
parent | a91fd00175f56e2d697c6f883f7d9b328242ca8b (diff) | |
download | u-boot-midas-443a2ec57a5dd917a077b786f48f905643b02610.tar.gz u-boot-midas-443a2ec57a5dd917a077b786f48f905643b02610.tar.bz2 u-boot-midas-443a2ec57a5dd917a077b786f48f905643b02610.zip |
blackfin, powerpc: remove redundant definitions of ARRAY_SIZE
Since ARRAY_SIZE macro is defined in include/common.h,
re-defining it in arch-specific files is redundant.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/config-pre.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/blackfin/include/asm/config-pre.h b/arch/blackfin/include/asm/config-pre.h index d0fd537d88..2d8b293c3e 100644 --- a/arch/blackfin/include/asm/config-pre.h +++ b/arch/blackfin/include/asm/config-pre.h @@ -9,9 +9,6 @@ #ifndef __ASM_BLACKFIN_CONFIG_PRE_H__ #define __ASM_BLACKFIN_CONFIG_PRE_H__ -/* Misc helper functions */ -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - /* Bootmode defines -- your config needs to select this via CONFIG_BFIN_BOOT_MODE. * Depending on your cpu, some of these may not be valid, check your HRM. * The actual values here are meaningless as long as they're unique. |