forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/arch/sh/kernel/head_32.S
....@@ -64,7 +64,7 @@
6464 ldc r0, r6_bank
6565 #endif
6666
67
-#ifdef CONFIG_OF_FLATTREE
67
+#ifdef CONFIG_OF_EARLY_FLATTREE
6868 mov r4, r12 ! Store device tree blob pointer in r12
6969 #endif
7070
....@@ -315,7 +315,7 @@
315315 10:
316316 #endif
317317
318
-#ifdef CONFIG_OF_FLATTREE
318
+#ifdef CONFIG_OF_EARLY_FLATTREE
319319 mov.l 8f, r0 ! Make flat device tree available early.
320320 jsr @r0
321321 mov r12, r4
....@@ -346,7 +346,7 @@
346346 5: .long start_kernel
347347 6: .long cpu_init
348348 7: .long init_thread_union
349
-#if defined(CONFIG_OF_FLATTREE)
349
+#if defined(CONFIG_OF_EARLY_FLATTREE)
350350 8: .long sh_fdt_init
351351 #endif
352352