Is this patch okay?
Am 09.02.2017 um 10:36 schrieb Wadim Egorov:
> Set proper register read/write functions depending on reg-io-width
> device tree property.
>
> Signed-off-by: Wadim Egorov
> ---
>
> of_platform_device_create() creates resources in the device_d struct.
On 14.02.2017 11:48, Sascha Hauer wrote:
> On Tue, Feb 14, 2017 at 10:54:49AM +0100, Wadim Egorov wrote:
>> On 13.02.2017 20:22, Sascha Hauer wrote:
>>> On Mon, Feb 13, 2017 at 04:13:48PM +0100, Wadim Egorov wrote:
>>>> Hi,
>>>>
>>>> I would
On 13.02.2017 20:22, Sascha Hauer wrote:
> On Mon, Feb 13, 2017 at 04:13:48PM +0100, Wadim Egorov wrote:
>> Hi,
>>
>> I would like to add SPL support for the RK3288 SoC to barebox. But I am
>> facing
>> a few problems.
>>
>> The maximum size of the S
Hi,
I would like to add SPL support for the RK3288 SoC to barebox. But I am
facing
a few problems.
The maximum size of the SPL image which the ROM code will read is 32KB.
I was thinking to use the PBL feature for the SPL part. But using the
the pbl code (with decompression) seems to be not a good
Set proper register read/write functions depending on reg-io-width
device tree property.
Signed-off-by: Wadim Egorov
---
of_platform_device_create() creates resources in the device_d struct.
ns16550_init_iomem() and ns16550_init_ioport() are reading the resources
and it's flags (register
Signed-off-by: Wadim Egorov
---
arch/arm/configs/rk3288_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/rk3288_defconfig
b/arch/arm/configs/rk3288_defconfig
index f54f4cc..15e6c15 100644
--- a/arch/arm/configs/rk3288_defconfig
+++ b/arch/arm
RK3288's UART2 is the default debug uart interface.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-som-rk3288/lowlevel.c | 11 +--
arch/arm/dts/rk3288-phycore-som.dts | 2 +-
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boards/phyte
The phyCORE-RK3288 aka PCM-059 is a SoM (System on Module)
containing a RK3288 SoC. The module can be connected to different
carrier boards.
Signed-off-by: Wadim Egorov
---
Changes since v2:
- fixed sdmmc/emmc partition layouts
- renamed automount to automount-mmc to not overwrite the generic
The phyCORE-RK3288 aka PCM-059 is a SoM (System on Module)
containing a RK3288 SoC. The module can be connected to different
carrier boards.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/phytec-som-rk3288/Makefile | 3
Add clk driver for RK3288 SoC. This driver comes from the Linux kernel.
Based on kernel v4.4
Signed-off-by: Wadim Egorov
---
drivers/clk/rockchip/Makefile | 4 +-
drivers/clk/rockchip/clk-rk3288.c | 836 ++
2 files changed, 839 insertions(+), 1 deletion
Signed-off-by: Wadim Egorov
---
Documentation/boards/rk3288.rst| 57 ++
Documentation/boards/rk3288/phytec-som.rst | 24 +
2 files changed, 81 insertions(+)
create mode 100644 Documentation/boards/rk3288.rst
create mode 100644 Documentation
.
Let's seperate the RK3188 and RK3288 SoCs. Later we will have two different
configs.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/radxa-rock/board.c | 2 +-
.../{rockchip_defconfig => rk3188_defconfig} | 1 +
arch/arm/mach-rockchip/Kconfig
Signed-off-by: Wadim Egorov
---
arch/arm/configs/rk3288_defconfig | 104 ++
1 file changed, 104 insertions(+)
create mode 100644 arch/arm/configs/rk3288_defconfig
diff --git a/arch/arm/configs/rk3288_defconfig
b/arch/arm/configs/rk3288_defconfig
new file
Signed-off-by: Wadim Egorov
---
Changes since v1:
- use CONFIG_BAUDRATE instead of hard coded value
- use IOMEM macros
---
arch/arm/mach-rockchip/include/mach/debug_ll.h | 73 +++---
common/Kconfig | 6 +--
2 files changed, 46 insertions
This driver comes from the u-boot (v2016.01).
Signed-off-by: Wadim Egorov
---
Changes since v1:
- moved rk_timer to drivers/clocksource
- rk_timer now binds against a DT node
---
arch/arm/mach-rockchip/Kconfig | 5 ++
arch/arm/mach-rockchip/include/mach/timer.h | 19
The SDHC used in the RK2928 and RK3288 are compatible with each other.
Add a compatible string for RK3288's SDHC.
Signed-off-by: Wadim Egorov
---
drivers/mci/dw_mmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci/dw_mmc.c
index 0e004ab..27c36a6 1
On 03.08.2016 07:47, Sascha Hauer wrote:
> On Thu, Jul 28, 2016 at 01:55:39PM +0200, Wadim Egorov wrote:
>>
>> On 20.07.2016 19:35, Andrey Smirnov wrote:
>>> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov wrote:
>>>> This driver comes from the u-boot (v2016.0
On 21.07.2016 08:54, Sascha Hauer wrote:
> On Wed, Jul 20, 2016 at 10:52:52AM -0700, Andrey Smirnov wrote:
>> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov wrote:
>>> +
>>> +struct rk3288_cru {
>>> + struct rk3288_pll {
>>> +
On 20.07.2016 19:35, Andrey Smirnov wrote:
> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov wrote:
>> This driver comes from the u-boot (v2016.01).
> I'd suggest this to be moved to "drivers/clocksource" and converted to
> a proper driver that binds against DT
Hi Andrey,
On 20.07.2016 17:03, Andrey Smirnov wrote:
> On Wed, Jul 20, 2016 at 7:17 AM, Wadim Egorov wrote:
>> Signed-off-by: Wadim Egorov
>> ---
>> arch/arm/mach-rockchip/include/mach/debug_ll.h | 72
>> +++---
>> common/Kconfig
On 21.07.2016 09:00, Sascha Hauer wrote:
> On Wed, Jul 20, 2016 at 04:17:45PM +0200, Wadim Egorov wrote:
>> Signed-off-by: Wadim Egorov
>> ---
>> Documentation/boards/rk3288.rst| 57
>> ++
>> Documentation/
The phyCORE-RK3288 aka PCM-059 is a SoM (System on Module)
containing a RK3288 SoC. The module can be connected to different
carrier boards.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/phytec-som-rk3288/Makefile | 3
Signed-off-by: Wadim Egorov
---
Documentation/boards/rk3288.rst| 57 ++
Documentation/boards/rk3288/phytec-som.rst | 24 +
2 files changed, 81 insertions(+)
create mode 100644 Documentation/boards/rk3288.rst
create mode 100644 Documentation
Signed-off-by: Wadim Egorov
---
arch/arm/configs/rk3288_defconfig | 104 ++
1 file changed, 104 insertions(+)
create mode 100644 arch/arm/configs/rk3288_defconfig
diff --git a/arch/arm/configs/rk3288_defconfig
b/arch/arm/configs/rk3288_defconfig
new file
Add clk driver for RK3288 SoC. This driver comes from the Linux kernel.
Based on kernel v4.4
Signed-off-by: Wadim Egorov
---
drivers/clk/rockchip/Makefile | 4 +-
drivers/clk/rockchip/clk-rk3288.c | 836 ++
2 files changed, 839 insertions(+), 1 deletion
.
Let's seperate the RK3188 and RK3288 SoCs. Later we will have two different
configs.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/radxa-rock/board.c | 2 +-
.../{rockchip_defconfig => rk3188_defconfig} | 1 +
arch/arm/mach-rockchip/Kconfig
Signed-off-by: Wadim Egorov
---
arch/arm/mach-rockchip/include/mach/debug_ll.h | 72 +++---
common/Kconfig | 6 +--
2 files changed, 45 insertions(+), 33 deletions(-)
diff --git a/arch/arm/mach-rockchip/include/mach/debug_ll.h
b/arch/arm
The SDHC used in the RK2928 and RK3288 are compatible with each other.
Add a compatible string for RK3288's SDHC.
Signed-off-by: Wadim Egorov
---
drivers/mci/dw_mmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci/dw_mmc.c
index 0e004ab..27c36a6 1
This driver comes from the u-boot (v2016.01).
Signed-off-by: Wadim Egorov
---
arch/arm/mach-rockchip/Kconfig | 5 +++
arch/arm/mach-rockchip/Makefile | 1 +
arch/arm/mach-rockchip/include/mach/timer.h | 19
arch/arm/mach-rockchip/rk_timer.c | 48
Signed-off-by: Wadim Egorov
---
net/dhcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dhcp.c b/net/dhcp.c
index e1625ec..fb8a713 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -158,7 +158,7 @@ static void env_str_handle(struct dhcp_opt *opt, unsigned
char *popt, int
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/am33xx_generic.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-omap/am33xx_generic.c
b/arch/arm/mach-omap/am33xx_generic.c
index ae0ee58..5eead5c 100644
--- a/arch/arm/mach-omap/am33xx_generic.c
+++ b/arch/arm/mach-omap
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts
b/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts
index f70835f..32b43dd 100644
--- a/arch/arm/dts/am335x-phytec
On AM335x SOCs the maximum size of a downloaded MLO/PBLX image is 109 KB.
Signed-off-by: Wadim Egorov
---
v2:
size fixed: size was 109*1000
---
arch/arm/configs/am335x_mlo_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/am335x_mlo_defconfig
b/arch/arm
Signed-off-by: Wadim Egorov
---
common/Kconfig | 10 ++
images/Makefile | 2 ++
2 files changed, 12 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 3dfb5ac..cebe086 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -201,6 +201,16 @@ config BAREBOX_MAX_BARE_INIT_SIZE
On 15.06.2015 08:55, Sascha Hauer wrote:
On Wed, Jun 10, 2015 at 08:44:11AM +0200, Wadim Egorov wrote:
Hello Sascha,
On 10.06.2015 06:32, Sascha Hauer wrote:
Hi Wadim,
On Tue, Jun 09, 2015 at 09:04:25AM +0200, Wadim Egorov wrote:
Set the ethaddr for the current edev.
Signed-off-by
field is 98303 bytes).
Signed-off-by: Wadim Egorov
---
This patch is the fix for the following reported issue:
http://lists.infradead.org/pipermail/barebox/2015-March/023022.html
A 98823 bytes big lzo packed MLO will not be copied correctly to the SRAM.
This will cause a failure in the lzo code
Signed-off-by: Wadim Egorov
---
common/Kconfig | 10 ++
images/Makefile | 1 +
2 files changed, 11 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 1c5d14c..0ffa783 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -198,6 +198,16 @@ config BAREBOX_MAX_BARE_INIT_SIZE
On AM335x SOCs the maximum size of a downloaded MLO/PBLX image is 109 KB.
Signed-off-by: Wadim Egorov
---
arch/arm/configs/am335x_mlo_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/am335x_mlo_defconfig
b/arch/arm/configs/am335x_mlo_defconfig
index 1dd7567
Hello Sascha,
On 10.06.2015 06:32, Sascha Hauer wrote:
Hi Wadim,
On Tue, Jun 09, 2015 at 09:04:25AM +0200, Wadim Egorov wrote:
Set the ethaddr for the current edev.
Signed-off-by: Wadim Egorov
---
net/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/eth.c b/net/eth.c
index
Set the ethaddr for the current edev.
Signed-off-by: Wadim Egorov
---
net/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/eth.c b/net/eth.c
index 89bddba..03e0a2e 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -49,6 +49,7 @@ static void register_preset_mac_address(struct eth_device
Generate *.spi.img files for SPI loading on AM335x.
Signed-off-by: Wadim Egorov
---
v3:
- Added %.mlo file dependency
---
images/Makefile.am33xx | 28
1 file changed, 28 insertions(+)
diff --git a/images/Makefile.am33xx b/images/Makefile.am33xx
index
Please squash this patch into
[PATCH v3 2/3] net: dhcp: Split dhcp funcionality & add dhcp command
Signed-off-by: Wadim Egorov
---
net/dhcp.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/dhcp.c b/net/dhcp.c
index eb4bb38..e1625ec 100644
--- a/net/dhcp.c
+
On 05.06.2015 08:39, Wadim Egorov wrote:
Generate *.spi.img files for SPI loading on AM335x.
Signed-off-by: Wadim Egorov
---
Please ignore the first patch. That was a bad approach.
I have two questions.
1. Does the af inventions GF board support SPI boot? If not, we can drop the
spi
Generate *.spi.img files for SPI loading on AM335x.
Signed-off-by: Wadim Egorov
---
Please ignore the first patch. That was a bad approach.
I have two questions.
1. Does the af inventions GF board support SPI boot? If not, we can drop the
spi image generation.
2. Building the barebox with
Hello Sascha,
please drop this patch. I don't think this is the right way
to add new image types for the AM335x.
Regards,
Wadim
On 04.06.2015 11:06, Sascha Hauer wrote:
On Tue, Jun 02, 2015 at 10:01:07AM +0200, Wadim Egorov wrote:
Signed-off-by: Wadim Egorov
---
images/Mak
Signed-off-by: Wadim Egorov
---
common/bootsource.c | 1 +
include/bootsource.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/bootsource.c b/common/bootsource.c
index 7f3d51f..707b079 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -35,6 +35,7 @@ static const char
.
Signed-off-by: Wadim Egorov
---
v3:
- Moved DHCP_DEFAULT_RETRY define to dhcp.h
- CMD_DHCP now selects NET_DHCP
---
commands/Kconfig | 1 +
commands/Makefile | 1 +
commands/dhcp.c | 78 ++
include/dhcp.h| 25 +
net/Kconfig
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/Kconfig | 9 +++
arch/arm/mach-omap/am33xx_generic.c | 3 +++
arch/arm/mach-omap/xload.c | 51 +
3 files changed, 63 insertions(+)
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm
Signed-off-by: Wadim Egorov
---
images/Makefile| 2 +-
images/Makefile.am33xx | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/images/Makefile b/images/Makefile
index 587cb26..36c1a57 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -123,6 +123,6 @@ images
.
Signed-off-by: Wadim Egorov
---
v2:
- Added a memset in commands/dhcp.c to clear the dhcp_param variable
Please apply this set.
---
commands/Kconfig | 1 +
commands/Makefile | 1 +
commands/dhcp.c | 78 ++
include/dhcp.h| 23
net/Kconfig
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/Kconfig | 9 +++
arch/arm/mach-omap/am33xx_generic.c | 3 +++
arch/arm/mach-omap/xload.c | 52 -
3 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap
Signed-off-by: Wadim Egorov
---
common/bootsource.c | 1 +
include/bootsource.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/bootsource.c b/common/bootsource.c
index 7f3d51f..707b079 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -35,6 +35,7 @@ static const char
AM335x's MLO size limit is 109K.
The am33xx.dtsi file adds spare and never used nodes to the dtb.
With this patch we add a file to remove the unused nodes and reduce the
size of the dtb.
Including this file will reduce the lzo packed MLO size about 6K.
Signed-off-by: Wadim Egorov
-
This patch will reduce the size of the MLO images.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycard-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 1 +
3 files changed, 3 insertions(+)
diff --git a
.
Signed-off-by: Wadim Egorov
---
commands/Kconfig | 1 +
commands/Makefile | 1 +
commands/dhcp.c | 77 +
include/dhcp.h| 23
net/Kconfig | 4 ++
net/Makefile | 2 +-
net/dhcp.c| 164
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/Kconfig | 9 +++
arch/arm/mach-omap/am33xx_generic.c | 3 +++
arch/arm/mach-omap/xload.c | 52 -
3 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap
Signed-off-by: Wadim Egorov
---
common/bootsource.c | 1 +
include/bootsource.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/bootsource.c b/common/bootsource.c
index 7f3d51f..707b079 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -35,6 +35,7 @@ static const char
This patch will reduce the size of the MLO images.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycard-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 1 +
arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 1 +
3 files changed, 3 insertions(+)
diff --git a
AM335x's MLO size limit is 109K.
The am33xx.dtsi file adds spare and never used nodes to the dtb.
With this patch we add a file to remove the unused nodes and reduce the
size of the dtb.
Including this file will reduce the lzo packed MLO size about 8K.
Signed-off-by: Wadim Egorov
---
arc
Commit 461f8cfc7ea78842824027181836ceff5c4c renamed the SCRM compatible
string in am33xx.dtsi and breaks all am335x based boards.
Rename the SCRM compatible string.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/am33xx_scrm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
: Wadim Egorov
---
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 8221632..bd5cae2 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -1774,7 +1774,8 @@ int mci_register(struct
Add support for the phyCARD SOM.
Signed-off-by: Wadim Egorov
---
Documentation/boards/am335x/phytec-som.rst | 4 +
arch/arm/boards/phytec-som-am335x/board.c | 6 +
arch/arm/boards/phytec-som-am335x/lowlevel.c| 4 +
arch/arm/boards/phytec-som-am335x/ram-timings.h | 23
Also activate in defconfig.
Signed-off-by: Wadim Egorov
---
v4: Calling am33xx_detect_reset_reason() from am33xx_init() is now possible.
---
arch/arm/configs/am335x_defconfig| 1 +
arch/arm/mach-omap/am33xx_generic.c | 36
arch/arm/mach
Some SoCs have special device pins for external reset signals.
Signed-off-by: Wadim Egorov
---
common/reset_source.c | 1 +
include/reset_source.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/reset_source.c b/common/reset_source.c
index 946670b..ae2f9f3 100644
--- a/common
On 12.02.2015 09:30, Sascha Hauer wrote:
On Wed, Feb 11, 2015 at 10:57:50AM +0100, Wadim Egorov wrote:
On 11.02.2015 08:39, Sascha Hauer wrote:
On Tue, Feb 10, 2015 at 03:13:58PM +0100, Wadim Egorov wrote:
Also activate in defconfig.
Signed-off-by: Wadim Egorov
+ break
On 11.02.2015 08:39, Sascha Hauer wrote:
On Tue, Feb 10, 2015 at 03:13:58PM +0100, Wadim Egorov wrote:
Also activate in defconfig.
Signed-off-by: Wadim Egorov
+ break;
+ case (1 << 1):
+ reset_source_set(RESET_RST);
+ break;
+ c
Also activate in defconfig.
Signed-off-by: Wadim Egorov
---
v3: Remove init wrapper
---
arch/arm/configs/am335x_defconfig| 1 +
arch/arm/mach-omap/am33xx_generic.c | 39
arch/arm/mach-omap/include/mach/am33xx-silicon.h | 1 +
3 files
Some SoCs have special device pins for external reset signals.
Signed-off-by: Wadim Egorov
---
common/reset_source.c | 1 +
include/reset_source.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/reset_source.c b/common/reset_source.c
index 946670b..ae2f9f3 100644
--- a/common
Some SoCs have special device pins for external reset signals.
Signed-off-by: Wadim Egorov
---
common/reset_source.c | 1 +
include/reset_source.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/reset_source.c b/common/reset_source.c
index 946670b..ae2f9f3 100644
--- a/common
Also activate in defconfig.
Signed-off-by: Wadim Egorov
---
v2: Use the existing rest_source framework.
---
arch/arm/configs/am335x_defconfig| 1 +
arch/arm/mach-omap/am33xx_generic.c | 44
arch/arm/mach-omap/include/mach/am33xx-silicon.h
From: Teresa Gámez
We double the partition size for barebox-env and oftree to be
more robust against bad block issues.
Signed-off-by: Teresa Gámez
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phyflex-som.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
From: Teresa Gámez
We double the partition size for barebox-env and oftree to be
more robust against bad block issues.
Signed-off-by: Teresa Gámez
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
Print the last occurred reset reason in MLO.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-som-am335x/board.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/phytec-som-am335x/board.c
b/arch/arm/boards/phytec-som-am335x/board.c
index d084898
This patch adds a function to retrieve the last occurred reset reason
on the AM335x.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/am33xx_generic.c | 41
arch/arm/mach-omap/include/mach/am33xx-generic.h | 13
arch/arm/mach-omap/include/mach
Signed-off-by: Wadim Egorov
---
Documentation/boards/am335x.rst| 22 ++---
Documentation/boards/am335x/phytec-som.rst | 31 ++
2 files changed, 50 insertions(+), 3 deletions(-)
create mode 100644 Documentation/boards/am335x/phytec-som.rst
To support different module variants, this patch splits the phyFLEX DT
in dts and dtsi.
And we are also adding a DT for the MLO, which has all bootable devices
disabled. The bootsource is checked in the board file and only the needed
device is enabled and registered.
Signed-off-by: Wadim Egorov
Both boards are now merged in the phycore-som-am335x board.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/Makefile | 2 -
arch/arm/boards/phytec-phycore-am335x/Makefile | 3 -
arch/arm/boards/phytec-phycore-am335x/board.c | 91 -
.../defaultenv
E, phyFLEX.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/phytec-som-am335x/Makefile | 3 +
arch/arm/boards/phytec-som-am335x/board.c | 104 ++
.../defaultenv-physom-am335x/boot/mmc
Added a new compatible type for am335x phytec SOMs
"phytec,am335x-som"
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 2 +-
arch/arm/dts/am335x-phytec-phycore-som.dts | 2 +-
arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 2 +-
arch/arm/
Signed-off-by: Wadim Egorov
---
Documentation/boards/efi.rst | 14 +++---
Documentation/user/booting-linux.rst | 4 ++--
Documentation/user/variables.rst | 2 +-
commands/Kconfig | 2 +-
commands/of_property.c | 2 +-
common/Kconfig
Yes, I have tested this on Linux (3.12).
On 20.01.2015 08:00, Sascha Hauer wrote:
On Mon, Jan 19, 2015 at 01:34:37PM +0100, Wadim Egorov wrote:
Add USB host support for all phycore-som based boards.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 30
Add USB host support for the phyflex-som.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phyflex.dts | 31 +++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts
b/arch/arm/dts/am335x-phytec-phyflex.dts
index 6c49567
Add USB host support for all phycore-som based boards.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 30 +
1 file changed, 30 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi
b/arch/arm/dts/am335x-phytec-phycore
Pin 0x74 (gpmc_wpn.gpio0_30) is not used on the phyCORE SOM.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi
b/arch/arm/dts/am335x-phytec-phycore
The KSZ9031 gigabit phy on the PBA-B-01 carrier board needs special settings
for the RGMII skew control register.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/am335x-phytec-phyflex.dts | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/am335x-phytec
f pin multiplexing is
selected with bit zero of the SMA2 register."
See AM335x Sitara Processors Manual.
Signed-off-by: Wadim Egorov
---
v2: Added silicon revision check. SMA2 register does not exist in revision 1.0
arch/arm/mach-omap/am33xx_generic.c | 17 +
arch/arm
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-phyflex-am335x/board.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c
b/arch/arm/boards/phytec-phyflex-am335x/board.c
index 12fad8f..cf7dd2e 100644
--- a/arch/arm
f pin multiplexing is
selected with bit zero of the SMA2 register."
See AM335x Sitara Processors Manual.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/am33xx_generic.c | 12
arch/arm/mach-omap/include/mach/am33xx-generic.h |1 +
2 files changed, 13 insertions(+), 0
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-phyflex-am335x/board.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c
b/arch/arm/boards/phytec-phyflex-am335x/board.c
index 12fad8f..cf7dd2e 100644
--- a/arch/arm
Adds support for ksz9031 PAD skew configuration over devicetree.
Based on a patch from the linux kernel.
Author: Hubert Chaumette
Original commit: 6e4b82730c7525504fc485b370c7f09e594e2e96
Signed-off-by: Wadim Egorov
---
drivers/net/phy/micrel.c | 86
: Wadim Egorov
---
drivers/net/cpsw.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index 167b2dd..a0621f5 100644
--- a/drivers/net/cpsw.c
+++ b/drivers/net/cpsw.c
@@ -1200,6 +1200,19 @@ int cpsw_probe(struct device_d
Added missing filetype description for UBIFS.
Signed-off-by: Wadim Egorov
---
common/filetype.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/filetype.c b/common/filetype.c
index a04fbdd..86e544a 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -51,6
- Added barebox nand xloadslots update handler
- This handler updates all given xload slots in nand
Signed-off-by: Wadim Egorov
---
v3:
- added static inline to bbu register function
---
arch/arm/mach-omap/Kconfig | 10 ++
arch/arm/mach-omap/Makefile
Added bbu nand xloadslots handler to phycore-am335x.
Signed-off-by: Wadim Egorov
---
v3:
- xloadslots array is now static
- renamed handler: xloadslots -> MLO.nand
---
arch/arm/boards/phytec-phycore-am335x/board.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
d
- Added barebox nand xloadslots update handler
- This handler updates all given xload slots in nand
Signed-off-by: Wadim Egorov
---
v2:
- fixed xloadslots updater description in mach-omap/Kconfig
- changed method to pass device files
- added nand_bbu_handler struct
- added write_image
Added bbu nand xloadslots handler to phycore-am335x.
Signed-off-by: Wadim Egorov
---
v2:
- changed method to pass device files
---
arch/arm/boards/phytec-phycore-am335x/board.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/phytec-phycore
- Added barebox nand xloadslots update handler
- This handler updates all given xload slots in nand
Signed-off-by: Wadim Egorov
---
arch/arm/mach-omap/Kconfig |9 ++
arch/arm/mach-omap/Makefile |1 +
arch/arm/mach-omap
From: Teresa Gámez
Updated timings for new MT41J256M16HA15EIT RAM.
Timings are backward compatible to the MT41J256M8HX15E RAMs
Signed-off-by: Teresa Gámez
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 28 ++---
1 files changed, 13
- Added omap CH image header recognition
* filetype_ch_image
* filetype_ch_image_be
Signed-off-by: Wadim Egorov
---
common/filetype.c | 12
include/filetype.h |2 ++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/common/filetype.c b/common/filetype.c
Added bbu nand xloadslots handler to phycore-am335x.
Signed-off-by: Wadim Egorov
---
arch/arm/boards/phytec-phycore-am335x/board.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/phytec-phycore-am335x/board.c
b/arch/arm/boards/phytec-phycore-am335x
100 matches
Mail list logo