Skip to contentSkip to conversation

Drop bogus BOOTFLAG_* definitions

PATCH New Wolfgang Denk 2 participants 3 messages Sep 20, 2011 – Sep 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drop bogus BOOTFLAG_* definitions

There is no code anywhere that references BOOTFLAG_* so remove these defines.

Cc Heiko Schocher <[email protected]>
Cc Valentin Longchamp <[email protected]>
Cc Peter Tyser <[email protected]>
---
 include/configs/km/km83xx-common.h |    5 -----
 include/configs/xpedite550x.h      |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)
include/configs/km/km83xx-common.h +0 -5
index 2b1a84a..4a357d6 100644
@@ -284,12 +284,7 @@
 
 /*
  * Internal Definitions
- *
- * Boot Flags
  */
-#define BOOTFLAG_COLD	0x01 /* Normal Power-On: Boot from FLASH */
-#define BOOTFLAG_WARM	0x02 /* Software reboot */
-
 #define BOOTFLASH_START	0xF0000000
 
 #define CONFIG_KM_CONSOLE_TTY	"ttyS0"
include/configs/xpedite550x.h +0 -6
index 17aab5a..6588867 100644
@@ -442,12 +442,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_BOOTM_LEN	(16 << 20)	/* Increase max gunzip size */
 
 /*
- * Boot Flags
- */
-#define BOOTFLAG_COLD		0x01		/* Normal Power-On: Boot from FLASH */
-#define BOOTFLAG_WARM		0x02		/* Software reboot */
-
-/*
  * Environment Configuration
  */
 #define CONFIG_ENV_IS_IN_FLASH	1
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/1 Drop bogus BOOTFLAG_* definitions

Hello Wolfgang,

Quoted 11 lines · Wolfgang Denk

There is no code anywhere that references BOOTFLAG_* so remove these defines.

Cc Heiko Schocher <[email protected]>
Cc Valentin Longchamp <[email protected]>
Cc Peter Tyser <[email protected]>
---
 include/configs/km/km83xx-common.h |    5 -----
 include/configs/xpedite550x.h      |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)

Thanks for detecting this!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
author Applied
#2 lore raw

PATCH 1/1 Drop bogus BOOTFLAG_* definitions

In reply to Wolfgang Denk

Dear Wolfgang Denk,

Quoted 11 lines · In message <[email protected]> you wrote:

There is no code anywhere that references BOOTFLAG_* so remove these defines.

Cc Heiko Schocher <[email protected]>
Cc Valentin Longchamp <[email protected]>
Cc Peter Tyser <[email protected]>
---
 include/configs/km/km83xx-common.h |    5 -----
 include/configs/xpedite550x.h      |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 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
Anyone who isn't confused here doesn't really know what's going on.