> From: Sean Anderson
> Sent: Monday, September 14, 2020 18:35
> To: u-boot@lists.denx.de; uboot-snps-...@synopsys.com
> Cc: Marek Vasut; Horatiu Vultur; Eugeniy Paltsev; Jagan Teki; Heinrich
> Schuchardt; Sean Anderson
> Subject: [PATCH v3 08/10] spi: dw: Add mem_ops
>
>
FYI: I've tested on commit aa68b00a8259aa026591475f21a5c51311252ef2 (current
branch head) and I don't see any build/runtime issues.
Tested-by Eugeniy Paltsev
---
Eugeniy Paltsev
From: Sean Anderson
Sent: Monday, August 10, 2020 14:13
T
Hi Sean,
do you have any public git branch with this patch series?
I want to test these changes on our board with DW SPI controller.
Thanks.
---
Eugeniy Paltsev
From: Sean Anderson
Sent: Friday, August 7, 2020 17:43
To: u-boot@lists.denx.de; uboot
Define clock map with DT binding constants so clock map can be
discontinuous.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 56 --
1 file changed, 29 insertions(+), 27 deletions(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk
HSDK and HSDK-4xD clock trees are slightly different.
commit 1dfb2ec0d7fb ("ARC: HSDK: CGU: add support for timer clock")
introduce regression for HSDK board cause crash when setting
tunnel clock. Fix that.
Fixes: 1dfb2ec0d7fb ("ARC: HSDK: CGU: add support for timer clock")
Si
* constify clocks config data where is possible
* use more appropriate data types for clocks config
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 41 +++---
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/drivers/clk/clk-hsdk
The clock trees of HSDK and HSDK-4xD vary so we need to prepare
CGU driver for multiple clock maps support.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b
We don't want to allow change some clocks, i.e. DDR clock.
So allow to have set_clock to be unset in clock map.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk
hsdk_axi_clk_cfg and hsdk_tun_clk_cfg clock divider structures
and functions for their processing are almost the same so
merge them to avoid code duplication.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 112 +
1 file changed, 40 insertions
HSDK and HSDK-4xD clock trees are slightly different.
commit 1dfb2ec0d7fb ("ARC: HSDK: CGU: add support for timer clock")
introduce regression for HSDK board cause crash when setting
tunnel clock.
Fix that and do required code cleanup.
Eugeniy Paltsev (8):
CLK: ARC: HSDK:
Minor code cleanup to improve readability. No functional change intended.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 75 --
1 file changed, 39 insertions(+), 36 deletions(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk
Drop creg_div_oft offset as it doesn't vary (due to it is used for
CPU PLL only).
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 57 +++---
1 file changed, 28 insertions(+), 29 deletions(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/driver
Remove redundant '0x' from node names.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/axs10x_mb.dtsi | 4 ++--
arch/arc/dts/hsdk-common.dtsi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arc/dts/axs10x_mb.dtsi b/arch/arc/dts/axs10x_mb.dtsi
index 5
Add reset phandle to EHCI device tree node to make on-chip reset
controller usable with EHCI.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk-common.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arc/dts/hsdk-common.dtsi b/arch/arc/dts/hsdk-common.dtsi
index
Anounce state of BIM switch which defines if U-boot is loaded
and started by preloader or not.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c
index a3e0563ff45
Hi Simon, Tom,
I guess it's perfect time to apply this patch. Thanks!
---
Eugeniy Paltsev
From: Simon Glass
Sent: Monday, March 23, 2020 18:37
To: Eugeniy Paltsev
Cc: Tom Rini; U-Boot Mailing List; uboot-snps-...@synopsys.com; Alexey Brodkin;
Print relocation information in bdinfo.
NOTE: this patch changes only ARC part of bdinfo code.
Signed-off-by: Eugeniy Paltsev
---
cmd/bdinfo.c | 4
1 file changed, 4 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index d6a7175b379..31ec4615641 100644
--- a/cmd/bdinfo.c
+++ b/cmd
HSDK-4xD has quite different environment so let's split
HSDK and HSDK-4xD configs file.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/Kconfig | 3 +-
board/synopsys/hsdk/MAINTAINERS | 2 +
include/configs/hsdk-4xd.h | 120
3 files ch
Add support for CSM enable/disable and CSM relocation via
hsdk_init command. We allow to relocate CSM to the beginning of
any aperture even if HW support finer granularity.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/arcregs.h | 3 +++
board/synopsys/hsdk/hsdk.c | 27
ve after U-boot is reloaded via MDB.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c
index 329427ed4ba..a3e0563ff45 100644
-
HSDK-4xD has HDMI working so let's print info about HDMI clocks.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c
index 577893de2a1..45bc5e
Split HSDK and HSDK-4xD device tree files so they can have
different model names.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/Makefile | 2 +-
arch/arc/dts/hsdk-4xd.dts | 12 +++
arch/arc/dts/hsdk-common.dtsi | 150 ++
arch/arc/dts/hsdk.dts
Add support for SLC enable/disable via hsdk_init command.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c
index b8b995db47d..b25b1331874 100644
--- a
For HSDK-4xD we do additional AXI bridge tweaking while doing
hsdk_init command:
- we shrink IOC region.
- we configure ARC HS CORE SLV1 aperture depending on
haps_apb_location environment variable.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 58
HSDK-4xD has other GPU type so it consumes only GPU core clock.
Even we have additional GPU clock dividers they are not routed
to anything. So drop information about those additional clocks
in hsdk_clock print_all command.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 6
ARC HS CPU in HSDK-4xD has ARC ID = 0x54, so fix headerize script
accordingly.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/config.mk | 12 ++--
board/synopsys/hsdk/headerize-hsdk.py | 2 +-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/board
Print timer clock value in hsdk_clock print_all command.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk-common.dtsi | 6 --
board/synopsys/hsdk/hsdk.c| 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arc/dts/hsdk-common.dtsi b/arch/arc/dts/hsdk
: Eugeniy Paltsev
---
arch/arc/Kconfig| 2 +-
board/synopsys/hsdk/Kconfig | 17
board/synopsys/hsdk/MAINTAINERS | 3 +-
board/synopsys/hsdk/config.mk | 8
board/synopsys/hsdk/hsdk.c | 71 -
configs/hsdk_4xd_defconfig
Add quirk for HSDK-4xD - due to HW issues HSDK can use any pulse
polarity but HSDK-4xD require active low polarity of cpu_start pulse.
So use low polarity of cpu_start pulse for both board.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/hsdk/hsdk.c | 26 +++---
1 file
regardless
of DSP presence we need to set DSP_CTRL properly.
NOTE:
we do the same adjustments in Linux kernel, see in kernel tree:
commit 4827d0cf744e ("ARC: handle DSP presence in HW")
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/arcregs.h | 1 +
arch/arc/lib/start.S
Add support for additional timer clock which belongs to tunnel
domain.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c| 9 ++---
include/dt-bindings/clock/snps,hsdk-cgu.h | 5 +++--
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk
Eugeniy Paltsev (14):
ARC: ARCv2: handle DSP presence in HW
ARC: HSDK: CGU: add support for timer clock
ARC: HSDK-4xD: add initial board support
ARC: HSDK: split HSDK and HSDK-4xD DTS
ARC: HSDK-4xD: use active low polarity of cpu_start pulse
ARC: HSDK-4xD: fix headerize script for HSDK
As we've dropped NAND support for AXS101 and AXS103
see commit 4f5e552d95bb ("ARC: AXS10x: drop NAND support")
we don't need bounce buffer anymore.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/Kconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arc/Kconfig b/ar
We set wrong tunnel PLL frequency when we request 125MHz tunnel clock.
Fix that.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c
index 4637b9fdf15
We must use compiler barriers in C-version read/write IO accessors
before and after operation (read or write) so it won't be reordered
by compiler.
Fixes commit 07906b3dad15 ("ARC: Switch to generic accessors")
Signed-off-by: Eugeniy Paltsev
---
arch/arc/includ
We must use 'volatile' in C-version read/write IO accessors
implementation to avoid merging several reads (writes) into
one read (write), or optimizing them out by compiler.
Fixes commit 07906b3dad15 ("ARC: Switch to generic accessors")
Signed-off-by: Eugeniy Paltsev
---
ot is not that performance oriented as real run-time
software like OS or user bare-metal app so we may afford being not
super fast as we only being executed once.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/io.h | 58 +++
1 file changed, 35 inser
Fixing of DW SPI which was broken by
commit 07906b3dad15 ("ARC: Switch to generic accessors")
lead me to several fixes in ARC IO accessors code.
Eugeniy Paltsev (3):
ARC: IO: add volatile to accessors
ARC: IO: add compiler barriers to IO accessors
ARC: IO: add MB for __ra
user bare-metal app so we may afford being not
super fast as we only being executed once.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/io.h | 49 ++-
1 file changed, 33 insertions(+), 16 deletions(-)
diff --git a/arch/arc/include/asm/io.h b/a
As of today 'random' command return 1 (CMD_RET_FAILURE) in case
of successful execution and 0 (CMD_RET_SUCCESS) in case of bad
arguments. Fix that.
NOTE: we remove printing usage information from command body
so it won't print twice.
Signed-off-by: Eugeniy Paltsev
---
Hi Sean,
even after fixing build errors with this patch I still have issues with
communications to flash IC.
Now it is detected correctly (JEDEC id is valid) but I have issues with read or
write.
I need to look to that more intently.
---
Eugeniy Paltsev
As the driver of on-chip reset controller became available
we are ready to enable it.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk.dts | 7 +++
configs/hsdk_defconfig | 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts
index
Since version 3.0 ARC HS supports SL$ (L2 system level cache)
disable. So add support for SL$ disable/enable to code.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/cache.h | 7 +++
arch/arc/lib/cache.c | 114 ---
2 files changed, 114
Eugeniy Paltsev (2):
ARC: CACHE: add support for SL$ disable
ARC: CACHE: mark IOC helper functions as inlined_cachefunc
arch/arc/include/asm/cache.h | 7 +++
arch/arc/lib/cache.c | 118 ---
2 files changed, 116 insertions(+), 9 deletions
Force inlining of IOC related functions used in other cache
functions. This is preventive change.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/lib/cache.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c
index c42723daeb2
error -2)
->8--
Tested from maix_spi HEAD (e338571bf528f58b3ced7fbd0c1f5d923caa1cfd)
---
Eugeniy Paltsev
From: Sean Anderson
Sent: Friday, March 6, 2020 03:48
To: Eugeniy Paltsev; u-boot@lists.denx.de
Cc: Simon Glass;
Hi Sean,
do you have branch with this code (all dw spi changes) in some public repo?
I would like to test it with our board (which have DW SPI).
---
Eugeniy Paltsev
From: Sean Anderson
Sent: Thursday, March 5, 2020 22:19
To: u-boot@lists.denx.de
Cc
uot; selection.
Given for each and every platform we end-up adding quite a few more flags
it's logical to move "-mcpu" selection to platform's definition as well
which we exactly do here.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/config.mk | 20 -
HDMI PLL has its own xtal with 27 MHz output but we treat it the same
way as other PLLs with 33.33 MHz input.
Fix that.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/clk
Pll bypass has priority over enable/disable.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-cgu.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c
index 56ef08c032b..69e6b24b66c 100644
--- a/drivers/clk
Hi Alexey,
ping!
---
Eugeniy Paltsev
From: Eugeniy Paltsev
Sent: Thursday, November 28, 2019 18:54
To: uboot-snps-...@synopsys.com; Alexey Brodkin
Cc: u-boot@lists.denx.de; Eugeniy Paltsev
Subject: Re: [PATCH] ARC: enable unit tests on development
Hi Alexey,
ping!
---
Eugeniy Paltsev
From: Eugeniy Paltsev
Sent: Friday, November 8, 2019 18:31
To: uboot-snps-...@synopsys.com; Alexey Brodkin
Cc: u-boot@lists.denx.de; Eugeniy Paltsev
Subject: [PATCH] ARC: enable unit tests on development platforms
Enable unit tests on HSDK and AXS103 development platforms to
run it in verification flow.
Signed-off-by: Eugeniy Paltsev
---
configs/axs103_defconfig | 2 ++
configs/hsdk_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/axs103_defconfig b/configs/axs103_defconfig
Signed-off-by: Eugeniy Paltsev
---
configs/axs101_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig
index 0bfb532fc74..38c8ae998fd 100644
--- a/configs/axs101_defconfig
+++ b/configs/axs101_defconfig
@@ -35,7 +35,9 @@ CONFIG_DM=y
Introduce reset driver for Synopsys ARC HSDK SoC
Signed-off-by: Eugeniy Paltsev
---
drivers/reset/Kconfig | 7 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-hsdk.c | 116
include/dt-bindings/reset/snps
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e752e4b3de0..4cecbb6d134 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -94,6 +94,13 @@ L: uboot-snps-...@synopsys.com
F: doc/device-tree-bindings/gpio
that by adding "snps,arc-dwmac-3.70a" compatible string to
"drivers/net/designware.c" and using it in ARC boards device tree.
Signed-off-by: Eugeniy Paltsev
---
Tom, could you please pick this patch to 2019.10?
arch/arc/dts/axs10x_mb.dtsi | 2 +-
arch/arc/dts/hsdk.dts
[1B in] 81 [ret 0]
SF: 16 bytes @ 0x18 Written: OK
OK
AXS# sf read 0x8100 0x18 0x10 && echo OK
device 0 offset 0x18, size 0x10
0b 00 18 00 00 | [16B in] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ret
0]
SF: 16 bytes @ 0x18 Read: OK
OK
->8--
t I need to check it.
---
Eugeniy Paltsev
From: Vignesh Raghavendra
Sent: Tuesday, September 24, 2019 08:56
To: Jagan Teki; Eugeniy Paltsev; Ashish Kumar; Simon Goldschmidt
Cc: Vignesh Raghavendra; u-boot@lists.denx.de; Tom Rini; Alexey Brodkin
Subject: [PATCH RFT 0
AXS# md.b 0x8100 0x10
8100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AXS#
-->8----
All tests were performed on 4b95daf5dca with your commit (for disabling 4B
opcodes) applied.
---
Eugeniy Paltsev
___________
Hi Vignesh,
I doesn't have access to board with n25q512ax3 currently, however I can test
this on Monday (16.09)
---
Eugeniy Paltsev
From: Vignesh Raghavendra
Sent: Tuesday, September 10, 2019 15:27
To: Eugeniy Paltsev; Jagan Teki
Cc: u
Hi Vignesh,
that patch helps - both erase and write works fine.
For n25q512ax3:
Tested-by: "Eugeniy Paltsev "
---
Eugeniy Paltsev
From: Vignesh Raghavendra
Sent: Tuesday, September 10, 2019 08:07
To: Eugeniy Paltsev; Jagan Teki
viously by
Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs
protection ops)
Signed-off-by: Eugeniy Paltsev
---
drivers/mtd/spi/sf_internal.h | 1 +
drivers/mtd/spi/spi-nor-core.c | 181 +
include/linux/mtd/spi-nor.h| 4 +
3 files changed, 186
enabled by
Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs
protection ops)
Signed-off-by: Eugeniy Paltsev
---
drivers/mtd/spi/spi-nor-ids.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index a
>On Wed, Sep 4, 2019 at 11:37 PM Eugeniy Paltsev
> wrote:
>>
>> Commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework)
>> performs switch from previous 'spi_flash' infrastructure without
>> proper testing/investigations which results in regression
Hi!
Comments are inlined:
>On 04/09/19 11:37 PM, Eugeniy Paltsev wrote:
>> We faced with regressions caused by
>> commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework)
>> This switch was performed by removing entire u-boot spi-flash
>> core implementation
ystem changes mustn't be done such harmful way.
Eugeniy Paltsev (1):
MTD: SPI: revert removing SST26* flash IC protection ops
drivers/mtd/spi/sf_internal.h | 1 +
drivers/mtd/spi/spi-nor-core.c | 181 +
drivers/mtd/spi/spi-nor-ids.c | 8 +-
include/lin
which were introduced previously by
Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs
protection ops)
Signed-off-by: Eugeniy Paltsev
---
Tom, could you please pick this patch to 2019.10?
drivers/mtd/spi/sf_internal.h | 1 +
drivers/mtd/spi/spi-nor-co
ssues. So instead of keeping support of yet another
non-standard peripheral we're dropping its support for good.
Signed-off-by: Eugeniy Paltsev
---
board/synopsys/axs10x/Makefile | 1 -
board/synopsys/axs10x/nand.c | 242 -
configs/axs101_defconf
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/axs10x_mb.dtsi| 28
board/synopsys/axs10x/axs10x.c | 29 -
configs/axs103_defconfig | 2 ++
3 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/arch/arc/dts
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk.dts | 26 ++
board/synopsys/hsdk/hsdk.c | 41 ++---
configs/hsdk_defconfig | 2 ++
3 files changed, 34 insertions(+), 35 deletions(-)
diff --git a/arch/arc/dts/hsdk.dts b
Add the DM_MMC-compatible DesignWare MMC driver support for Synopsys
ARC devboards. It is created to switch ARC devboards to use DM_MMC.
It required information such as clocks (Bus Interface Unit clock,
Card Interface Unit clock) and SDIO bus width.
Signed-off-by: Eugeniy Paltsev
Introduce DesignWare MMC driver extension and migrate several ARC
devboard to DM_MMC
Eugeniy Paltsev (3):
ARC: dwmmc: Adding DesignWare MMC driver support for ARC devboards
ARC: [plat-hsdk]: migrate to DM_MMC
ARC: [plat-axs10x]: migrate to DM_MMC
MAINTAINERS
spi_flash@0 {
> - compatible = "spi-flash";
> + compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <400>;
> };
>
--
Eugeniy Paltsev
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
CPU (and hence cpu timers) on HSDK board runs at 500MHz after
preloader so fix wrong CPU frequency value in hsdk.dts
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts
index
-off-by: Eugeniy Paltsev
---
board/synopsys/axs10x/config.mk| 23 +
board/synopsys/axs10x/headerize-axs.py | 176 +
include/configs/axs10x.h | 7 ++
3 files changed, 206 insertions(+)
create mode 100644 board/synopsys/axs10x/config.mk
AXS10x boards have n25q512 spi flash IC, so add corresponding
nodes to device tree and enaple corresponding options in
defconfig.
Signed-off-by: Eugeniy Paltsev
---
NOTE: this patch has prerequisite:
http://patchwork.ozlabs.org/patch/926871/
Changes v1->v2:
* change SPI CS gpio compatible n
AXS10x boards have n25q512 spi flash IC, so add corresponding
nodes to device tree and enaple corresponding options in
defconfig.
Signed-off-by: Eugeniy Paltsev
---
NOTE: this patch has prerequisite:
http://patchwork.ozlabs.org/patch/926871/
arch/arc/dts/axs10x_mb.dtsi | 34
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS | 1 +
doc/device-tree-bindings/gpio/snps,creg-gpio.txt | 43
2 files changed, 44 insertions(+)
create mode 100644 doc/device-tree-bindings/gpio/snps,creg-gpio.txt
diff --git a
pio line,
activate / deactivatei and shift values. Fix that by read them from
device tree to be able to use this driver for other boards.
Eugeniy Paltsev (2):
GPIO: CREG: improve flexibility of hsdk-creg-gpio driver
CREG GPIO: add device tree bindings
MAINTAINERS
pio line,
activate / deactivatei and shift values. Fix that by read them from
device tree to be able to use this driver for other boards.
Remove "hsdk" prefix from compatible string as this driver can be
used with different boards like HSDK, AXS101, AXS103, etc.
Signed-off-by: E
-by: Eugeniy Paltsev
---
Changes v1->v2:
* Comments change
board/synopsys/hsdk/config.mk | 11 +++
board/synopsys/hsdk/headerize-hsdk.py | 149 ++
include/configs/hsdk.h| 6 ++
3 files changed, 166 insertions(+)
create mode 100644 bo
-by: Eugeniy Paltsev
---
board/synopsys/hsdk/config.mk | 11 +++
board/synopsys/hsdk/headerize-hsdk.py | 147 ++
include/configs/hsdk.h| 6 ++
3 files changed, 164 insertions(+)
create mode 100644 board/synopsys/hsdk/config.mk
create mode
Signed-off-by: Eugeniy Paltsev
---
configs/axs101_defconfig | 5 +
configs/axs103_defconfig | 5 +
configs/hsdk_defconfig | 5 +
3 files changed, 15 insertions(+)
diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig
index 25b10888ced..559ed4734c1 100644
--- a/configs
Eugeniy Paltsev (2):
ARC: init debug uart in early common arc code
ARC: enable debug uart for HSDK and AXS10x boards
arch/arc/lib/start.S | 5 +
configs/axs101_defconfig | 5 +
configs/axs103_defconfig | 5 +
configs/hsdk_defconfig | 5 +
4 files changed, 20 insertions
The debug UART is intended for use very early in U-Boot to debug
problems before serial drivers are up.
Call debug_uart_init right before board_init_f.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/lib/start.S | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arc/lib/start.S b/arch
FIFO flush")
Signed-off-by: Eugeniy Paltsev
---
drivers/spi/designware_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.c
index 0e93b62eee..5e2d290ddc 100644
--- a/drivers/spi/designware_spi.c
+++ b/d
Signed-off-by: Eugeniy Paltsev
---
arch/arc/lib/init_helpers.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arc/lib/init_helpers.c b/arch/arc/lib/init_helpers.c
index 435fe96ef4..822318ff43 100644
--- a/arch/arc/lib/init_helpers.c
+++ b/arch/arc/lib/init_helpers.c
@@ -7,8 +7,6
Update ARC architecture maintainers and add
uboot-snps-...@synopsys.com mailing list.
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 44eeefa635..9f653a0137 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -55,7
Signed-off-by: Eugeniy Paltsev
---
configs/axs101_defconfig | 1 +
configs/axs103_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig
index 174b80aeed..25b10888ce 100644
--- a/configs/axs101_defconfig
+++ b/configs/axs101_defconfig
CPU on HSDK board runs at 500MHz after preloader so fix
wrong cpu orequency value in hsdk_defconfig in hsdk.
Signed-off-by: Eugeniy Paltsev
---
configs/hsdk_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/hsdk_defconfig b/configs/hsdk_defconfig
index
Hi Jagan!
Any comments?
On Tue, 2018-04-10 at 14:40 +0300, Eugeniy Paltsev wrote:
> sst26wf flash series block protection implementation differs
> from other SST series, so add specific implementation
> flash_lock/flash_unlock/flash_is_locked functions for sst26wf
> flash ICs.
>
Hi Jagan,
Maybe you have any comments or remarks about this patch? And if you don't could
you please apply it.
Thanks!
On Tue, 2018-04-10 at 14:40 +0300, Eugeniy Paltsev wrote:
> sst26wf flash series block protection implementation differs
> from other SST series, so add specific imp
This commit adds support for the SST sst26wf016, sst26wf032
and sst26wf064 flash IC.
Signed-off-by: Eugeniy Paltsev
---
Changes v4->v5:
* None.
Changes v3->v4:
* None.
Changes v2->v3:
* None.
Changes v1->v2:
* None.
drivers/mtd/spi/spi_flash_ids.c | 3 +++
1 file changed,
sst26wf flash series block protection implementation differs
from other SST series, so add specific implementation
flash_lock/flash_unlock/flash_is_locked functions for sst26wf
flash ICs.
Signed-off-by: Eugeniy Paltsev
---
Changes v4->v5:
* Return EACCES when flash is locked instead of cus
Use generic defines from linux/sizes.h instead of custom ones.
Eugeniy Paltsev (2):
SPI Flash: add support of sst26wf* flash ICs protection ops
SF: add support for sst26wf016, sst26wf032, sst26wf064
drivers/mtd/spi/sf_internal.h | 18 +
drivers/mtd/spi/spi_flash
Hi Jagan,
On Mon, 2018-04-09 at 16:52 +0530, Jagan Teki wrote:
> On Mon, Apr 9, 2018 at 4:27 PM, Eugeniy Paltsev
> wrote:
> > sst26wf flash series block protection implementation differs
> > from other SST series, so add specific implementation
> > flash_lock/flas
sst26wf flash series block protection implementation differs
from other SST series, so add specific implementation
flash_lock/flash_unlock/flash_is_locked functions for sst26wf
flash ICs.
Signed-off-by: Eugeniy Paltsev
---
Changes v3->v4:
* Make sst26_process_bpr() and sst26_lock_
This commit adds support for the SST sst26wf016, sst26wf032
and sst26wf064 flash IC.
Signed-off-by: Eugeniy Paltsev
---
Changes v3->v4:
* None.
Changes v2->v3:
* None.
Changes v1->v2:
* None.
drivers/mtd/spi/spi_flash_ids.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
LOCKED/SF_LOCKED instead of magic numbers in
sst26_lock_ctl()
Changes v1->v2:
* Use generic defines from linux/sizes.h instead of custom ones.
Eugeniy Paltsev (2):
SPI Flash: add support of sst26wf* flash ICs protection ops
SF: add support for sst26wf016, sst26wf032, sst26wf064
driver
1 - 100 of 223 matches
Mail list logo