diff mbox

[U-Boot] Drop bogus BOOTFLAG_* definitions

Message ID 1316517606-29033-1-git-send-email-wd@denx.de
State Accepted
Commit fc3d29761eb9a76fc860742bdd2ed0a001c5e537
Headers show

Commit Message

Wolfgang Denk Sept. 20, 2011, 11:20 a.m. UTC
There is no code anywhere that references BOOTFLAG_* so remove these
defines.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
---
 include/configs/km/km83xx-common.h |    5 -----
 include/configs/xpedite550x.h      |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)

Comments

Heiko Schocher Sept. 20, 2011, 12:23 p.m. UTC | #1
Hello Wolfgang,

Wolfgang Denk wrote:
> There is no code anywhere that references BOOTFLAG_* so remove these
> defines.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
> Cc: Peter Tyser <ptyser@xes-inc.com>
> ---
>  include/configs/km/km83xx-common.h |    5 -----
>  include/configs/xpedite550x.h      |    6 ------
>  2 files changed, 0 insertions(+), 11 deletions(-)

Acked-by: Heiko Schocher <hs@denx.de>

Thanks for detecting this!

bye,
Heiko
Wolfgang Denk Sept. 21, 2011, 9:32 p.m. UTC | #2
Dear Wolfgang Denk,

In message <1316517606-29033-1-git-send-email-wd@denx.de> you wrote:
> There is no code anywhere that references BOOTFLAG_* so remove these
> defines.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
> Cc: Peter Tyser <ptyser@xes-inc.com>
> ---
>  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
diff mbox

Patch

diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h
index 2b1a84a..4a357d6 100644
--- a/include/configs/km/km83xx-common.h
+++ b/include/configs/km/km83xx-common.h
@@ -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"
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 17aab5a..6588867 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -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