Skip to contentSkip to conversation

No subject

PATCH [email protected] 1 participant 1 message Oct 11, 2012

lore
Share & tools
lore
#0 lore raw

This patch adds support for Plan 9 to image.c; primarily a cosmetic change when booting Plan 9 kernels using U-Boot.

---
 common/image.c  | 1 +
 include/image.h | 1 +
 2 files changed, 2 insertions(+)
common/image.c +1 -0
index 6afbb40..60c2127 100644
@@ -108,6 +108,7 @@ static const table_entry_t uimage_os[] = {
 #endif
  { IH_OS_NETBSD, "netbsd", "NetBSD", },
  { IH_OS_OSE, "ose", "Enea OSE", },
+ { IH_OS_PLAN9, "plan9", "Plan 9", },
  { IH_OS_RTEMS, "rtems", "RTEMS", },
  { IH_OS_U_BOOT, "u-boot", "U-Boot", },
 #if defined(CONFIG_CMD_ELF) || defined(USE_HOSTCC)
include/image.h +1 -0
index 8e285f9..4ad0e6b 100644
@@ -84,6 +84,7 @@
 #define IH_OS_UNITY 20 /* Unity OS */
 #define IH_OS_INTEGRITY 21 /* INTEGRITY */
 #define IH_OS_OSE 22 /* OSE */
+#define IH_OS_PLAN9 23 /* Plan 9 */
 
 /*
  * CPU Architecture Codes (supported by Linux)
Signature · 3 lines
1.8.2

--e89a8f92191c536a1f04d81a7088--