diff options
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | 2018-12-12 06:12:23 -0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2018-12-18 09:56:26 +0800 |
commit | 8176ea4d58d18740e344dd4b587433c9f7772ac1 (patch) | |
tree | 0ac0385063b900f9b98c484266df33c164894685 /cmd/blkcache.c | |
parent | 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad (diff) | |
download | u-boot-8176ea4d58d18740e344dd4b587433c9f7772ac1.tar.gz u-boot-8176ea4d58d18740e344dd4b587433c9f7772ac1.tar.xz u-boot-8176ea4d58d18740e344dd4b587433c9f7772ac1.zip |
riscv: add Kconfig entries for the code model
RISC-V has two code models, medium low (medlow) and medium any (medany).
Medlow limits addressable memory to a single 2 GiB range between the
absolute addresses -2 GiB and +2 GiB. Medany limits addressable memory
to any single 2 GiB address range.
By default, medlow is selected for U-Boot on both 32-bit and 64-bit
systems.
The -mcmodel compiler flag is selected according to the Kconfig
configuration.
Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
[bmeng: adjust to make medlow the default code model for U-Boot]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'cmd/blkcache.c')
0 files changed, 0 insertions, 0 deletions