mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* MIPS: XBurst: rzx50: enable pbl support
@ 2013-05-26 11:26 Antony Pavlov
  2013-05-26 11:26 ` [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start Antony Pavlov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Antony Pavlov @ 2013-05-26 11:26 UTC (permalink / raw)
  To: barebox

This patch series enables trivial pbl support for Ritmix RZX-50.

[PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start
[PATCH 2/3] MIPS: XBurst: enable pbl support
[PATCH 3/3] MIPS: rzx50: enable pbl in defconfig

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start
  2013-05-26 11:26 MIPS: XBurst: rzx50: enable pbl support Antony Pavlov
@ 2013-05-26 11:26 ` Antony Pavlov
  2013-05-26 11:27 ` [PATCH 2/3] MIPS: XBurst: enable pbl support Antony Pavlov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Antony Pavlov @ 2013-05-26 11:26 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 .../boards/rzx50/include/board/board_pbl_start.h   |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 arch/mips/boards/rzx50/include/board/board_pbl_start.h

diff --git a/arch/mips/boards/rzx50/include/board/board_pbl_start.h b/arch/mips/boards/rzx50/include/board/board_pbl_start.h
new file mode 100644
index 0000000..cba3e7f
--- /dev/null
+++ b/arch/mips/boards/rzx50/include/board/board_pbl_start.h
@@ -0,0 +1,34 @@
+/*
+ * Startup Code for Ritmix RZX-50 board
+ *
+ * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com>
+ *
+ * This file is part of barebox.
+ * See file CREDITS for list of people who contributed to this project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#include <asm/pbl_macros.h>
+
+	.macro	board_pbl_start
+	.set	push
+	.set	noreorder
+
+	mips_disable_interrupts
+
+	/* CPU/SoC specific setup ... */
+	/* ... absent */
+
+	copy_to_link_location	pbl_start
+
+	.set	pop
+	.endm
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/3] MIPS: XBurst: enable pbl support
  2013-05-26 11:26 MIPS: XBurst: rzx50: enable pbl support Antony Pavlov
  2013-05-26 11:26 ` [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start Antony Pavlov
@ 2013-05-26 11:27 ` Antony Pavlov
  2013-05-26 11:27 ` [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig Antony Pavlov
  2013-05-28  6:06 ` MIPS: XBurst: rzx50: enable pbl support Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Antony Pavlov @ 2013-05-26 11:27 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d58b804..555dbb2 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -61,6 +61,8 @@ config MACH_MIPS_XBURST
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select DRIVER_SERIAL_NS16550
 	select HAS_DEBUG_LL
+	select HAVE_PBL_IMAGE
+	select HAVE_IMAGE_COMPRESSION
 endchoice
 
 source arch/mips/mach-malta/Kconfig
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig
  2013-05-26 11:26 MIPS: XBurst: rzx50: enable pbl support Antony Pavlov
  2013-05-26 11:26 ` [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start Antony Pavlov
  2013-05-26 11:27 ` [PATCH 2/3] MIPS: XBurst: enable pbl support Antony Pavlov
@ 2013-05-26 11:27 ` Antony Pavlov
  2013-05-28  6:06 ` MIPS: XBurst: rzx50: enable pbl support Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Antony Pavlov @ 2013-05-26 11:27 UTC (permalink / raw)
  To: barebox

Also enable the iomem and poweroff commands.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/configs/rzx50_defconfig |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/configs/rzx50_defconfig b/arch/mips/configs/rzx50_defconfig
index 722d977..5d994c7 100644
--- a/arch/mips/configs/rzx50_defconfig
+++ b/arch/mips/configs/rzx50_defconfig
@@ -1,4 +1,5 @@
 CONFIG_MACH_MIPS_XBURST=y
+CONFIG_PBL_IMAGE=y
 CONFIG_BAUDRATE=57600
 CONFIG_GLOB=y
 CONFIG_HUSH_FANCY_PROMPT=y
@@ -14,6 +15,7 @@ CONFIG_CMD_LOADY=y
 CONFIG_CMD_LOADS=y
 CONFIG_CMD_SAVES=y
 CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_IOMEM=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_BOOTM_SHOW_TYPE=y
 CONFIG_CMD_BOOTM_VERBOSE=y
@@ -22,6 +24,7 @@ CONFIG_CMD_BOOTM_OFTREE=y
 CONFIG_CMD_BOOTM_OFTREE_UIMAGE=y
 CONFIG_CMD_UIMAGE=y
 CONFIG_CMD_RESET=y
+CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_GO=y
 # CONFIG_SPI is not set
 CONFIG_SHA1=y
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MIPS: XBurst: rzx50: enable pbl support
  2013-05-26 11:26 MIPS: XBurst: rzx50: enable pbl support Antony Pavlov
                   ` (2 preceding siblings ...)
  2013-05-26 11:27 ` [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig Antony Pavlov
@ 2013-05-28  6:06 ` Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2013-05-28  6:06 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Sun, May 26, 2013 at 03:26:58PM +0400, Antony Pavlov wrote:
> This patch series enables trivial pbl support for Ritmix RZX-50.
> 
> [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start
> [PATCH 2/3] MIPS: XBurst: enable pbl support
> [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-28  6:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-26 11:26 MIPS: XBurst: rzx50: enable pbl support Antony Pavlov
2013-05-26 11:26 ` [PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start Antony Pavlov
2013-05-26 11:27 ` [PATCH 2/3] MIPS: XBurst: enable pbl support Antony Pavlov
2013-05-26 11:27 ` [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig Antony Pavlov
2013-05-28  6:06 ` MIPS: XBurst: rzx50: enable pbl support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox