]> git.dujemihanovic.xyz Git - u-boot.git/commit
ppc: Include <asm/cache.h> in common.h
authorStefan Roese <sr@denx.de>
Fri, 7 Oct 2011 01:05:34 +0000 (01:05 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 20:20:44 +0000 (22:20 +0200)
commit13e95e4230acc05407574b594bb7e48cfe92efb8
tree0956cfdc4ab32ce23a7468bc19c2c9236efc50d9
parent6eecc0307927fee1ff70151980b3a8c02ffeb947
ppc: Include <asm/cache.h> in common.h

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@denx.de>
Cc: Anton Staaf <robotboy@chromium.org>
Cc: Wolfgang Denk <wd@denx.de>
include/common.h