mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 13:03:40 +00:00
379b3280b3
ARC core could be configured with different L1 and L2 (AKA SLC) cache line lengths. At least these values are possible and were really used: 32, 64 or 128 bytes. Current implementation requires cache line to be selected upon U-Boot configuration and then it will only work on matching hardware. Indeed this is quite efficient because cache line length gets hardcoded during code compilation. But OTOH it makes binary less portable. With this commit we allow U-Boot to determine real L1 cache line length early in runtime and use this value later on. This extends portability of U-Boot binary a lot. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
17 lines
424 B
Text
17 lines
424 B
Text
CONFIG_ARC=y
|
|
CONFIG_TARGET_TB100=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_CLK_FREQ=500000000
|
|
CONFIG_SYS_TEXT_BASE=0x84000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="abilis_tb100"
|
|
CONFIG_SYS_PROMPT="[tb100]:~# "
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_DM=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_USE_PRIVATE_LIBGCC=y
|