We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14e5ae7 commit f3a6085Copy full SHA for f3a6085
sm/plat/fpga/ariane/platform.c
@@ -73,12 +73,11 @@ static int ariane_early_init(bool cold_boot)
73
*/
74
static int ariane_final_init(bool cold_boot)
75
{
76
- void *fdt;
77
- sm_init(cold_boot);
+ void *fdt = fdt_get_address();
+ sm_init(cold_boot, fdt);
78
if (!cold_boot)
79
return 0;
80
81
- fdt = fdt_get_address();
82
fdt_fixups(fdt);
83
84
sm/plat/hifive/unmatched/unmatched.c
@@ -2,7 +2,7 @@
2
#include "sm.h"
3
4
static int unmatched_final_init(bool cold_boot, const struct fdt_match *match) {
5
+ sm_init(cold_boot, fdt_get_address());
6
return sifive_fu740_final_init(cold_boot, match);
7
}
8
0 commit comments