]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: UniPhier: remove SSC_WAY_SIZE and SSC_NUM_ENTRIES macros
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 26 Feb 2015 17:27:06 +0000 (02:27 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:06:22 +0000 (14:06 +0200)
commitab9da359fd49e0b7cd34898fefa61602a091cd21
treefaa67edc0a2dc48ebc065da018d6bcdd7e029838
parentda8ab8914d2b7bd851933ea70939d4993c434631
ARM: UniPhier: remove SSC_WAY_SIZE and SSC_NUM_ENTRIES macros

Each way of the system cache has 256 entries for PH1-Pro4 and older
SoCs, whereas 512 entries for PH1-Pro5 and newer SoCs.  The line
size is still 128 byte.  Thus, the way size is 32KB/64KB for old/new
SoCs.

To keep lowlevel_init SoC-independent, set BOOT_RAM_SIZE to the
constant value 32KB.  It is large enough for temporary RAM and
should work for all the SoCs of UniPhier family.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/mach-uniphier/include/mach/ssc-regs.h
arch/arm/mach-uniphier/lowlevel_init.S