[U-Boot] [PATCH v2 1/3] MIPS: Move cache sizes to Kconfig

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Tue May 31 10:02:40 CEST 2016



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 at 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>


More information about the U-Boot mailing list