Re: [PATCH] test: cpu: Handle both 32bit and 64bit CPUs

2023-08-20 Thread Simon Glass
On Sun, 13 Aug 2023 at 13:52, Marek Vasut wrote: > > Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64 > the same way drivers/cpu/cpu_sandbox.c does, that is in case > CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else > assume 32bit address width. This fixes ut_dm_dm_tes

Re: [PATCH] test: cpu: Handle both 32bit and 64bit CPUs

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 13:52, Marek Vasut wrote: > > Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64 > the same way drivers/cpu/cpu_sandbox.c does, that is in case > CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else > assume 32bit address width. This fixes ut_dm_dm_tes

[PATCH] test: cpu: Handle both 32bit and 64bit CPUs

2023-08-13 Thread Marek Vasut
Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64 the same way drivers/cpu/cpu_sandbox.c does, that is in case CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else assume 32bit address width. This fixes ut_dm_dm_test_cpu test failure on sandbox64. Signed-off-by: Marek Vasut