* [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function
2011-10-27 11:29 [U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h Fabio Estevam
@ 2011-10-27 11:29 ` Fabio Estevam
2011-10-31 3:20 ` Jason Liu
2011-10-31 11:15 ` Stefano Babic
2011-10-27 11:29 ` [U-Boot] [PATCH 3/6] mx53ard: " Fabio Estevam
` (3 subsequent siblings)
4 siblings, 2 replies; 13+ messages in thread
From: Fabio Estevam @ 2011-10-27 11:29 UTC (permalink / raw)
To: u-boot
No board information is passed for MX53EVK, so remove get_board_rev function.
Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx53evk/mx53evk.c | 5 -----
include/configs/mx53evk.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c
index eab9c5f..335661f 100644
--- a/board/freescale/mx53evk/mx53evk.c
+++ b/board/freescale/mx53evk/mx53evk.c
@@ -39,11 +39,6 @@
DECLARE_GLOBAL_DATA_PTR;
-u32 get_board_rev(void)
-{
- return get_cpu_rev();
-}
-
int dram_init(void)
{
/* dram_init must store complete ramsize in gd->ram_size */
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index a5d403f..f9fc149 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -34,7 +34,6 @@
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
--
1.7.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function Fabio Estevam
@ 2011-10-31 3:20 ` Jason Liu
2011-10-31 11:15 ` Stefano Babic
1 sibling, 0 replies; 13+ messages in thread
From: Jason Liu @ 2011-10-31 3:20 UTC (permalink / raw)
To: u-boot
2011/10/27 Fabio Estevam <fabio.estevam@freescale.com>:
> No board information is passed for MX53EVK, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> ?board/freescale/mx53evk/mx53evk.c | ? ?5 -----
> ?include/configs/mx53evk.h ? ? ? ? | ? ?1 -
> ?2 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c
> index eab9c5f..335661f 100644
> --- a/board/freescale/mx53evk/mx53evk.c
> +++ b/board/freescale/mx53evk/mx53evk.c
> @@ -39,11 +39,6 @@
>
> ?DECLARE_GLOBAL_DATA_PTR;
>
> -u32 get_board_rev(void)
> -{
> - ? ? ? return get_cpu_rev();
> -}
> -
> ?int dram_init(void)
> ?{
> ? ? ? ?/* dram_init must store complete ramsize in gd->ram_size */
> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
> index a5d403f..f9fc149 100644
> --- a/include/configs/mx53evk.h
> +++ b/include/configs/mx53evk.h
> @@ -34,7 +34,6 @@
> ?#include <asm/arch/imx-regs.h>
>
> ?#define CONFIG_CMDLINE_TAG ? ? ? ? ? ? ? ? ? ? /* enable passing of ATAGs */
> -#define CONFIG_REVISION_TAG
> ?#define CONFIG_SETUP_MEMORY_TAGS
> ?#define CONFIG_INITRD_TAG
>
Acked-by: Jason Liu <r64343@freescale.com>
> --
> 1.7.1
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function Fabio Estevam
2011-10-31 3:20 ` Jason Liu
@ 2011-10-31 11:15 ` Stefano Babic
1 sibling, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-10-31 11:15 UTC (permalink / raw)
To: u-boot
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for MX53EVK, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/freescale/mx53evk/mx53evk.c | 5 -----
> include/configs/mx53evk.h | 1 -
> 2 files changed, 0 insertions(+), 6 deletions(-)
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 3/6] mx53ard: Remove unused get_board_rev function
2011-10-27 11:29 [U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h Fabio Estevam
2011-10-27 11:29 ` [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function Fabio Estevam
@ 2011-10-27 11:29 ` Fabio Estevam
2011-10-31 11:16 ` Stefano Babic
2011-10-27 11:29 ` [U-Boot] [PATCH 4/6] mx53smd: " Fabio Estevam
` (2 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Fabio Estevam @ 2011-10-27 11:29 UTC (permalink / raw)
To: u-boot
No board information is passed for MX53ARD, so remove get_board_rev function.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx53ard/mx53ard.c | 5 -----
include/configs/mx53ard.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c
index c89da13..be32aee 100644
--- a/board/freescale/mx53ard/mx53ard.c
+++ b/board/freescale/mx53ard/mx53ard.c
@@ -37,11 +37,6 @@
DECLARE_GLOBAL_DATA_PTR;
-u32 get_board_rev(void)
-{
- return get_cpu_rev();
-}
-
int dram_init(void)
{
u32 size1, size2;
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index daba05f..15dfcb4 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -34,7 +34,6 @@
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
--
1.7.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 3/6] mx53ard: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 3/6] mx53ard: " Fabio Estevam
@ 2011-10-31 11:16 ` Stefano Babic
0 siblings, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-10-31 11:16 UTC (permalink / raw)
To: u-boot
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for MX53ARD, so remove get_board_rev function.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/freescale/mx53ard/mx53ard.c | 5 -----
> include/configs/mx53ard.h | 1 -
> 2 files changed, 0 insertions(+), 6 deletions(-)
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 4/6] mx53smd: Remove unused get_board_rev function
2011-10-27 11:29 [U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h Fabio Estevam
2011-10-27 11:29 ` [U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function Fabio Estevam
2011-10-27 11:29 ` [U-Boot] [PATCH 3/6] mx53ard: " Fabio Estevam
@ 2011-10-27 11:29 ` Fabio Estevam
2011-10-31 11:16 ` Stefano Babic
2011-10-27 11:29 ` [U-Boot] [PATCH 5/6] mx53loco: " Fabio Estevam
2011-10-27 11:29 ` [U-Boot] [PATCH 6/6] vision2: " Fabio Estevam
4 siblings, 1 reply; 13+ messages in thread
From: Fabio Estevam @ 2011-10-27 11:29 UTC (permalink / raw)
To: u-boot
No board information is passed for MX53SMD, so remove get_board_rev function.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx53smd/mx53smd.c | 5 -----
include/configs/mx53smd.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c
index 776784f..87fa7fa 100644
--- a/board/freescale/mx53smd/mx53smd.c
+++ b/board/freescale/mx53smd/mx53smd.c
@@ -35,11 +35,6 @@
DECLARE_GLOBAL_DATA_PTR;
-u32 get_board_rev(void)
-{
- return get_cpu_rev();
-}
-
int dram_init(void)
{
u32 size1, size2;
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index cc68749..48b32dd 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -34,7 +34,6 @@
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
--
1.7.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 4/6] mx53smd: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 4/6] mx53smd: " Fabio Estevam
@ 2011-10-31 11:16 ` Stefano Babic
0 siblings, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-10-31 11:16 UTC (permalink / raw)
To: u-boot
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for MX53SMD, so remove get_board_rev function.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/freescale/mx53smd/mx53smd.c | 5 -----
> include/configs/mx53smd.h | 1 -
> 2 files changed, 0 insertions(+), 6 deletions(-)
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 5/6] mx53loco: Remove unused get_board_rev function
2011-10-27 11:29 [U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h Fabio Estevam
` (2 preceding siblings ...)
2011-10-27 11:29 ` [U-Boot] [PATCH 4/6] mx53smd: " Fabio Estevam
@ 2011-10-27 11:29 ` Fabio Estevam
2011-10-31 3:20 ` Jason Liu
2011-10-31 11:03 ` Stefano Babic
2011-10-27 11:29 ` [U-Boot] [PATCH 6/6] vision2: " Fabio Estevam
4 siblings, 2 replies; 13+ messages in thread
From: Fabio Estevam @ 2011-10-27 11:29 UTC (permalink / raw)
To: u-boot
No board information is passed for MX53LOCO, so remove get_board_rev function.
Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx53loco/mx53loco.c | 5 -----
include/configs/mx53loco.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index 156f8b5..b4c7f33 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -38,11 +38,6 @@
DECLARE_GLOBAL_DATA_PTR;
-u32 get_board_rev(void)
-{
- return get_cpu_rev();
-}
-
int dram_init(void)
{
u32 size1, size2;
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index f35bac1..d699010 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -35,7 +35,6 @@
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
--
1.7.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 5/6] mx53loco: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 5/6] mx53loco: " Fabio Estevam
@ 2011-10-31 3:20 ` Jason Liu
2011-10-31 11:03 ` Stefano Babic
1 sibling, 0 replies; 13+ messages in thread
From: Jason Liu @ 2011-10-31 3:20 UTC (permalink / raw)
To: u-boot
2011/10/27 Fabio Estevam <fabio.estevam@freescale.com>:
> No board information is passed for MX53LOCO, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> ?board/freescale/mx53loco/mx53loco.c | ? ?5 -----
> ?include/configs/mx53loco.h ? ? ? ? ?| ? ?1 -
> ?2 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
> index 156f8b5..b4c7f33 100644
> --- a/board/freescale/mx53loco/mx53loco.c
> +++ b/board/freescale/mx53loco/mx53loco.c
> @@ -38,11 +38,6 @@
>
> ?DECLARE_GLOBAL_DATA_PTR;
>
> -u32 get_board_rev(void)
> -{
> - ? ? ? return get_cpu_rev();
> -}
> -
> ?int dram_init(void)
> ?{
> ? ? ? ?u32 size1, size2;
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index f35bac1..d699010 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -35,7 +35,6 @@
> ?#include <asm/arch/imx-regs.h>
>
> ?#define CONFIG_CMDLINE_TAG
> -#define CONFIG_REVISION_TAG
> ?#define CONFIG_SETUP_MEMORY_TAGS
> ?#define CONFIG_INITRD_TAG
Acked-by: Jason Liu <r64343@freescale.com>
BR,
Jason
>
> --
> 1.7.1
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 5/6] mx53loco: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 5/6] mx53loco: " Fabio Estevam
2011-10-31 3:20 ` Jason Liu
@ 2011-10-31 11:03 ` Stefano Babic
1 sibling, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-10-31 11:03 UTC (permalink / raw)
To: u-boot
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for MX53LOCO, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/freescale/mx53loco/mx53loco.c | 5 -----
> include/configs/mx53loco.h | 1 -
> 2 files changed, 0 insertions(+), 6 deletions(-)
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 6/6] vision2: Remove unused get_board_rev function
2011-10-27 11:29 [U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h Fabio Estevam
` (3 preceding siblings ...)
2011-10-27 11:29 ` [U-Boot] [PATCH 5/6] mx53loco: " Fabio Estevam
@ 2011-10-27 11:29 ` Fabio Estevam
2011-10-31 11:14 ` Stefano Babic
4 siblings, 1 reply; 13+ messages in thread
From: Fabio Estevam @ 2011-10-27 11:29 UTC (permalink / raw)
To: u-boot
No board information is passed for VISION2, so remove get_board_rev function.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/ttcontrol/vision2/vision2.c | 9 ---------
include/configs/vision2.h | 1 -
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index d3815b2..b40a970 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -44,8 +44,6 @@
DECLARE_GLOBAL_DATA_PTR;
-static u32 system_rev;
-
static struct fb_videomode nec_nl6448bc26_09c = {
"NEC_NL6448BC26-09C",
60, /* Refresh */
@@ -151,13 +149,6 @@ static void init_drive_strength(void)
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST);
}
-u32 get_board_rev(void)
-{
- system_rev = get_cpu_rev();
-
- return system_rev;
-}
-
int dram_init(void)
{
gd->ram_size = get_ram_size((long *)PHYS_SDRAM_1,
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 5a4cd66..9081cce 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -36,7 +36,6 @@
#define CONFIG_DISPLAY_BOARDINFO
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define BOARD_LATE_INIT
--
1.7.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 6/6] vision2: Remove unused get_board_rev function
2011-10-27 11:29 ` [U-Boot] [PATCH 6/6] vision2: " Fabio Estevam
@ 2011-10-31 11:14 ` Stefano Babic
0 siblings, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-10-31 11:14 UTC (permalink / raw)
To: u-boot
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for VISION2, so remove get_board_rev function.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/ttcontrol/vision2/vision2.c | 9 ---------
> include/configs/vision2.h | 1 -
> 2 files changed, 0 insertions(+), 10 deletions(-)
>
After rebasing on current u-boot-imx
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread