[U-Boot] [PATCH 5/7] disk: Allow alternate EFI partition signature

Tom Rini
2012-10-17T23:36:27Z

On Fri, Oct 12, 2012 at 05:26:10PM -0700, Simon Glass wrote:
> From: Stefan Reinauer <reinauer@chromium.org>
>
> ChromeOS uses a GPT partition table to partition the disk.
> However, Windows will refuse to install on a GPT partitioned
> disk if there is no EFI available (Even if there is an MBR, too)
> To hide the GPT partition table from Windows, we need to write
> it with a header magic other than "EFI PART". To support old
> and new systems, Check for the magic string "CHROMEOS" too.
>
> Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Stephen brings up a good point in that this is a ChromeOS specific
work-around for a real issue. With my TI hat on, we've been pushing
the idea that our releases will be mainline + patches, and those patches
will be things that are either backports, works in progress or simply
not mainlineable patches (enforce a CONFIG_BOOTDELAY of 3 for all
boards, add mojo to just load uImages to their XIP address, etc). In my
mind, this patch falls into the last grouping and I hope you're OK with
just holding onto this as a not appropriate for mainline change.

The rest of the series looks fine and no need to respin, I'll just skip
this patch when I pick it up, assuming no further changes are needed
elsewhere.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121017/ac6d2dd2/attachment.pgp>