summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-03-01 16:07:24 -0500
committerTom Rini <[email protected]>2023-03-01 16:07:24 -0500
commit33fb2d130e28982b488c2a54978031835ed2aa71 (patch)
treebcbe5f62935925e7f2df5bfc2380e8d740646f44 /arch
parentb0eda49bc9b00503366f2ec431be0178caf9e9b5 (diff)
parentabe2a16aa52ea21acb435e9f1d9c85f5ac4e7794 (diff)
Merge tag 'dm-pull-29feb23' of https://source.denx.de/u-boot/custodians/u-boot-dm
minor sandbox fixes a37xx fix Add camel-case tool, since the conversion will take a while
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/include/asm/types.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index c1a5d2af828..5f4b649ee38 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
@@ -18,11 +18,7 @@ typedef unsigned short umode_t;
/*
* Number of bits in a C 'long' on this architecture.
*/
-#ifdef CONFIG_PHYS_64BIT
-#define BITS_PER_LONG 64
-#else /* CONFIG_PHYS_64BIT */
-#define BITS_PER_LONG 32
-#endif /* CONFIG_PHYS_64BIT */
+#define BITS_PER_LONG CONFIG_SANDBOX_BITS_PER_LONG
#ifdef CONFIG_PHYS_64BIT
typedef unsigned long long dma_addr_t;