uimage_get_size(struct uimage_handle *handle, unsigned int image_no)
What about ssize_t?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
This framework handles a list of registered FPGA programming handlers
to unify a firmware programming interface by hiding the details how
to program a specific FPGA in its handler.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
common/Kconfig| 3 ++
common/Makefile | 1
This handler uses a regular SPI master and a few GPIO to program an ALTERA FPGA
in serial mode.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/fpga/Kconfig | 10 ++
drivers/fpga/Makefile
transfer speed *and* a standard/high speed bit. Which one is reliable?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman
/ ;)
/** currently used data block length for read accesses */
unsigned read_bl_len;
/** currently used data block length for write accesses */
Acked-by: Juergen Beisert j...@pengutronix.de
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux
Vikram Narayanan wrote:
On 21/05/2013 00:26, Juergen Beisert wrote:
Hmm, never had a Mini2440 with a 1 GiB NAND. Can you see, what kind of
SDRAM devices are on your Mini2440 board? Maybe they also changed the
SDRAMs...
Sorry, I was totally away from mail access.
Here is the name
.
This detection approach reads again the GPIOs. It switches temporarily the pins
to act as GPIOs and input, reads their settings, and switches back to their
previous functions.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-mxs/imx.c | 44
Sascha Hauer wrote:
On Fri, May 17, 2013 at 10:18:39AM +0200, Juergen Beisert wrote:
The boot source for the i.MX23 is configured via a few GPIOs, which are
later be used for different purposes (like LCD data for example). The SoC
internal ROM reads these GPIOs and uses the selected boot
,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman
:
barebox:/ devinfo mxs_mci0
resources:
num : 0
start : 0x80034000
size : 0x2000
driver: mxs_mci
bus: platform
Interface
Min. bus clock: 1476 Hz
Max. bus clock: 4800 Hz
Current bus clock: 2400 Hz
Bus width: 8 bit
Signed-off-by: Juergen Beisert j...@pengutronix.de
According to the SD card spec the detection can happen at 400 kHz
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mci-core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index a269aee..9aeaa4d 100644
EIO is a better error message to describe the data transfer to or from the SD
cards has failed.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mxs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index 3045e6a
Commit b36f68d74b5379c216429a0f15aeedbd7917e10d now uses the generic
mxs_reset_block() routine, but this requires the mxs.h header file for the
prototype.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mxs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci
The host limits are only one limit we must honor when changing the transmission
frequency.
The SD cards have their own limits, so take them also into account.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mci-core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion
MMC_BUS_WIDTH_* macros do not correspond with the real bus width.
After setting a bus width larger than 1 bit the next call to change the
frequency ends in the default handler and the host interface stays silently
at the previous frequency.
Signed-off-by: Juergen Beisert j...@pengutronix.de
To avoid the compiler complains about an unused variable when no SPI host is
enabled, use an inline function instead of a macro.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mci-core.c | 3 +--
include/mci.h | 15 +--
2 files changed, 10 insertions
Due to a missing resource size the Chumby isn't able to work with its SD card
anymore. Instead it hangs forever. By using the generic block reset routine I
was able to discover the cause. The following two patches makes the Chumby
work again. At least the resource size patch should be applied to
Since a generic block reset function is a available, also the MCI driver
should make use of it.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/mci/mxs.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index
Due to some changes in the framework a resource size of zero does not map
anything at all and it does it silently.
Defining the resource size for the MCI interface make it work again on the
Chumby.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/boards/chumby_falconwing
Hi Yi,
Yi Qingliang wrote:
can barebox running on mini6410 boot from nand?
Barebox support for Mini6410/Tiny6410 is currently in a very basic state.
Additional developers are welcome. ;)
Regards
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux
Sascha Hauer wrote:
[...]
+/*
+ * 32 bytes at this is offset is reserved in the barebox head for board/SoC
+ * usage
+ */
[...]
Hmm, one 'is' too much in this sentence?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science
output
more info here.
The device (or better partition?) can be too small in general, or it can be
too small due to many bad blocks inside. IMHO it would be helpful to see more
info here why it failed.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux
Sascha Hauer wrote:
On Tue, Mar 12, 2013 at 10:48:16AM +0100, Juergen Beisert wrote:
Sascha Hauer wrote:
[...]
+ if (size_available 0) {
+ printf(device is too small\n);
+ ret = -ENOSPC;
+ goto out
. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
this test in the bootlets instead. As they run from the
internal SRAM, you can do whatever you want with the SDRAM controller.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
) ||
+ (chip-bbt_md chip-bbt_md-pages[0] != -1))
+ str = flashbased;
+ else
+ str = memorybased;
+
+ return str;
+}
+
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry
. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
)
register_persist*e*nt_environment
Seems a copy from my typo in the falconwing. I really should fix it :))
[...]
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
the 'env0' persistant environment storage
(%d)\n, rc);
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany| Fax: +49-5121-206917-
Juergen Beisert wrote:
[...]
if (rc != 0)
printf(Cannot create the 'env0' persistant environment storage
(%d)\n, rc);
___^
Arrghh, still two 'a' left. :(
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c
b
setting for all i.MX28 based
system (e.g. in the i.MX28 generic part of Barebox) or better on a board by
board base?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
).
IIRC ivt/non-ivt is relevant for the i.MX28 firmware, not for i.MX23. On the
other hand, for some i.MX23 based systems the encryption must be enabled for
the bootstream, but with an empty key.
Hope it helps.
Juergen
--
Pengutronix e.K. | Juergen Beisert
with the Trcd in the BANKCON* register.
Note: the impact of higher CL values is huge. Data throughput with 100 MHz @
CL2 is higher than at 133 MHz @ CL3.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry
Hi Yi,
Yi Qingliang wrote:
On Thursday, January 10, 2013 09:36:36 AM Juergen Beisert wrote:
Yi Qingliang wrote:
I'm using barebox (based on mini2440) on my s3c2442 board,
1. flash barebox into nand: can't start normally, but can see early
output on serial.
2. load it in sdram
Hi Yi,
Yi Qingliang wrote:
On Thursday, January 10, 2013 10:14:07 AM Juergen Beisert wrote:
Yi Qingliang wrote:
On Thursday, January 10, 2013 09:36:36 AM Juergen Beisert wrote:
Yi Qingliang wrote:
I'm using barebox (based on mini2440) on my s3c2442 board,
1. flash
Hi Yi,
Yi Qingliang wrote:
On Thursday, January 10, 2013 11:00:53 AM Juergen Beisert wrote:
Yi Qingliang wrote:
On Thursday, January 10, 2013 10:14:07 AM Juergen Beisert wrote:
Yi Qingliang wrote:
On Thursday, January 10, 2013 09:36:36 AM Juergen Beisert wrote:
Yi Qingliang
Yi Qingliang wrote:
and if connected jtager, the ON switch does not work some time.
Seems your jtager powers the system by accident.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http
of dm9000, it said that EED0 is pulled down internaly.
Sure. But if you have some power floating around your board the chip might
detect a high level at system start. But this idea is just a shot into the
dark.
Regards,
Juergen
--
Pengutronix e.K. | Juergen
.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http
), but in mini2440 initialize code is 16bit.
any suggestion?
This would mean the EED0 pin of the DM9000 has a pull up connected, which is
not the case for the Mini2440. Are you sure, you are using an original
Mini2440?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert
for this
special case.
Signed-off-by: Juergen Beisert j...@pengutronix.de
diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c
index ca32a72..bc19369 100644
--- a/drivers/watchdog/im28wd.c
+++ b/drivers/watchdog/im28wd.c
@@ -82,6 +82,17 @@ static void __maybe_unused
register
Do you think this message is helpful to give the user a pointer *where* the
failure happens?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
Wolfram Sang wrote:
On Wed, Oct 31, 2012 at 09:29:56AM +0100, Juergen Beisert wrote:
Wolfram Sang wrote:
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/dma/apbh_dma.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/dma
Wolfram Sang wrote:
On Wed, Oct 31, 2012 at 09:48:31AM +0100, Juergen Beisert wrote:
Wolfram Sang wrote:
On Wed, Oct 31, 2012 at 09:29:56AM +0100, Juergen Beisert wrote:
Wolfram Sang wrote:
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/dma/apbh_dma.c
+ bool Broadcom BCM2835 boards
+ select GENERIC_GPIO
+ select CPU_ARM1176
please keep in alphabetic order
What a useless rule...
Just my 2ct.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone
Jean-Christophe PLAGNIOL-VILLARD wrote:
On 09:42 Wed 19 Sep , Juergen Beisert wrote:
Jean-Christophe PLAGNIOL-VILLARD wrote:
[...]
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a54ad03..f8eb1b4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -92,6
in the OOB area
Other constraints on different architectures that comes into your minds?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de
Hi Johannes,
Johannes Stezenbach wrote:
On Thu, Aug 30, 2012 at 03:08:19PM +0200, Juergen Beisert wrote:
Johannes Stezenbach wrote:
MMC has the following speed modes:
- legacy 0-26MHz
- high speed SDR 0-52MHz
- high speed DDR 0-52MHz
- HS200 SDR 0-200MHz
Ahh, here come
?
Any pointers would help.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
http
Sascha Hauer wrote:
The existing nand_boot functions all do the same, so move it to
a common place. To be flexible enough for future boards the real
image size is used instead of hardcoded 256k.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Cc: Juergen Beisert j...@pengutronix.de
Hi Sascha,
Sascha Hauer wrote:
On Fri, Jul 27, 2012 at 06:54:16PM +0200, Juergen Beisert wrote:
Sascha Hauer wrote:
On Fri, Jul 27, 2012 at 01:09:07PM +0200, Jan Weitzel wrote:
Use 512k NAND Partion for barebox. Problem is we don't know the size
of the barebox inside xload. Set
Sascha Hauer wrote:
On Mon, Jul 30, 2012 at 10:11:32AM +0200, Juergen Beisert wrote:
Hi Sascha,
Sascha Hauer wrote:
On Fri, Jul 27, 2012 at 06:54:16PM +0200, Juergen Beisert wrote:
Sascha Hauer wrote:
On Fri, Jul 27, 2012 at 01:09:07PM +0200, Jan Weitzel wrote:
Use 512k
...I know...nobody reads documentation...
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox
Jean-Christophe PLAGNIOL-VILLARD wrote:
On 16:44 Mon 30 Jul , Thomas Petazzoni wrote:
Le Mon, 30 Jul 2012 12:38:43 +0200,
Juergen Beisert j...@pengutronix.de a écrit :
Jean-Christophe PLAGNIOL-VILLARD wrote:
[...]
Currently on the compressed image is implemented the boot
and how do I debug it?
Broken timer?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
___
barebox mailing list
barebox
After adding the base support, the SoC can now be enabled in the build system.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Kconfig |6 ++
arch/arm/mach-samsung/Kconfig |9 +
2 files changed, 15 insertions(+)
diff --git a/arch/arm/Kconfig b
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/include/mach/s3c-iomap.h |3 ++
arch/arm/mach-samsung/include/mach/s3c64xx-iomap.h | 51
2 files changed, 54 insertions(+)
create mode 100644 arch/arm/mach-samsung/include/mach/s3c64xx
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |2 +-
.../mach-samsung/include/mach/devices-s3c64xx.h| 40
arch/arm/mach-samsung/include/mach/s3c-generic.h | 17 +
arch/arm/mach-samsung/mem-s3c64xx.c
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Makefile |1 +
arch/arm/boards/friendlyarm-mini6410/Makefile |1 +
arch/arm/boards/friendlyarm-mini6410/config.h |8 +
arch/arm/boards/friendlyarm-mini6410/env/config | 56 +
arch
The Tiny6410 and its base board is a pure development platform.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Makefile |1 +
arch/arm/boards/friendlyarm-tiny6410/Kconfig | 19
arch/arm/boards/friendlyarm-tiny6410/Makefile
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |2 +-
arch/arm/mach-samsung/gpio-s3c64xx.c | 301 +++
arch/arm/mach-samsung/include/mach/gpio.h |3 +
arch/arm/mach-samsung/include/mach/iomux
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |1 +
arch/arm/mach-samsung/clocks-s3c64xx.c | 338
arch/arm/mach-samsung/include/mach/s3c-clocks.h|3 +
.../arm/mach-samsung/include/mach
Sascha Hauer wrote:
On Fri, Jul 27, 2012 at 11:24:48AM +1000, Marc Reilly wrote:
Thanks for your ideas.
I managed to clear the BBT, it was a bit of a hack... the saga is below
for anyone who runs into similar problem.
On Thursday, July 26, 2012 11:27:48 AM Juergen Beisert wrote
. I is useful for all my Samsung targets, too.
Maybe it should be a generic feature, because *most* of the supported SoCs are
able to detect the available RAM size in such a way.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science
...in preparation to add the S3C6410 SoC support.
Mostly simplifying the Samsung serial driver and some more cosmetic. These
patches are a re-work and re-send of the remaining ones not yet included from
the previous ARM/Samsung: more clean up... series.
The patches 1/3 and 3/3 base on the
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |2 +-
.../mach-samsung/include/mach/devices-s3c64xx.h| 40
arch/arm/mach-samsung/include/mach/s3c-generic.h | 16 +
arch/arm/mach-samsung/mem-s3c64xx.c
The S3C64XX SoC has a real 32 bit counter, but almost the same style of
registers. It's enough to change the parameters, to get the routines work on
this SoC.
TODO: what about the S5P SoCs?
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/s3c-timer.c | 17
This patch series tries to add support for the Samsung's S3C6410 ARMv11 SoC
and with this main support also two popular platforms which are using this
SoC: FriendlyARM's Mini6410 and Tiny6410.
Comments are welcome.
If someone wants to try this series it can be found here
The Tiny6410 and its base board is a pure development platform.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Makefile |1 +
arch/arm/boards/friendlyarm-tiny6410/Kconfig | 19
arch/arm/boards/friendlyarm-tiny6410/Makefile
This is required in preparation for the following patches.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/include/mach/s3c24xx-nand.h |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-samsung/include/mach/s3c24xx-nand.h
b/arch/arm/mach
and A9M2440 compile time tested only.
- Mini2440 also runtime tested.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/boards/a9m2410/a9m2410.c |7 ++-
arch/arm/boards/a9m2440/a9m2440.c |7 ++-
arch/arm/boards/mini2440/mini2440.c
separately.
Signed-off-by: Juergen Beisert j...@pengutronix.de
diff --git a/arch/arm/mach-mxs/include/mach/iomux-imx23.h
b/arch/arm/mach-mxs/include/mach/iomux-imx23.h
index 7b2883c..82362d7 100644
--- a/arch/arm/mach-mxs/include/mach/iomux-imx23.h
+++ b/arch/arm/mach-mxs/include/mach/iomux-imx23
+0200)
Juergen Beisert (9):
ARM/Samsung: List only really supported S3C24xx SoCs
ARM/Samsung: follow the name style of the other source files in this
directory
Samsung/serial: remove more ugly ifdef lines
Samsung
Instead of taking the value from somewhere, use the selected architecture to
select one. This ensures the selected clock source corresponds to the values
setup in the clocks-*.c from the mach directory.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/serial/serial_s3c.c | 18
More or less just cosmetic (removing ifdefs!).
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Kconfig |5 +
arch/arm/mach-samsung/include/mach/s5pcxx-iomap.h |5 +++--
drivers/serial/serial_s3c.c | 16
-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Makefile |4 ++--
arch/arm/boards/{mini2440 = friendlyarm-mini2440}/Kconfig |0
arch/arm/boards/{mini2440 = friendlyarm-mini2440}/Makefile|0
arch/arm/boards/{mini2440
cause detection (2012-07-18 10:40:22 +0200)
Juergen Beisert (4):
Enable a way to provide the reason for being here
ARM/Samsung: add support to detect the reset source
ARM/i.MX: add support to detect the reset source
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-imx/Makefile |1 +
arch/arm/mach-imx/reset_source.c | 72 ++
2 files changed, 73 insertions(+)
create mode 100644 arch/arm/mach-imx/reset_source.c
diff --git a/arch/arm/mach-imx
system.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
common/Kconfig |8
common/Makefile|1 +
common/reset_source.c | 44
include/reset_source.h | 27 +++
4 files changed, 80
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |1 +
arch/arm/mach-samsung/reset_source.c | 56 ++
2 files changed, 57 insertions(+)
create mode 100644 arch/arm/mach-samsung/reset_source.c
diff --git a/arch/arm
and Tiny6410 inclusion. Can we rename the currently existing
Mini2440 and Tiny210 to friendlyarm-mini2440 and friendlyarm-tiny210?
@Sascha: Do you need a patch for this?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science
Sascha Hauer wrote:
On Fri, Jul 13, 2012 at 09:00:54PM +0200, Juergen Beisert wrote:
Barebox crashes since it has trouble with a resource size of 0. Most of
the S3C24XX based platforms crashes at runtime and can't use devices with
resource sizes of 0 anymore. This patch fix it by unifying
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |1 +
arch/arm/mach-samsung/reset_source.c | 56 ++
2 files changed, 57 insertions(+)
create mode 100644 arch/arm/mach-samsung/reset_source.c
diff --git a/arch/arm
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/watchdog/im28wd.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c
index b016910..eb6099a 100644
--- a/drivers/watchdog/im28wd.c
+++ b/drivers
+0200)
Juergen Beisert (4):
Enable a way to provide the reason for being here
ARM/Samsung: add support to detect the reset source
ARM/i.MX: add support to detect the reset source
ARM/MXS: add reset cause
system.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
common/Makefile|2 +-
common/reset_source.c | 44
include/reset_source.h | 27 +++
3 files changed, 72 insertions(+), 1 deletion(-)
create mode
This bit magic is just setting and reading the UART's selected clock source.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/serial/serial_s3c.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_s3c.c b/drivers/serial/serial_s3c.c
Instead of taking the value from somewhere, use the menu to select one. Also
provide sane default values for known SoCs.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/serial/Kconfig | 12
drivers/serial/serial_s3c.c |7 +--
2 files changed, 13
More or less just cosmetic. Easier to read, and lets the compiler remove unused
code.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/serial/serial_s3c.c |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/serial/serial_s3c.c b/drivers/serial
This patch series tries to include the Samsung S3C6410 processor into Barebox.
This SoC is used on the popular FriendlyARM Mini6410 platform and an
implementation for this platfrom is part of this series. This series is WIP,
so please comment if the changes are ready for mainline or not.
Patches
This is required in preparation for the following patches.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/include/mach/s3c24xx-nand.h |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-samsung/include/mach/s3c24xx-nand.h
b/arch/arm/mach
-samsung/lowlevel-s3c64xx.c
new file mode 100644
index 000..b1ba719
--- /dev/null
+++ b/arch/arm/mach-samsung/lowlevel-s3c64xx.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2012 Juergen Beisert
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms
This should work on S3C24XX and S3C64XX SoCs.
Tested at runtime on a Mini2440 and Mini6410.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
drivers/serial/serial_s3c.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_s3c.c b/drivers
and A9M2440 compile time tested only.
- Mini2440 also runtime tested.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/boards/a9m2410/a9m2410.c |6 +--
arch/arm/boards/a9m2440/a9m2440.c |7 ++-
arch/arm/boards/mini2440/mini2440.c
After adding the base support, the CPU can now be enabled in the build system.
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/Kconfig |6 ++
arch/arm/mach-samsung/Kconfig | 21 -
drivers/serial/Kconfig|2 +-
3 files changed
More or less just cosmetic (removing ifdefs!).
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Kconfig |5 +
arch/arm/mach-samsung/include/mach/s5pcxx-iomap.h |2 --
drivers/serial/serial_s3c.c | 16
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/include/mach/s3c-iomap.h |3 ++
arch/arm/mach-samsung/include/mach/s3c64xx-iomap.h | 44
2 files changed, 47 insertions(+)
create mode 100644 arch/arm/mach-samsung/include/mach/s3c64xx
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |2 +-
arch/arm/mach-samsung/include/mach/s3c-generic.h | 13 +
arch/arm/mach-samsung/mem-s3c64xx.c | 65 ++
3 files changed, 79 insertions(+), 1
Signed-off-by: Juergen Beisert j...@pengutronix.de
---
arch/arm/mach-samsung/Makefile |2 +-
arch/arm/mach-samsung/clocks-s3c24xx.c | 157
arch/arm/mach-samsung/s3c24xx-clocks.c | 157
3 files changed, 158 insertions
1 - 100 of 156 matches
Mail list logo