Blob Blame History Raw
From 8f779ade959a72267dcc045ad71012bf37cb96e0 Mon Sep 17 00:00:00 2001
From: Benoit Gschwind <gschwind>
Date: Mon, 10 Sep 2012 09:34:29 +0200
Subject: [PATCH 034/482] 	* grub-core/loader/efi/appleloader.c
 (devpath_8): New var. 	(devs): Add devpath_8.

---
 ChangeLog                          | 5 +++++
 grub-core/loader/efi/appleloader.c | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e8f0577..6886bcc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-10  Benoit Gschwind <gschwind>
+
+	* grub-core/loader/efi/appleloader.c (devpath_8): New var.
+	(devs): Add devpath_8.
+
 2012-09-08  Peter Jones <pjones@redhat.com>
 
 	* grub-core/Makefile.core.def (efifwsetup): New module.
diff --git a/grub-core/loader/efi/appleloader.c b/grub-core/loader/efi/appleloader.c
index e2de89f..56d5538 100644
--- a/grub-core/loader/efi/appleloader.c
+++ b/grub-core/loader/efi/appleloader.c
@@ -127,6 +127,10 @@ static struct piwg_full_device_path devpath_6 = MAKE_PIWG_PATH (0xffcc4000,
 static struct piwg_full_device_path devpath_7 = MAKE_PIWG_PATH (0xff981000,
 								0xffc8ffff);
 
+/* mid-2012 MBP retina (MacBookPro10,1) */ 
+static struct piwg_full_device_path devpath_8 = MAKE_PIWG_PATH (0xff990000,
+								0xffb2ffff);
+
 struct devdata
 {
   const char *model;
@@ -142,6 +146,7 @@ struct devdata devs[] =
   {"MB NV", (grub_efi_device_path_t *) &devpath_5},
   {"MB NV2", (grub_efi_device_path_t *) &devpath_6},
   {"MBP2011", (grub_efi_device_path_t *) &devpath_7},
+  {"MBP2012", (grub_efi_device_path_t *) &devpath_8},
   {NULL, NULL},
 };
 
-- 
1.8.2.1