File tree Expand file tree Collapse file tree 7 files changed +73
-5
lines changed
Expand file tree Collapse file tree 7 files changed +73
-5
lines changed Original file line number Diff line number Diff line change @@ -395,10 +395,6 @@ void plat_flush_next_bl_params(void)
395395 flush_bl_params_desc ();
396396}
397397
398- void platform_mem_init (void )
399- {
400- }
401-
402398void bl2_el3_early_platform_setup (u_register_t arg0 , u_register_t arg1 ,
403399 u_register_t arg2 , u_register_t arg3 )
404400{
Original file line number Diff line number Diff line change 88#include <asm_macros.S>
99#include <mt7622_def.h>
1010
11+ .globl platform_mem_init
1112 .globl plat_secondary_cold_boot_setup
1213 .globl plat_report_exception
1314 .globl platform_is_primary_cpu
1819 .globl read_cpuectlr
1920 .globl write_cpuectlr
2021
22+ /* --------------------------------------------------------
23+ * void platform_mem_init (void);
24+ *
25+ * Any memory init, relocation to be done before the
26+ * platform boots. Called very early in the boot process.
27+ * --------------------------------------------------------
28+ */
29+ func platform_mem_init
30+ ret
31+ endfunc platform_mem_init
32+
2133 /* -----------------------------------------------------
2234 * void plat_secondary_cold_boot_setup (void);
2335 *
Original file line number Diff line number Diff line change 1010#include <mt7629_def.h>
1111#include <pll.h>
1212
13+ .globl platform_mem_init
1314 .globl plat_secondary_cold_boot_setup
1415 .globl plat_report_exception
1516 .globl plat_is_my_cpu_primary
1920 .globl plat_crash_console_flush
2021 .globl plat_reset_handler
2122
23+ /* --------------------------------------------------------
24+ * void platform_mem_init (void);
25+ *
26+ * Any memory init, relocation to be done before the
27+ * platform boots. Called very early in the boot process.
28+ * --------------------------------------------------------
29+ */
30+ func platform_mem_init
31+ bx lr
32+ endfunc platform_mem_init
33+
2234 /* -----------------------------------------------------
2335 * void plat_secondary_cold_boot_setup (void);
2436 *
@@ -118,4 +130,4 @@ endfunc plat_crash_console_putc
118130func plat_crash_console_flush
119131 mov_imm r0, UART_BASE
120132 b console_hsuart_core_flush
121- endfunc plat_crash_console_flush
133+ endfunc plat_crash_console_flush
Original file line number Diff line number Diff line change 88#include <asm_macros.S>
99#include <mt7981_def.h>
1010
11+ .globl platform_mem_init
1112 .globl plat_secondary_cold_boot_setup
1213 .globl plat_report_exception
1314 .globl platform_is_primary_cpu
1819 .globl read_cpuectlr
1920 .globl write_cpuectlr
2021
22+ /* --------------------------------------------------------
23+ * void platform_mem_init (void);
24+ *
25+ * Any memory init, relocation to be done before the
26+ * platform boots. Called very early in the boot process.
27+ * --------------------------------------------------------
28+ */
29+ func platform_mem_init
30+ ret
31+ endfunc platform_mem_init
32+
2133 /* -----------------------------------------------------
2234 * void plat_secondary_cold_boot_setup (void);
2335 *
Original file line number Diff line number Diff line change 88#include <asm_macros.S>
99#include <mt7986_def.h>
1010
11+ .globl platform_mem_init
1112 .globl plat_secondary_cold_boot_setup
1213 .globl plat_report_exception
1314 .globl platform_is_primary_cpu
1819 .globl read_cpuectlr
1920 .globl write_cpuectlr
2021
22+ /* --------------------------------------------------------
23+ * void platform_mem_init (void);
24+ *
25+ * Any memory init, relocation to be done before the
26+ * platform boots. Called very early in the boot process.
27+ * --------------------------------------------------------
28+ */
29+ func platform_mem_init
30+ ret
31+ endfunc platform_mem_init
32+
2133 /* -----------------------------------------------------
2234 * void plat_secondary_cold_boot_setup (void);
2335 *
Original file line number Diff line number Diff line change 88#include <asm_macros.S>
99#include <mt7987_def.h>
1010
11+ .globl platform_mem_init
1112 .globl plat_secondary_cold_boot_setup
1213 .globl plat_report_exception
1314 .globl platform_is_primary_cpu
1819 .globl read_cpuectlr
1920 .globl write_cpuectlr
2021
22+ /* --------------------------------------------------------
23+ * void platform_mem_init (void);
24+ *
25+ * Any memory init, relocation to be done before the
26+ * platform boots. Called very early in the boot process.
27+ * --------------------------------------------------------
28+ */
29+ func platform_mem_init
30+ ret
31+ endfunc platform_mem_init
32+
2133 /* -----------------------------------------------------
2234 * void plat_secondary_cold_boot_setup (void);
2335 *
Original file line number Diff line number Diff line change 88#include <asm_macros.S>
99#include <mt7988_def.h>
1010
11+ .globl platform_mem_init
1112 .globl plat_secondary_cold_boot_setup
1213 .globl plat_report_exception
1314 .globl platform_is_primary_cpu
1819 .globl read_cpuectlr
1920 .globl write_cpuectlr
2021
22+ /* --------------------------------------------------------
23+ * void platform_mem_init (void);
24+ *
25+ * Any memory init, relocation to be done before the
26+ * platform boots. Called very early in the boot process.
27+ * --------------------------------------------------------
28+ */
29+ func platform_mem_init
30+ ret
31+ endfunc platform_mem_init
32+
2133 /* -----------------------------------------------------
2234 * void plat_secondary_cold_boot_setup (void);
2335 *
You can’t perform that action at this time.
0 commit comments