mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Oleksij Rempel <linux@rempel-privat.de>
Cc: barebox@lists.infradead.org,
	Michael Olbrich <m.olbrich@pengutronix.de>,
	Oleksij Rempel <o.rempel@pengutronix.de>
Subject: Re: [PATCH] efi: make sure efi-fs is started in the right order
Date: Fri, 8 Sep 2017 08:20:02 +0200	[thread overview]
Message-ID: <20170908062002.xfrpyyxjplzps2uz@pengutronix.de> (raw)
In-Reply-To: <20170906124008.26582-1-linux@rempel-privat.de>

On Wed, Sep 06, 2017 at 02:40:08PM +0200, Oleksij Rempel wrote:
> From: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> with this parch, EFI System partition will be mounted to /boot
> instead of /mnt/diskXX.
> 
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  fs/efi.c                 | 2 +-
>  include/efi/efi-device.h | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/fs/efi.c b/fs/efi.c
> index 85ff91429..692556b26 100644
> --- a/fs/efi.c
> +++ b/fs/efi.c
> @@ -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);
> diff --git a/include/efi/efi-device.h b/include/efi/efi-device.h
> index 8f5f1f3f1..15c293bb1 100644
> --- a/include/efi/efi-device.h
> +++ b/include/efi/efi-device.h
> @@ -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;
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2017-09-08  6:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06 12:40 Oleksij Rempel
2017-09-08  6:20 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170908062002.xfrpyyxjplzps2uz@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=linux@rempel-privat.de \
    --cc=m.olbrich@pengutronix.de \
    --cc=o.rempel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox