]> git.dujemihanovic.xyz Git - u-boot.git/commit
cpu: Support querying the address width
authorSimon Glass <sjg@chromium.org>
Wed, 8 Apr 2020 22:57:20 +0000 (16:57 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 16 Apr 2020 06:36:28 +0000 (14:36 +0800)
commit600f584d8191799acc19464c4a07f3056083057a
tree87bbba5d9ad49ad045b524d5ce9a1a8d60abd508
parent98036fbdaf0ac1d6dc3ab3cb6db24c020bb65d6f
cpu: Support querying the address width

Different CPUs may support different address widths, meaning the amount of
memory they can address. Add a property for this to the cpu_info struct.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/cpu/cpu_sandbox.c
include/cpu.h
test/dm/cpu.c