From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/3] MIPS: Move cache sizes to Kconfig
Date: Tue, 31 May 2016 10:02:40 +0200 [thread overview]
Message-ID: <574D4520.8060703@gmail.com> (raw)
In-Reply-To: <20160527132806.24134-2-paul.burton@imgtec.com>
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 <paul.burton@imgtec.com>
>
> ---
>
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20160531/45d0d9b7/attachment.sig>
next prev parent reply other threads:[~2016-05-31 8:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 13:28 [U-Boot] [PATCH v2 0/3] MIPS cache cleanups Paul Burton
2016-05-27 13:28 ` [U-Boot] [PATCH v2 1/3] MIPS: Move cache sizes to Kconfig Paul Burton
2016-05-31 8:02 ` Daniel Schwierzeck [this message]
2016-05-27 13:28 ` [U-Boot] [PATCH v2 2/3] MIPS: Split I & D cache line size config Paul Burton
2016-05-31 8:03 ` Daniel Schwierzeck
2016-05-27 13:28 ` [U-Boot] [PATCH v2 3/3] MIPS: Abstract cache op loops with a macro Paul Burton
2016-05-31 8:03 ` Daniel Schwierzeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574D4520.8060703@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox