efi: make sure efi-fs is started in the right order
PATCH 1/1 efi: make sure efi-fs is started in the right order
From: Michael Olbrich <[email protected]>
with this parch, EFI System partition will be mounted to /boot instead of /mnt/diskXX.
Signed-off-by Michael Olbrich <[email protected]>
Signed-off-by Oleksij Rempel <[email protected]>
--- fs/efi.c | 2 +- include/efi/efi-device.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
fs/efi.c +1 -1
@@ -558,4 +558,4 @@ static struct efi_driver efi_fs_driver = { .probe = efi_fs_probe, .guid = EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID, }; -device_efi_driver (efi_fs_driver); +fs_efi_driver (efi_fs_driver);
include/efi/efi-device.h +2 -0
@@ -33,6 +33,8 @@ static inline struct efi_driver *to_efi_driver(struct driver_d *drv)#define device_efi_driver (drv) \ register_driver_macro(device, efi, drv) +#define fs_efi_driver (drv) \ + register_driver_macro(fs, efi, drv)static inline int efi_driver_register (struct efi_driver *efidrv) { efidrv->driver.bus = &efi_bus;
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 11 lines · Oleksij Rempel
From: Michael Olbrich <[email protected]>
with this parch, EFI System partition will be mounted to /boot instead of
/mnt/diskXX.Signed-off-by Michael Olbrich <[email protected]>Signed-off-by Oleksij Rempel <[email protected]>--- fs/efi.c | 2 +- include/efi/efi-device.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
Applied, thanks
Sascha
Quoted 33 lines
fs/efi.c +1
-1@@ -558,4 +558,4 @@ static struct efi_driver efi_fs_driver = { .probe = efi_fs_probe, .guid = EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID, }; -device_efi_driver (efi_fs_driver); +fs_efi_driver (efi_fs_driver);include/efi/efi-device.h +2
-0@@ -33,6 +33,8 @@ static inline struct efi_driver *to_efi_driver(struct driver_d *drv)#define device_efi_driver (drv) \ register_driver_macro(device, efi, drv) +#define fs_efi_driver (drv) \ + register_driver_macro(fs, efi, drv)static inline int efi_driver_register (struct efi_driver *efidrv) { efidrv->driver.bus = &efi_bus;Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox