[U-Boot] [PATCH v2 2/7] cache: add default setting for CONFIG_SYS_CACHELINE_SIZE
Wolfgang Denk
wd at denx.de
Thu Oct 6 20:44:49 CEST 2011
Dear Anton Staaf,
In message <1317763491-7274-3-git-send-email-robotboy at chromium.org> you wrote:
> CONFIG_SYS_CACHELINE_SIZE is supposed to be defined for all
> configs. But most configs do not specify it. This patch
> will set CONFIG_SYS_CACHELINE_SIZE to a default value equal
> to the GCC builtin macro __BIGGEST_ALIGNMENT__. This is not
> strictly correct, so it also generates a warning if the
> default is used.
>
> Signed-off-by: Anton Staaf <robotboy at chromium.org>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: Aneesh V <aneesh at ti.com>
> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
>
> ---
>
> Changes for v2:
> - Add comment describing why we are setting a default cacheline size
>
> include/common.h | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I often quote myself; it adds spice to my conversation. - G. B. Shaw
More information about the U-Boot
mailing list