[U-Boot] [PATCH v2] sandbox: Add 64-bit sandbox

Simon Glass sjg at chromium.org
Fri Jan 26 21:43:30 UTC 2018


On 19 January 2018 at 00:17, Mario Six <mario.six at gdsys.cc> wrote:
> From: Mario Six <six at gdsys.cc>
>
> To debug device tree issues involving 32- and 64-bit platforms, it is useful to
> have a generic 64-bit platform available.
>
> Add a version of the sandbox that uses 64-bit integers for its physical
> addresses as well as a modified device tree.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>
> v1 -> v2:
> * Renamed CONFIG_SANDBOX_64BIT to CONFIG_HOST_64BIT to make semantics more
>   easily understandable
> * Switched control of integer width to depend on CONFIG_PHYS_64BIT instead of
>   CONFIG_SANDBOX64
> * Extended the sandbox README with information about the 64-bit sandbox
>
> ---
>  arch/sandbox/Kconfig             |  16 +-
>  arch/sandbox/cpu/cpu.c           |   2 +-
>  arch/sandbox/dts/Makefile        |   4 +
>  arch/sandbox/dts/sandbox64.dts   | 317 +++++++++++++++++++++++++++++++++++++++
>  arch/sandbox/include/asm/io.h    |   6 +
>  arch/sandbox/include/asm/types.h |  17 ++-
>  board/sandbox/README.sandbox     |   7 +-
>  cmd/demo.c                       |   6 +-
>  configs/sandbox64_defconfig      | 200 ++++++++++++++++++++++++
>  drivers/demo/demo-simple.c       |   2 +-
>  10 files changed, 561 insertions(+), 16 deletions(-)
>  create mode 100644 arch/sandbox/dts/sandbox64.dts
>  create mode 100644 configs/sandbox64_defconfig

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list