* [U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR
@ 2012-08-05 10:36 Marek Vasut
2012-08-05 10:39 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2012-08-05 10:36 UTC (permalink / raw)
To: u-boot
This gets us rid of duplication of the same file.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
Makefile | 2 +-
arch/arm/cpu/arm926ejs/mx28/u-boot.bd | 14 ++++++++++++++
board/bluegiga/apx4devkit/u-boot.bd | 14 --------------
board/denx/m28evk/u-boot.bd | 14 --------------
board/freescale/mx28evk/u-boot.bd | 14 --------------
5 files changed, 15 insertions(+), 43 deletions(-)
create mode 100644 arch/arm/cpu/arm926ejs/mx28/u-boot.bd
delete mode 100644 board/bluegiga/apx4devkit/u-boot.bd
delete mode 100644 board/denx/m28evk/u-boot.bd
delete mode 100644 board/freescale/mx28evk/u-boot.bd
diff --git a/Makefile b/Makefile
index eb37ea1..81b8c87 100644
--- a/Makefile
+++ b/Makefile
@@ -453,7 +453,7 @@ $(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin
rm $(obj)spl/u-boot-spl{,-pad}.ais
$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
- elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/u-boot.bd \
+ elftosb -zdf imx28 -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot.bd \
-o $(obj)u-boot.sb
# On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
diff --git a/arch/arm/cpu/arm926ejs/mx28/u-boot.bd b/arch/arm/cpu/arm926ejs/mx28/u-boot.bd
new file mode 100644
index 0000000..c60615a
--- /dev/null
+++ b/arch/arm/cpu/arm926ejs/mx28/u-boot.bd
@@ -0,0 +1,14 @@
+sources {
+ u_boot_spl="spl/u-boot-spl.bin";
+ u_boot="u-boot.bin";
+}
+
+section (0) {
+ load u_boot_spl > 0x0000;
+ load ivt (entry = 0x0014) > 0x8000;
+ hab call 0x8000;
+
+ load u_boot > 0x40000100;
+ load ivt (entry = 0x40000100) > 0x8000;
+ hab call 0x8000;
+}
diff --git a/board/bluegiga/apx4devkit/u-boot.bd b/board/bluegiga/apx4devkit/u-boot.bd
deleted file mode 100644
index c60615a..0000000
--- a/board/bluegiga/apx4devkit/u-boot.bd
+++ /dev/null
@@ -1,14 +0,0 @@
-sources {
- u_boot_spl="spl/u-boot-spl.bin";
- u_boot="u-boot.bin";
-}
-
-section (0) {
- load u_boot_spl > 0x0000;
- load ivt (entry = 0x0014) > 0x8000;
- hab call 0x8000;
-
- load u_boot > 0x40000100;
- load ivt (entry = 0x40000100) > 0x8000;
- hab call 0x8000;
-}
diff --git a/board/denx/m28evk/u-boot.bd b/board/denx/m28evk/u-boot.bd
deleted file mode 100644
index c60615a..0000000
--- a/board/denx/m28evk/u-boot.bd
+++ /dev/null
@@ -1,14 +0,0 @@
-sources {
- u_boot_spl="spl/u-boot-spl.bin";
- u_boot="u-boot.bin";
-}
-
-section (0) {
- load u_boot_spl > 0x0000;
- load ivt (entry = 0x0014) > 0x8000;
- hab call 0x8000;
-
- load u_boot > 0x40000100;
- load ivt (entry = 0x40000100) > 0x8000;
- hab call 0x8000;
-}
diff --git a/board/freescale/mx28evk/u-boot.bd b/board/freescale/mx28evk/u-boot.bd
deleted file mode 100644
index c60615a..0000000
--- a/board/freescale/mx28evk/u-boot.bd
+++ /dev/null
@@ -1,14 +0,0 @@
-sources {
- u_boot_spl="spl/u-boot-spl.bin";
- u_boot="u-boot.bin";
-}
-
-section (0) {
- load u_boot_spl > 0x0000;
- load ivt (entry = 0x0014) > 0x8000;
- hab call 0x8000;
-
- load u_boot > 0x40000100;
- load ivt (entry = 0x40000100) > 0x8000;
- hab call 0x8000;
-}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR
2012-08-05 10:36 [U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR Marek Vasut
@ 2012-08-05 10:39 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2012-08-05 10:39 UTC (permalink / raw)
To: u-boot
On 05/08/2012 12:36, Marek Vasut wrote:
> This gets us rid of duplication of the same file.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
> Makefile | 2 +-
> arch/arm/cpu/arm926ejs/mx28/u-boot.bd | 14 ++++++++++++++
> board/bluegiga/apx4devkit/u-boot.bd | 14 --------------
> board/denx/m28evk/u-boot.bd | 14 --------------
> board/freescale/mx28evk/u-boot.bd | 14 --------------
> 5 files changed, 15 insertions(+), 43 deletions(-)
> create mode 100644 arch/arm/cpu/arm926ejs/mx28/u-boot.bd
> delete mode 100644 board/bluegiga/apx4devkit/u-boot.bd
> delete mode 100644 board/denx/m28evk/u-boot.bd
> delete mode 100644 board/freescale/mx28evk/u-boot.bd
>
Acked-by: Stefano Babic <sbabic@denx.de>
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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-05 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 10:36 [U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR Marek Vasut
2012-08-05 10:39 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox