diff options
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r-- | firmware/rolo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index f9b0cc9e61..0990b2732f 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -250,9 +250,8 @@ int rolo_load(const char* filename) | |||
250 | 250 | ||
251 | err = LOAD_FIRMWARE(filebuf, filename, filebuf_size); | 251 | err = LOAD_FIRMWARE(filebuf, filename, filebuf_size); |
252 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) | 252 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) |
253 | /* write the bootdata as if rolo were the bootloader | 253 | // Write bootdata as long as the existing bootdata is valid |
254 | * FIXME: this won't work for root redirect... */ | 254 | if (boot_data_valid) |
255 | if (!strcmp(filename, BOOTDIR "/" BOOTFILE) && boot_data_valid) | ||
256 | { | 255 | { |
257 | int volume = 0; | 256 | int volume = 0; |
258 | 257 | ||