[U-Boot] [PATCH 1/2] ppc: Include <asm/cache.h> in common.h

Wolfgang Denk wd at denx.de
Sun Oct 9 22:19:30 CEST 2011


Dear Stefan Roese,

In message <1317985534-11135-1-git-send-email-sr at denx.de> you wrote:
> This is needed for the patch "cache: add default setting for
> CONFIG_SYS_CACHELINE_SIZE" from Anton Staaf. As cache.h defines
> CONFIG_SYS_CACHELINE_SIZE for PPC targets.
> 
> This will remove the following warnings/errors:
> 
> include/common.h:819:2: warning: #warning CONFIG_SYS_CACHELINE_SIZE not defined, using __BIGGEST_ALIGNMENT__
> cache.c:33: error: '__BIGGEST_ALIGNMENT__' undeclared (first use in this function)
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Anton Staaf <robotboy at chromium.org>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
>  include/common.h |    8 ++++++++
>  1 files changed, 8 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
"...one of the main causes of the fall of the Roman Empire was  that,
lacking  zero,  they had no way to indicate successful termination of
their C programs."                                     - Robert Firth


More information about the U-Boot mailing list