The pointer to the struct device_d *dev is also saved to the struct mci_host.
Get rid of it.
Signed-off-by: Steffen Trumtrar
---
drivers/mci/dw_mmc.c | 36 +---
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-socfpga/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 58e4876f5c5e..4715e11434a6 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-socfpga/include/mach/arria10-regs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/include/mach/arria10-regs.h
b/arch/arm/mach-socfpga/include/mach/arria10-regs.h
index 931876f43a17..4464f0623187 100644
--- a/arch/arm
From: Enrico Jorns
A prebootloader image might also contain a fully working barebox and
allows to be booted second stage. Thus we add a handler here to give it
a try.
Signed-off-by: Enrico Jorns
---
arch/arm/lib32/bootm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git
The driver_d is missing the name property. When the reset driver is used in a
non-of setup, this will result in an error during device_registration where
the dev->name is matched to the driver->name.
Signed-off-by: Steffen Trumtrar
---
drivers/reset/reset-socfpga.c | 1 +
1 file chan
Previously the FPGA was configured externally on the Achilles. On newer versions
this is changed and barebox has to configure the FPGA before the SDRAM can be
used.
If the FPGA is configured via JTAG or from an external memory, the *-bringup
version can be used.
Signed-off-by: Steffen Trumtrar
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-socfpga/include/mach/arria10-regs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/include/mach/arria10-regs.h
b/arch/arm/mach-socfpga/include/mach/arria10-regs.h
index 5569574e157d..931876f43a17 100644
--- a/arch/arm
Instead of copy+pasting the debug_ll messages to every new board,
move them to the respective functions.
Signed-off-by: Steffen Trumtrar
---
arch/arm/boards/reflex-achilles/lowlevel.c | 4
arch/arm/mach-socfpga/arria10-init.c | 2 ++
arch/arm/mach-socfpga/arria10-sdram.c | 2
Signed-off-by: Steffen Trumtrar
---
arch/arm/dts/socfpga_arria10_achilles.dts | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/socfpga_arria10_achilles.dts
b/arch/arm/dts/socfpga_arria10_achilles.dts
index 0af7809adcce..60d99248dc46 100644
--- a/arch/arm
The driver_d is missing the name property. When the reset driver is used in a
non-of setup, this will result in an error during device_registration where
the dev->name is matched to the driver->name.
Signed-off-by: Steffen Trumtrar
---
drivers/reset/reset-socfpga.c | 1 +
1 file chan
I see 'Could not get
> sysmgr-syscon node'
> error message:
>
>
Patch opportunity:
DRIVER_NET_DESIGNWARE_SOCFPGA is missing a
select MFD_SYSCON
and the defconfig should be regenerated with the socfpga driver instead.
Best regards,
Steffen
--
Pengutronix e.K.
The designware ethernet core is used on multiple different SoCs.
The linux kernel has a generic driver and SoC-specific drivers.
Do the same here.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/net/Kconfig | 12 +++-
drivers/net/Makefile
Instead of silently using a wrong value, check if drvdata is defined
before use.
Print a warning if there is no drvdata found.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/net/designware.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/d
Sync the SoCFPGA reset driver with Linux v4.14-rc1.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/reset/reset-socfpga.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset
of - maybe one day - getting rid of a barebox-version
of socfpga.dtsi :-)
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 8
arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts | 6 ++
arch/arm/dts/socfpga_cyclone5_soc
The clock framework used to need the clock-frequency property,
even if 0, to work correctly.
This is no longer necessary. So, get rid of the assignments.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 11 ---
1 file changed, 11 del
Add a driver for the SoCFPGA-specific version of the designware ethernet ip
core.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
.../include/mach/cyclone5-system-manager.h | 3 +
drivers/net/Kconfig| 7 +
drivers/net/Ma
There is a proper driver now that handles the PHY setup for SoCFPGA.
Get rid of the code from mach-socfpga.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/cyclone5-generic.c | 35
1 file changed, 35 deletions(-)
diff
Newer designware i2c controllers allow setting the SDA hold time.
Evaluate the devicetree property "i2c-sda-hold-time" and set the
value accordingly.
The code is an adaption of the Linux v4.12 driver.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
driver
barebox:
>
> compatible = "altr,socdk", "altr,socfpga-cyclone5", "altr,socfpga";
>
> Linux:
>
> compatible = "altr,socfpga-cyclone5-socdk", "altr,socfpga-cyclone5",
> "altr,socfpga";
>
Port the regmap_update_bits function from linux v4.14-rc1 to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/base/regmap/regmap.c | 29 +
include/regmap.h | 3 ++-
2 files changed, 31 insertions(+), 1 deletion(-)
Remove devicetree entries that are already in the upstream devicetree.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga_cyclone5_sockit.dts | 108 ---
1 file changed, 108 deletions(-)
diff --git a/arch/a
the current position.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/memtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/memtest.c b/common/memtest.c
index 8af998e883e1..0fc20467580e 100644
--- a/common/memtest.c
+++ b/common/memtest.c
@@
Mabcded Babcde <thepusherpus...@gmail.com> writes:
> 2017-08-04 15:13 GMT+02:00 Mabcded Babcde <thepusherpus...@gmail.com>:
>> 2017-08-01 11:13 GMT+02:00 Steffen Trumtrar <s.trumt...@pengutronix.de>:
>>>
>>> Hi!
>>>
>>> Andrey Smi
Import the fpga bridge framework from linux v4.10-rc2.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/Kconfig| 1 +
drivers/Makefile | 1 +
drivers/fpga/Kconfig | 24
drivers/fpga/Makefile | 6 +
drivers/fpga/fpga-br
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/linux/reset.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/reset.h b/include/linux/reset.h
index be0d1bb5a621..c5660f798193 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -11,6
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/firmware.c | 45 +-
drivers/firmware/socfpga.c | 1 +
drivers/fpga/Makefile | 2 +-
drivers/fpga/fpga-region.c | 209 +
include/firmware.h
Import the SoCFPGA bridges drivers from linux v4.10-rc2.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/fpga/Kconfig | 8 ++
drivers/fpga/Makefile| 1 +
drivers/fpga/socfpga-fpga2sdram-bridge.c
r disable the bridge? With a parameter? Where can I add it and
>> change it?
>>
>>>
>
> The driver in firmware/socfpga.c should create a "fpga0" device, after
> which, you cat set that device's variables/attributes by simply doing:
>
> fpga0.variable_nam
When a node is compatible to a fixed-partitions, support searching the
corresponding device via the partuuid, if it specified in the device tree.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
Changes since v1:
- add documentation
Documentation/devicetree/bindin
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
Changes since v1:
- add documentation
Documentation/boards/efi.rst | 4
common/efi/efi.c | 56
2 files changed, 60 insertions(+)
diff --git a/Documentation/
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
fs/devfs-core.c | 14 ++
include/driver.h | 1 +
2 files changed, 15 insertions(+)
diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 3368d3ed68bd..be56edd18d80 100644
--- a/fs/devfs-core.c
+++ b/fs/devfs-
ce is not aligned to
eraseblocks. Offset is %ld, erasesize %zu\n",
^~~
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/state/backend_format_dtb.c | 2 +-
common/state/backend_format_raw.c | 2 +-
common/state/backend_storage.c| 2 +-
3 fil
Instead of erroring out when a file is not present, just return ENOENT if the
file does not exist and let the fs-layer handle the situation correctly.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
fs/efi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/efi/efi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index 05c58250f4a7..f924385958e1 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -266,8
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/efi/efi.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index cc3051dedae9..2c3ad33976c4 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -42,6 +42,7 @@
#include
#i
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/x86/configs/efi_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/configs/efi_defconfig b/arch/x86/configs/efi_defconfig
index 0d9a44a4d23e..3e83fd92d9ea 100644
--- a/arch/x86/c
If the blspec entry does not specify a devicetree to test against,
it doesn't make any sense to check the compatible of the machine or
find the root node.
Instead of first testing the barebox devicetree check if the entry
specifies one.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix
Update the documentation in regard of the sequencer importer.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
Documentation/boards/socfpga.rst | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/Documentation/boards/socfpga.rst b/Documen
Adjust two header files that where renamed in the meantime.
While at it, also remove trailing whitespace and cleanup the
script a little.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
scripts/socfpga_get_sequencer | 25 +
1 file changed, 9 inse
ce is not aligned to
eraseblocks. Offset is %ld, erasesize %zu\n",
^~~
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/state/backend_format_dtb.c | 2 +-
common/state/backend_format_raw.c | 2 +-
common/state/backend_storage.c| 2 +-
3 fil
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/efi/efi.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index cc3051dedae9..2c3ad33976c4 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -42,6 +42,7 @@
#include
#i
When a node is compatible to a fixed-partitions, support searching the
corresponding device via the partuuid, if it is specified in the devicetree.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/of/of_path.c | 17 -
1 file changed, 16 insertions
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/efi/efi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index 05c58250f4a7..f924385958e1 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -266,8
If the blspec entry does not specify a devicetree to test against,
it doesn't make any sense to check the compatible of the machine or
find the root node.
Instead of first testing the barebox devicetree check if the entry
specifies one.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/efi/efi.c | 56
1 file changed, 56 insertions(+)
diff --git a/common/efi/efi.c b/common/efi/efi.c
index f924385958e1..cc3051dedae9 100644
--- a/common/efi/efi.c
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
fs/devfs-core.c | 14 ++
include/driver.h | 1 +
2 files changed, 15 insertions(+)
diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 3368d3ed68bd..be56edd18d80 100644
--- a/fs/devfs-core.c
+++ b/fs/devfs-
regards,
Steffen
--
Pengutronix e.K. | Steffen Trumtrar|
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686
Sascha Hauer <s.ha...@pengutronix.de> writes:
> On Fri, Apr 28, 2017 at 04:41:43PM +0200, Steffen Trumtrar wrote:
>> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
>> ---
>> arch/arm/boards/Makefile| 1 +-
&g
Sascha Hauer <s.ha...@pengutronix.de> writes:
> On Wed, May 03, 2017 at 01:49:51PM +0200, Sascha Hauer wrote:
>> On Fri, Apr 28, 2017 at 04:41:41PM +0200, Steffen Trumtrar wrote:
>> > Arria10 is a SoC + FPGA like the Cyclone5 SoCFPGA that
>> > is alread
(inherited from u-boot)
- refactor pinmux from struct to enum -> use arrays+loop
- remove added barebox-header from mkimage; add custom __barebox_arm_head
instead
Regards,
Steffen
Steffen Trumtrar (8):
ARM: socfpga: rename socfpga->cyclone5
clk: socfpga: move driver to subdirectory
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/configs/socfpga-arria10_defconfig | 89 +++-
1 file changed, 89 insertions(+)
create mode 100644 arch/arm/configs/socfpga-arria10_defconfig
diff --git a/arch/arm/configs/socfpga-arria10_defcon
Prepare for Arria10 clock driver.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/clk/Makefile | 2 +-
drivers/clk/socfpga.c| 434 +
drivers/clk/socfpga/Makefile | 1 +-
drivers/clk/socfpga/clk.c
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/boards/Makefile| 1 +-
arch/arm/boards/reflex-achilles/Makefile| 2 +-
arch/arm/boards/reflex-achilles/hps.xml | 351 +-
arch/arm/boards/
Arria10 has a (slightly) different clock controller than the
Cyclone5. Add new drivers for it.
This driver only reads out the setup and builds the clocktree,
it does not setup any clocks.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/clk/socfpga/Makefile
Allow configuring the serial port and clock rate
instead of hardcoding it.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/include/mach/debug_ll.h | 69
common/Kconfig| 20 ++-
2 files chang
Upstream devicetree bindings where changed to use "cdns,is-decoded-cs"
instead of "external-decoder". Use it.
Also, get rid of the clock-names "qspi_clk" dependency.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/xload.c
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 16
1 file changed, 16 deletions(-)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index 274c491804e0..b3a7f69ffe09 100644
--- a/arch/arm/dts/socfpga.dtsi
+++
Trent Piepho <tpie...@kymetacorp.com> writes:
> On Mon, 2017-04-03 at 12:55 +0200, Steffen Trumtrar wrote:
>> Although Cyclone5 and Arria10 share a lot of the peripherals,
>> they a different in the critical parts (SDRAM controller, clock setup,...)
>>
>> The Ar
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/net/designware.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index bd20a8793ae2..1d3a68384edb 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/design
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/clk/Makefile | 2 +-
drivers/clk/socfpga/Makefile | 1 +
drivers/clk/{socfpga.c => socfpga/clk.c} | 0
3 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 drivers/cl
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/clk/socfpga/Makefile | 2 +
drivers/clk/socfpga/clk-gate-a10.c | 197 +++
drivers/clk/socfpga/clk-periph-a10.c | 130 +++
drivers/clk/socfpga/clk-pll
that need to program the FPGA very early (might be needed for
the SDRAM controller) are available.
Supported peripherals are:
- clock manager
- serial
- ethernet
- i2c
- MMC
Regards,
Steffen
Steffen Trumtrar (7):
ARM: socfpga: rename socfpga->cyclone5
clk: socfpga: move dri
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/reflex-achilles/Makefile | 2 +
arch/arm/boards/reflex-achilles/hps.xml| 351 +
arch/arm/boards/reflex-ac
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/configs/socfpga-arria10_defconfig | 89 ++
1 file changed, 89 insertions(+)
create mode 100644 arch/arm/configs/socfpga-arria10_defconfig
diff --git a/arch/arm/configs/socfpga-arria10_def
Prepare the SoCFPGA code base for different system types
(Arria10, Stratix10,...).
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/boards/altera-socdk/board.c | 2 +-
.../boards/altera-socdk/iocsr_config_cyclone5.c| 2 +-
arch/arm/boards/
There is no fpga.c file.
Remove the entry.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index b81d57da26fd..dea0e075d145
The fpgamgr and sysmgr bindings are now in the upstream dtsi.
Remove them.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
Hi!
On Mon, Nov 07, 2016 at 05:56:51PM +, Ian Abbott wrote:
> Hi everyone,
>
> I'm using barebox 2016.10.0 with some custom BSP patches for my Cyclone V
> socfpga based board. I've noticed that after issuing a reboot in Linux,
> followed by an 'ifup eth0' command in barebox, I get a "eth0:
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/watchdog/dw_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index fa2752896c2f..8fd8c81e6c38 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/d
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index 66d7f21dc6a3..5b141c23914c 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/a
On Wed, Oct 26, 2016 at 08:12:07PM +, Trent Piepho wrote:
> On Mon, 2016-10-17 at 09:50 +0200, Steffen Trumtrar wrote:
> > Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
> > ---
> > arch/arm/dts/socfpga.dtsi | 10 ++
> > 1 file change
Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/dw_wdt.c | 193 ++
3
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index d16758fdab46..66d7f21dc6a3 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/ar
Port the linux v4.8-rc1 reset-socfpga driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/reset/Makefile| 1 +
drivers/reset/reset-socfpga.c | 124 ++
2 files changed, 125 insertions(+)
create mode
On Fri, Oct 14, 2016 at 11:27:14AM +0200, Steffen Trumtrar wrote:
> Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox.
>
> Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
> ---
> Changes since v1:
> - change usages of pr_warn in favor o
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index d16758fdab46..66d7f21dc6a3 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/ar
Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
Changes since v1:
- change usages of pr_warn in favor of dev_warn
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/wa
Port the linux v4.8-rc1 reset-socfpga driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
Changes since v1:
- use dev_request_mem_resource
drivers/reset/Makefile| 1 +
drivers/reset/reset-socfpga.c | 124 +++
Remove dev_dbgs containing __FILE__ and __LINE__ and no other
interesting debug informations.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/mtd/nand/nand_denali.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/mtd/nand/nand_denali.c b/d
The interrupt mask is incorrect in case of HW error correction.
The driver will time out waiting for the wrong interrupts.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/mtd/nand/nand_denali.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
Instead of using udelay and a countdown, use the is_timeout function.
Also, move the code closer to the kernel version, i.e. check for the
correct bank and clean the interrupt status.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/mtd/nand/nand_denali.
Port the linux v4.8-rc1 reset-socfpga driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/reset/Makefile| 1 +
drivers/reset/reset-socfpga.c | 125 ++
2 files changed, 126 insertions(+)
create mode
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index d16758fdab46..66d7f21dc6a3 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/ar
Port the linux v4.8-rc1 Synopsys DesignWare watchdog driver to barebox.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/dw_wdt.c | 194 ++
3
On Tue, Aug 09, 2016 at 05:48:13PM +, Trent Piepho wrote:
> On Tue, 2016-08-09 at 14:37 +0200, Steffen Trumtrar wrote:
> > Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
> > ---
> > arch/arm/configs/socfpga-xload_defconfig | 1 +
> > 1 file chan
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/filetype.c | 4
include/filetype.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index a8666a1439df..4728f877c975 100644
--- a/common/filetype.c
+++ b/common/file
From: Ulrich Ölmann <u.oelm...@pengutronix.de>
Signed-off-by: Ulrich Ölmann <u.oelm...@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/xload.c | 56 +++
1 file changed, 41 insertion
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 34 --
1 file changed, 34 deletions(-)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 95cdf5
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 12b3fa5dae40..e94df86813dc
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/boards/ebv-socrates/board.c | 36
1 file changed, 36 insertions(+)
diff --git a/arch/arm/boards/ebv-socrates/board.c
b/arch/arm/boards/ebv-socrates/board.c
index 5d2d61
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/configs/socfpga-xload_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/socfpga-xload_defconfig
b/arch/arm/configs/socfpga-xload_defconfig
index 521f3f1c1f43..e7b84dacaeaa 100644
--- a/ar
Signed-off-by: Enrico Jorns <e...@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/clk/socfpga.c | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/socfpga.c b/drivers/clk/socfpga.c
index 37
If the FPGA-side of the SDRAM controller is reconfigured via the bitstream,
the APPLYCFG bit needs to be set, so the Controller applies the new setup.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-socfpga/include/mach/socfpga-regs.h | 1 +
drivers/fi
Allow using compressed firmware images with the firmware framework.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
common/firmware.c | 82 ---
1 file changed, 78 insertions(+), 4 deletions(-)
diff --git a/common/firmwa
is required in
order to copy/move function bodies correctly in Thumb-2.
Thanks to Russell King and Nicolas Pitre for their input
on this patch.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/include/asm/fncpy.
Hi!
On Fri, Feb 26, 2016 at 08:28:32PM +, Jason Cooper wrote:
> Hi Steffen,
>
> On Fri, Feb 26, 2016 at 01:04:44PM +0100, Steffen Trumtrar wrote:
> > Instead of generating pseudo random numbers, get random bytes
> > from an optional HW generator, if enabled and regist
The struct is based on the Linux v4.5-rc5 crypto codebase.
As the crypto handling in barebox is implemented much simpler,
the struct is also shrunk to the bare minimum.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/crypto.h | 29 +
Import just the DES defines part from the v4.0 Linux Kernel
crypto des header.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/crypto/des.h | 16
1 file changed, 16 insertions(+)
create mode 100644 include/crypto/des.h
diff --git a/include/crypto
301 - 400 of 638 matches
Mail list logo