summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEmanuele Ghidoli <[email protected]>2025-05-20 11:09:17 +0200
committerTom Rini <[email protected]>2025-06-03 17:18:03 -0600
commit422222f5170ac399f0e5fd39290f8508ad777fcc (patch)
tree9bf3fdccde9f2fb89e02e391b8438160795d1d9f /arch
parentb8c43968b801c568b66b1d2985e8542275d9d49a (diff)
linux/sizes.h: sync from kernel
The kernel added new size definitions and substituted the boilerplate/reference to the license with a SPDX identifier. Drop a local SZ_8G definition in MediaTek MT7988 SoC board file. Signed-off-by: Emanuele Ghidoli <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Weijie Gao <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mediatek/mt7988/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mediatek/mt7988/init.c b/arch/arm/mach-mediatek/mt7988/init.c
index 2efc8c6a88f..8bdd3848d26 100644
--- a/arch/arm/mach-mediatek/mt7988/init.c
+++ b/arch/arm/mach-mediatek/mt7988/init.c
@@ -6,14 +6,13 @@
#include <fdtdec.h>
#include <init.h>
+#include <linux/sizes.h>
#include <asm/armv8/mmu.h>
#include <asm/global_data.h>
#include <asm/system.h>
DECLARE_GLOBAL_DATA_PTR;
-#define SZ_8G _AC(0x200000000, ULL)
-
int dram_init(void)
{
int ret;