]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: only select WT cache if cache is enabled
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2015 13:19:20 +0000 (14:19 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 15 Dec 2015 09:51:53 +0000 (15:21 +0530)
commitce410b00b45b59700a37e03cc131b9787b1830b0
tree553716fbec45003f278b8b038786f8f03c974f72
parent2715d332e6151136472842d51b2ec873c0652275
ARM: davinci: only select WT cache if cache is enabled

The DA830 chip only works if the dcache is in writethrough mode,
but that produces a harmless Kconfig warning if the cache happens
to be disabled:

warning: (ARCH_DAVINCI_DA830) selects CPU_DCACHE_WRITETHROUGH which has unmet direct dependencies ((CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FA526) && !CPU_DCACHE_DISABLE)

This makes the select conditional so we don't have to worry
about the warning in randconfig builds any more.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/Kconfig