File tree 2 files changed +3
-3
lines changed
elfloader-tool/src/arch-arm 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void non_boot_main(void)
40
40
}
41
41
42
42
/* Do any driver specific non_boot core init */
43
- if (initialise_devices_non_boot ()) {
43
+ if (0 != initialise_devices_non_boot ()) {
44
44
printf ("ERROR: Did not successfully return from initialise_devices_non_boot()\n" );
45
45
abort ();
46
46
}
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void main(UNUSED void *arg)
104
104
void * bootloader_dtb = NULL ;
105
105
106
106
/* initialize platform to a state where we can print to a UART */
107
- if (initialise_devices ()) {
107
+ if (0 != initialise_devices ()) {
108
108
printf ("ERROR: Did not successfully return from initialise_devices()\n" );
109
109
abort ();
110
110
}
@@ -179,7 +179,7 @@ void continue_boot(int was_relocated)
179
179
* driver model so all its pointers are set up properly.
180
180
*/
181
181
if (was_relocated ) {
182
- if (initialise_devices ()) {
182
+ if (0 != initialise_devices ()) {
183
183
printf ("ERROR: Did not successfully return from initialise_devices()\n" );
184
184
abort ();
185
185
}
You can’t perform that action at this time.
0 commit comments