Home
last modified time | relevance | path

Searched refs:memreg (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/arch/powerpc/boot/
Ddevtree.c22 u32 memreg[4]; in dt_fixup_memory() local
41 memreg[i++] = cpu_to_be32(start >> 32); in dt_fixup_memory()
42 memreg[i++] = cpu_to_be32(start & 0xffffffff); in dt_fixup_memory()
44 memreg[i++] = cpu_to_be32(size >> 32); in dt_fixup_memory()
45 memreg[i++] = cpu_to_be32(size & 0xffffffff); in dt_fixup_memory()
53 printf("Memory <- <0x%x", be32_to_cpu(memreg[0])); in dt_fixup_memory()
55 printf(" 0x%x", be32_to_cpu(memreg[i])); in dt_fixup_memory()
58 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory()