From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Tue, 31 May 2016 10:02:40 +0200 Subject: [U-Boot] [PATCH v2 1/3] MIPS: Move cache sizes to Kconfig In-Reply-To: <20160527132806.24134-2-paul.burton@imgtec.com> References: <20160527132806.24134-1-paul.burton@imgtec.com> <20160527132806.24134-2-paul.burton@imgtec.com> Message-ID: <574D4520.8060703@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 27.05.2016 um 15:28 schrieb Paul Burton: > Move details of the L1 cache line sizes & total sizes into Kconfig, > defaulting to 0. A new CONFIG_SYS_CACHE_SIZE_AUTO Kconfig entry is > introduced to allow platforms to select auto-detection of cache sizes, > and it defaults to being enabled if none of the cache sizes are set by > the configuration (ie. sizes are all the default 0), and code is > adjusted to #ifdef on that rather than on the definition of the sizes > (which will always be defined even if 0). > > Signed-off-by: Paul Burton > > --- > > Changes in v2: > - Add help text to Kconfig entries. > - Use int, not hex, for cache size Kconfig entries. > - Introduce CONFIG_SYS_CACHE_SIZE_AUTO. > > arch/mips/Kconfig | 28 ++++++++++++++++++++++++++++ > arch/mips/lib/cache.c | 2 +- > arch/mips/lib/cache_init.S | 6 +++--- > board/dbau1x00/Kconfig | 9 +++++++++ > board/micronas/vct/Kconfig | 9 +++++++++ > board/pb1x00/Kconfig | 9 +++++++++ > board/qca/ap121/Kconfig | 9 +++++++++ > board/qca/ap143/Kconfig | 9 +++++++++ > board/qemu-mips/Kconfig | 9 +++++++++ > board/tplink/wdr4300/Kconfig | 9 +++++++++ > include/configs/ap121.h | 5 ----- > include/configs/ap143.h | 5 ----- > include/configs/dbau1x00.h | 7 ------- > include/configs/pb1x00.h | 6 ------ > include/configs/qemu-mips.h | 7 ------- > include/configs/qemu-mips64.h | 7 ------- > include/configs/tplink_wdr4300.h | 5 ----- > include/configs/vct.h | 7 ------- > 18 files changed, 95 insertions(+), 53 deletions(-) > applied to u-boot-mips, thanks! -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: