Skip to contentSkip to conversation

Remove support for booting ARTOS images

PATCH New Kumar Gala 2 participants 2 messages Sep 8, 2008 – Sep 9, 2008

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH v2 1/1 Remove support for booting ARTOS images

Pantelis Antoniou stated:
AFAIK, it is still used but the products using PPC are long gone. Nuke it plz (from orbit).

So remove it since it cleans up a usage of env_get_char outside of the environment code.

---
 README                                |    4 +-
 common/cmd_bootm.c                    |   99 ---------------------------------
 common/image.c                        |    3 -
 doc/uImage.FIT/source_file_format.txt |    2 +-
 include/configs/NETPHONE.h            |    2 -
 include/configs/NETTA.h               |    2 -
 include/configs/NETTA2.h              |    2 -
 include/configs/NETVIA.h              |    2 -
 8 files changed, 3 insertions(+), 113 deletions(-)
README +2 -2
index 37449d1..d138c43 100644
@@ -3030,8 +3030,8 @@ details; basically, the header defines the following image properties:
 
 * Target Operating System (Provisions for OpenBSD, NetBSD, FreeBSD,
   4.4BSD, Linux, SVR4, Esix, Solaris, Irix, SCO, Dell, NCR, VxWorks,
-  LynxOS, pSOS, QNX, RTEMS, ARTOS;
-  Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, ARTOS, LynxOS).
+  LynxOS, pSOS, QNX, RTEMS;
+  Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, LynxOS).
 * Target CPU Architecture (Provisions for Alpha, ARM, AVR32, Intel x86,
   IA64, MIPS, NIOS, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit;
   Currently supported: ARM, AVR32, Intel x86, MIPS, NIOS, PowerPC).
common/cmd_bootm.c +0 -99

114 lines not on this page · raw message

common/image.c +0 -3
index 94f01ad..78efe2e 100644
@@ -105,9 +105,6 @@ static table_entry_t uimage_arch[] = {
 
 static table_entry_t uimage_os[] = {
 	{	IH_OS_INVALID,	NULL,		"Invalid OS",		},
-#if defined(CONFIG_ARTOS) || defined(USE_HOSTCC)
-	{	IH_OS_ARTOS,	"artos",	"ARTOS",		},
-#endif
 	{	IH_OS_LINUX,	"linux",	"Linux",		},
 #if defined(CONFIG_LYNXKDI) || defined(USE_HOSTCC)
 	{	IH_OS_LYNXOS,	"lynxos",	"LynxOS",		},
doc/uImage.FIT/source_file_format.txt +1 -1
index c1244fb..1e30d22 100644
@@ -169,7 +169,7 @@ the '/images' node should have the following layout:
   - os : OS name, mandatory for type="kernel", valid OS names are: "openbsd",
     "netbsd", "freebsd", "4_4bsd", "linux", "svr4", "esix", "solaris", "irix",
     "sco", "dell", "ncr", "lynxos", "vxworks", "psos", "qnx", "u_boot",
-    "rtems", "artos", "unity".
+    "rtems", "unity".
   - arch : Architecture name, mandatory for types: "standalone", "kernel",
     "firmware", "ramdisk" and "fdt". Valid architecture names are: "alpha",
     "arm", "i386", "ia64", "mips", "mips64", "ppc", "s390", "sh", "sparc",
include/configs/NETPHONE.h +0 -2
index 6c18b81..1494190 100644
@@ -487,8 +487,6 @@
 #define	BOOTFLAG_COLD	0x01		/* Normal Power-On: Boot from FLASH	*/
 #define BOOTFLAG_WARM	0x02		/* Software reboot			*/
 
-#define CONFIG_ARTOS			/* include ARTOS support */
-
 #define CONFIG_LAST_STAGE_INIT		/* needed to reset the damn phys */
 
 /****************************************************************/
include/configs/NETTA.h +0 -2
index 1f1bc54..6480634 100644
@@ -496,8 +496,6 @@
 #define	BOOTFLAG_COLD	0x01		/* Normal Power-On: Boot from FLASH	*/
 #define BOOTFLAG_WARM	0x02		/* Software reboot			*/
 
-#define CONFIG_ARTOS			/* include ARTOS support */
-
 #define CONFIG_LAST_STAGE_INIT		/* needed to reset the damn phys */
 
 /***********************************************************************************************************
include/configs/NETTA2.h +0 -2
index 9a1f1d6..b7990e0 100644
@@ -488,8 +488,6 @@
 #define	BOOTFLAG_COLD	0x01		/* Normal Power-On: Boot from FLASH	*/
 #define BOOTFLAG_WARM	0x02		/* Software reboot			*/
 
-#define CONFIG_ARTOS			/* include ARTOS support */
-
 #define CONFIG_LAST_STAGE_INIT		/* needed to reset the damn phys */
 
 /****************************************************************/
include/configs/NETVIA.h +0 -2
index c029594..40e09fb 100644
@@ -357,8 +357,6 @@
 /* Ethernet at SCC2 */
 #define CONFIG_SCC2_ENET
 
-#define CONFIG_ARTOS			/* include ARTOS support */
-
 /****************************************************************/
 
 #define DSP_SIZE	0x00010000	/* 64K */
Signature · 1 line
1.5.5.1
#1 lore raw

PATCH v2 1/1 Remove support for booting ARTOS images

Dear Kumar Gala,

Quoted 8 lines · In message <[email protected]> you…

Pantelis Antoniou stated:
AFAIK, it is still used but the products using PPC are long gone. Nuke it plz (from orbit).

So remove it since it cleans up a usage of env_get_char outside of the environment code.

Quoted 10 lines
---
 README                                |    4 +-
 common/cmd_bootm.c                    |   99 ---------------------------------
 common/image.c                        |    3 -
 doc/uImage.FIT/source_file_format.txt |    2 +-
 include/configs/NETPHONE.h            |    2 -
 include/configs/NETTA.h               |    2 -
 include/configs/NETTA2.h              |    2 -
 include/configs/NETVIA.h              |    2 -
 8 files changed, 3 insertions(+), 113 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
HEALTH WARNING: Care Should Be Taken When Lifting This Product, Since
Its Mass, and Thus Its Weight, Is Dependent on Its Velocity  Relative
to the User.