blackfin: fix L1 data A overflow link issue
authorMike Frysinger <vapier@gentoo.org>
Wed, 28 Mar 2012 03:43:02 +0000 (11:43 +0800)
committerBob Liu <lliubbo@gmail.com>
Fri, 6 Apr 2012 02:25:02 +0000 (10:25 +0800)
This patch fix below compile error:
"bfin-uclinux-ld: L1 data A overflow!"

It is due to the recent lib/gen_crc32table.c change:
46c5801eaf86e83cb3a4142ad35188db5011fff0
crc32: bolt on crc32c

it added 8KiB more data to __cacheline_aligned which cause blackfin L1 data
cache overflow.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/Kconfig

index c1269a1..373a690 100644 (file)
@@ -823,7 +823,7 @@ config CACHELINE_ALIGNED_L1
        bool "Locate cacheline_aligned data to L1 Data Memory"
        default y if !BF54x
        default n if BF54x
-       depends on !SMP && !BF531
+       depends on !SMP && !BF531 && !CRC32
        help
          If enabled, cacheline_aligned data is linked
          into L1 data memory. (less latency)