From: Stanley Chu
The counter value read from TDR register may not be correct.
Read SECCNT and CNTR25M instead to get the correct timestamp.
Signed-off-by: Stanley Chu
---
arch/arm/dts/nuvoton-common-npcm7xx.dtsi | 12 ++--
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 13 ++--
Use dt-binding definations for the phy switch connection.
It declares the target usb controller it is connected to.
Signed-off-by: Jim Liu
---
drivers/phy/phy-npcm-usb.c | 27 ++-
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/drivers/phy/phy-npcm-usb.c
Followed the new style use event to replace last_stage_init().
Fixed build error After replace last_stage_init().
And remove CONFIG_SYS_SKIP_UART_INIT from defconfig,
system will reuse the setting from bootblock
and skip the baud rate setting.
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb
1. Use vendor naming rule to rename each function
2. add SHA 384/512 support
Signed-off-by: Jim Liu
---
drivers/crypto/nuvoton/npcm_sha.c | 1024 +++--
1 file changed, 252 insertions(+), 772 deletions(-)
diff --git a/drivers/crypto/nuvoton/npcm_sha.c
b/drivers/crypto
For 4GB dram size, the dram is divided into 2 banks and
the address space of these 2 banks are not concatenated.
Limit the gd->ram_top to not exceed bank0 top to prevent
accessing invalid memory region.
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb/arbel_evb.c | 14 +-
1 f
(0x800), so increase mapping size from 128MB to 192MB.
Signed-off-by: Jim Liu
---
include/configs/arbel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/arbel.h b/include/configs/arbel.h
index 576ee37ee4..d8ccc45968 100644
--- a/include/configs/arbel.h
+++ b
Add mem and console env information and modify the wrong earlycon env.
Signed-off-by: Jim Liu
---
board/nuvoton/poleg_evb/poleg_evb.c | 27 ---
include/configs/poleg.h | 4 ++--
2 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/board/nuvoton
1. Modify npcm memory setting
2. Fix boot error
Jim Liu (3):
Arm: npcm: fix npcm7xx boot to kernel error
configs: arbel: increase u-boot mapping size
board: arbel: Limit the dram effective size to bank0 maximal size
board/nuvoton/arbel_evb/arbel_evb.c | 14 +-
board/nuvoton
Reset HW to clear old status and use default data mode(8-bit).
Signed-off-by: Jim Liu
---
drivers/spi/npcm_pspi.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/spi/npcm_pspi.c b/drivers/spi/npcm_pspi.c
index eb14185273..c9441304f5 100644
--- a/drivers/spi/npcm_pspi.c
Modify defconfig to use generic timer and npcm reset driver
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 45fafe790c..08753aebc0 100644
--- a/configs
Allowing multicast packets is required for IPv6 neighbor discovery
protocol.
Signed-off-by: Parvathi Bhogaraju
Signed-off-by: Jim Liu
---
drivers/net/designware.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 03b531c667
.
This ensure that the dirty cache line doesn't inadvertently written back
due to cache eviction, there by corrupting the RX buffer
Signed-off-by: Parvathi Bhogaraju
Signed-off-by: Jim Liu
---
drivers/net/designware.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net
Change reset method from generic to reset driver
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 2 +
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 71
2 files changed, 24 insertions(+), 49 deletions(-)
diff --git a/arch/arm/dts/nuvoton-common
Add reset controller driver for Nuvoton BMCs.
The npcm reset driver not only supports reset each module reset
but setting initial value of reset Control Registers.
And The driver support each module reset.
Signed-off-by: Jim Liu
---
Changes for v2:
- Use probe function to initialize priv
Add reset controller driver for Nuvoton BMCs.
The npcm reset driver not only supports reset each module reset
but setting initial value of reset Control Registers.
And The driver support each module reset.
Signed-off-by: Jim Liu
---
drivers/reset/Kconfig | 7 ++
drivers/reset/Makefile
Fix the wrong clock divider calculation.
Signed-off-by: Jim Liu
---
drivers/spi/npcm_pspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/npcm_pspi.c b/drivers/spi/npcm_pspi.c
index 37bab70967..eb14185273 100644
--- a/drivers/spi/npcm_pspi.c
+++ b/drivers/spi
Add bb_miiphy_bus function for designware bitbang feature.
Signed-off-by: Jim Liu
---
Changes for v2:
- add bitbang delay dts read
- modify printf to debug
---
drivers/net/designware.c | 105 +++
drivers/net/designware.h | 5 ++
2 files changed, 110
,
Jim
On Wed, Nov 15, 2023 at 12:23 AM Tom Rini wrote:
>
> On Tue, Nov 14, 2023 at 04:51:55PM +0800, Jim Liu wrote:
>
> > 1. Fix serial error and add bypass serial setting.
> > 2. Fix/Add dts node node.
> > 3. Add full function defconfig
> >
> > Jim Liu (4
Add a flag to set ahb/apb/fiu/spi clock divider as read-only
The spi clock setting is related to booting flash, it is setup by early
bootloader.
It just protects the clock source and can't modify it in uboot.
Signed-off-by: Jim Liu
---
Changes for v3:
- add commit message
Changes for v2
If CONFIG_SYS_SKIP_UART_INIT is enabled, calculate the
current baud rate and update the "console" environment
variable.
Signed-off-by: Jim Liu
---
Changes for v2:
--- rename file
--- modify board_set_console to void function
---
board/nuvoton/arbel_evb/Kconfig | 1 +
boa
Skip the uart clock setting if CONFIG_SYS_SKIP_UART_INIT is enabled.
Fix divisor error.
Signed-off-by: Jim Liu
---
Changes for v2:
- no change
---
drivers/serial/serial_npcm.c | 39 ++--
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/drivers
Enable more functions/commands for arbel evb.
Signed-off-by: Jim Liu
---
Changes for v2:
--- no change
---
configs/arbel_evb_defconfig | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index
Modify spi and usb aliases name.
Add dt-binding for usb phy define and fix usb phy reset error.
Add tpm/otpee and host_intf node.
Signed-off-by: Jim Liu
---
Changes for v2:
- add espi node
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 11 ++-
arch/arm/dts/nuvoton-npcm845-evb.dts
1. Fix serial error and add bypass serial setting.
2. Fix/Add dts node node.
3. Add full function defconfig
Jim Liu (4):
arm: dts: npcm845-evb: fix/add node and aliases
configs: arbel: Enable full functions
serial: npcm: support skip uart clock setting
board: nuvoton: update console
Hi Sean
Thanks for your review.
The spi clock setting is related to booting flash, it is setup by
early bootloader and we don't want u-boot to change it
Best regards,
Jim
On Thu, Nov 9, 2023 at 2:07 AM Sean Anderson wrote:
>
> On 11/7/23 04:01, Jim Liu wrote:
> > Add a flag to
Skip the uart clock setting if CONFIG_SYS_SKIP_UART_INIT
is enabled.
Fix divisor error.
Signed-off-by: Jim Liu
---
drivers/serial/serial_npcm.c | 39 ++--
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/drivers/serial/serial_npcm.c b/drivers
Enable more functions/commands for arbel evb.
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 6cfb5a7d32..dddfa298c9 100644
If CONFIG_SYS_SKIP_UART_INIT is enabled, calculate the
current baud rate and update the "console" environment
variable.
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb/Kconfig | 1 +
board/nuvoton/common/Kconfig| 9 +
board/nuvoton/common/Makefile | 1 +
board/nuvo
Modify spi and usb aliases name.
Add dt-binding for usb phy define and fix usb phy reset error.
Add tpm and otpee node.
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 2 +-
arch/arm/dts/nuvoton-npcm845-evb.dts | 29 ++-
arch/arm/dts/nuvoton
1. Fix serial error and add bypass serial setting.
2. Fix/Add dts node node.
3. Add full function defconfig
Jim Liu (4):
arm: dts: npcm845-evb: fix/add node and aliases name
board: nuvoton: update console environment variable
configs: arbel: Enable full functions
serial: npcm: support
Add a flag to set ahb/apb/fiu clock divider as read-only
It just protects the clock source and can't modify it in uboot.
Signed-off-by: Jim Liu
---
Changes for v2:
- add commit message
---
drivers/clk/nuvoton/clk_npcm.c| 15 ---
drivers/clk/nuvoton/clk_npcm.h| 1
disable this config to improve flash program time
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
Changes for v4:
- no change
---
configs/arbel_evb_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/arbel_evb_defconfig b
1. Fix incorrect ram size of 4GB dram with ECC enabled
2. Fix wrong place to set dram bank size
- The dram bank size should be set in dram_init_banksize
- Dram_init should not access gd->bd because the board info
struct is not reserved yet.
Signed-off-by: Jim Liu
Changes for
Add uart baud rate table to arbel(npcm8xx) and poleg(npcm7xx)
Signed-off-by: Jim Liu
Changes for v2:
- Add commit message
Changes for v3:
- Modify CONFIG_SYS_BAUDRATE_TABLE
Changes for v4:
- No change
---
include/configs/arbel.h | 5 -
include/configs/poleg.h | 2 ++
2 files
GPIO function name is needed in the debug log
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
Changes for v4:
- no change
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/nuvoton
1. Add name for gpio pinctrl function
2. Add baud rate table
3. Fix ecc ram size
- ECC ram size
- Fix wrong place to set dram bank size
4. Modify configs
Jim Liu (4):
pinctrl: npcm8xx: add name for gpio function
configs: npcm: support more uart baud rate
board: nuvuton: arbel: fix
Fix npcm845 watchdog halt for reset function and expire function.
Reset function is restart wdt.
Signed-off-by: Jim Liu
Changes for v3:
- Modify start sentences
- Remove empty line
Changes for v2:
- Add commit message
- Fix no empty line problem
- Remove dts
---
drivers/watchdog
disable this config to improve flash program time
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
configs/arbel_evb_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index
fix incorrect ram size of 4GB dram with ECC enabled
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
board/nuvoton/arbel_evb/arbel_evb.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/board/nuvoton
add uart baud rate table to arbel(npcm8xx) and poleg(npcm7xx)
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- modify CONFIG_SYS_BAUDRATE_TABLE
---
include/configs/arbel.h | 5 -
include/configs/poleg.h | 2 ++
2 files changed, 6 insertions(+), 1
gpio function name is needed in the debug log
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
b/drivers
1. add name for gpio pinctrl function
2. add baud rate table
3. fix ecc ram size
4. modify configs
Jim Liu (4):
pinctrl: npcm8xx: add name for gpio function
configs: npcm: support more uart baud rate
board: nuvuton: arbel: fix incorrect ram size
configs: nuvoton: npcm8xx: disable
Hi Tom
Thanks for your review.
Google and other customers need to change baud rate so I added this table.
I will modify the name to CFG_SYS_BAUDRATE_TABLE.
Best regards,
Jim
On Wed, Oct 11, 2023 at 7:20 AM Tom Rini wrote:
>
> On Wed, Oct 11, 2023 at 04:45:30PM +0800, Jim Liu wrote:
&
disable this config to improve flash program time
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 8c32b4b20d..6cfb5a7d32 100644
--- a/configs/arbel_evb_defconfig
+++ b
add npcm8xx watchdog node
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
b/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
index fabe5925b7..fb544e5f1a 100644
fix incorrect ram size of 4GB dram with ECC enabled
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb/arbel_evb.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/board/nuvoton/arbel_evb/arbel_evb.c
b/board/nuvoton/arbel_evb/arbel_evb.c
index e52e0a59ab
add uart baud rate table to arbel(npcm8xx) and poleg(npcm7xx)
Signed-off-by: Jim Liu
---
include/configs/arbel.h | 5 -
include/configs/poleg.h | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/arbel.h b/include/configs/arbel.h
index 891257bc93
gpio function name is needed in the debug log
Signed-off-by: Jim Liu
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
index 7976e3b3ed..ff49819b58 100644
1. add name for gpio pinctrl function
2. add baud rate table
3. fix ecc ram size
4. add dts
5. modify configs
Jim Liu (5):
pinctrl: npcm8xx: add name for gpio function
configs: npcm: support more uart baud rate
board: nuvuton: arbel: fix incorrect ram size
arm: dts: npcm8xx: add watchdog
Hi Tom
Thanks for your reply.
I will create another thread for this topic.
Best regards,
Jim
On Mon, Oct 2, 2023 at 7:04 AM Tom Rini wrote:
>
> On Mon, Oct 02, 2023 at 12:40:54AM -0700, Jim Liu wrote:
>
> > Hi Tom
> >
> > I followed your suggestion to modify the code
first version is only support standard mode.
remove this judgment to support standard/fast/fast plus mode.
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
---
drivers/i2c/npcm_i2c.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/i2c/npcm_i2c.c b/drivers/i2c
fix npcm845 watchdog halt for reset function and expire function.
reset function is restart wdt.
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
- fix no empty line problem
- remove dts
---
drivers/watchdog/npcm_wdt.c | 11 +--
1 file changed, 9 insertions(+), 2
other mode.
I will add a commit message in the next version.
Best regards,
Jim
On Mon, Oct 2, 2023 at 9:37 PM Heiko Schocher wrote:
>
> Hello Jim,
>
> On 26.09.23 11:08, Jim Liu wrote:
> > Signed-off-by: Jim Liu
> > ---
> > drivers/i2c/npcm_i2c.c | 5 -
&g
Hi Tom
I followed your suggestion to modify the code.
but still have errors.
Should I use my workaround?
Best regards,
Jim
On Thu, Sep 28, 2023 at 9:17 AM Tom Rini wrote:
>
> On Thu, Sep 28, 2023 at 10:32:51PM +0800, Jim Liu wrote:
> > Hi Tom
> >
> > Thank
layout in CONFIG_SYS_MEM_MAP
and enable dcache.
This error is the same as that link.
Best regards,
Jim
On Thu, Sep 28, 2023 at 8:23 PM Tom Rini wrote:
>
> On Thu, Sep 28, 2023 at 08:49:23AM +0800, Jim Liu wrote:
> > Hi Tom
> >
> > Thanks for the quick r
Hi Stefan
Thanks for your quick review.
i will followed your suggestions to update V2
Best regards,
Jim
On Tue, Sep 26, 2023 at 5:30 PM Stefan Roese wrote:
>
> Hi Jim,
>
> On 9/26/23 11:04, Jim Liu wrote:
> > Signed-off-by: Jim Liu
>
> Please provide a short commit
Tom Rini wrote:
>
> On Tue, Sep 26, 2023 at 04:56:50PM +0800, Jim Liu wrote:
>
> > do not enable dcache by setting CONFIG_SYS_NPCM_DCACHE_OFF=y
> >
> > Signed-off-by: Jim Liu
> > ---
> > arch/arm/mach-npcm/npcm8xx/Kconfig | 4
> > arch/arm/mach-
add flash w25q01jv, w25q01jvfim and w25q02jv support
Signed-off-by: Jim Liu
---
drivers/mtd/spi/spi-nor-ids.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 4587215984..fd74efe609 100644
--- a/drivers/mtd/spi
Signed-off-by: Jim Liu
---
drivers/i2c/npcm_i2c.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/i2c/npcm_i2c.c b/drivers/i2c/npcm_i2c.c
index ea4ef53256..b867b6c8e9 100644
--- a/drivers/i2c/npcm_i2c.c
+++ b/drivers/i2c/npcm_i2c.c
@@ -517,11 +517,6 @@ static int
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 24
drivers/watchdog/npcm_wdt.c | 12
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
b/arch/arm/dts/nuvoton-common
do not enable dcache by setting CONFIG_SYS_NPCM_DCACHE_OFF=y
Signed-off-by: Jim Liu
---
arch/arm/mach-npcm/npcm8xx/Kconfig | 4
arch/arm/mach-npcm/npcm8xx/cpu.c | 12 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-npcm/npcm8xx/Kconfig
b/arch
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb/arbel_evb.c | 16
configs/arbel_evb_defconfig | 1 +
include/configs/arbel.h | 4 +++-
include/configs/poleg.h | 1 +
4 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/board
Signed-off-by: Jim Liu
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
index 7976e3b3ed..ff49819b58 100644
--- a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
1. fix incorrect ram size with ecc enabld
2. add name for gpio function
3. add baud rate table
Jim Liu (3):
pinctrl: npcm8xx: add name for gpio function
arm: NPCM: modify baud rate table and dram setting
arm: npcm8xx: support dcache off
arch/arm/mach-npcm/npcm8xx/Kconfig| 4
some information or merge schedule?
Best regards,
Jim
On Tue, Jul 4, 2023 at 4:00 PM Jim Liu wrote:
>
> 1. support 4g ram and new memory layout
> 2. A2 cpu support
> 3. fix pinctrl, misc driver error
>
> Jim Liu (4):
> board: nuvoton: arbel: change uboot load address
>
If cs gpio is requested with ACTIVE_HIGH flag, it will
be pulled low(i.e. active). This is not what we expected.
Signed-off-by: Jim Liu
---
drivers/spi/npcm_pspi.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/npcm_pspi.c b/drivers/spi/npcm_pspi.c
Add npcm8xx A2 cpu version check
and add 4G RAM support
Signed-off-by: Jim Liu
---
arch/arm/include/asm/arch-npcm8xx/gcr.h | 1 +
arch/arm/mach-npcm/npcm8xx/cpu.c| 12 -
board/nuvoton/arbel_evb/arbel_evb.c | 70 +++--
3 files changed, 79 insertions(+), 4
configuration should be done before release host wait
Signed-off-by: Jim Liu
---
drivers/misc/npcm_host_intf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/misc/npcm_host_intf.c b/drivers/misc/npcm_host_intf.c
index 0244e40457..79f57f57d8 100644
In non tip mode, BMC first power on with PORST+CORST.
the gpio status will error.
Signed-off-by: Jim Liu
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
use new memory layout and change uboot load address.
open tpm, tee and more config feature
No need to reserve top memory because the reserved space
is moved to the bottom area of memory.
Signed-off-by: Jim Liu
---
board/nuvoton/arbel_evb/Kconfig | 4 ++--
configs/arbel_evb_defconfig | 15
1. support 4g ram and new memory layout
2. A2 cpu support
3. fix pinctrl, misc driver error
Jim Liu (4):
board: nuvoton: arbel: change uboot load address
pinctrl: nuvoton: fix reset reason error for poweron
misc: npcm_host_intf: change initialization sequence
arch: arm: npcm8xx: add cpu
Signed-off-by: Jim Liu
---
drivers/misc/npcm_otp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/npcm_otp.c b/drivers/misc/npcm_otp.c
index 304910888b..08029724c0 100644
--- a/drivers/misc/npcm_otp.c
+++ b/drivers/misc/npcm_otp.c
@@ -33,7 +33,7 @@ static int
The SHA and OTP should under the ahb node
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 33
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi
b/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi
index
add console and mem env to boot to linux kernel
Signed-off-by: Jim Liu
---
board/nuvoton/poleg_evb/poleg_evb.c | 7 +++
include/configs/poleg.h | 2 ++
2 files changed, 9 insertions(+)
diff --git a/board/nuvoton/poleg_evb/poleg_evb.c
b/board/nuvoton/poleg_evb/poleg_evb.c
index
Enable FIT and SHA config to decompress the kernel image
Signed-off-by: Jim Liu
---
configs/poleg_evb_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/poleg_evb_defconfig b/configs/poleg_evb_defconfig
index b00fb48a5a..cab589d7aa 100644
--- a/configs/poleg_evb_defconfig
fix type error and add feature to boot to kernel
Jim Liu (4):
ARM: config: Enable config to decompress the FIT image
board: nuvoton: add env setting for boot to linux
ARM: dts: npcm8xx: fix dts node error
misc: nuvoton: fix type error
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 33
Hi Ramon
Thanks for your review.
The udelay timing is defined on our spec .
Does this need to use config to control it or use dts method to set the timing?
Best regards,
Jim
On Sun, Jun 11, 2023 at 3:03 AM Ramon Fried wrote:
>
> On Tue, Feb 14, 2023 at 10:20 AM Jim Liu wrote:
>
Hi Ramon
Please help to review this patch or provide some suggestions.
Nuvoton BMC NPCM845 EVB needs this patch, and customers will use it to test.
If you have any questions please let me know.
Best regards,
Jim
On Tue, Feb 14, 2023 at 4:20 PM Jim Liu wrote:
>
> Add bb_miiphy_bus fu
The default output state may be different to request,
change the configuration sequence to avoid glitch.
Signed-off-by: Jim Liu
---
drivers/gpio/npcm_gpio.c | 6 +++---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 4 ++--
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 4 ++--
3
Hi Sean
Thanks for your review.
This is a software flag not hardware reg.
It just protects the clock source and can't modify it in uboot.
Best regards,
Jim
On Tue, Mar 7, 2023 at 9:57 PM Sean Anderson wrote:
>
> On 3/7/23 03:13, Jim Liu wrote:
> > Set ahb/apb/fiu clock divider
Set ahb/apb/fiu clock divider as read-only
Signed-off-by: Jim Liu
---
drivers/clk/nuvoton/clk_npcm.c| 15 ---
drivers/clk/nuvoton/clk_npcm.h| 1 +
drivers/clk/nuvoton/clk_npcm8xx.c | 12 ++--
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/drivers
NPCM7xx/NPCM8xx default is boot from flash.
removed set clock feature due to reliability and security.
the clock will set by bootblock or tip.
Signed-off-by: Jim Liu
---
drivers/spi/npcm_fiu_spi.c | 72 +++---
1 file changed, 59 insertions(+), 13 deletions
Add bb_miiphy_bus function for designware bitbang feature.
Signed-off-by: Jim Liu
---
drivers/net/designware.c | 109 ++-
drivers/net/designware.h | 3 ++
2 files changed, 111 insertions(+), 1 deletion(-)
diff --git a/drivers/net/designware.c b/drivers/net
ete. TIMEOUT !
Could not initialize PHY eth@f0804000
Speed: 100, full duplex
Using eth@f0808000 device
host 192.168.0.5 is alive
-
Jim Liu (2):
ARM: configs: add bitbang feature for npcm8xx
net: designware: add bitbang feature for designware dri
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 3 +++
include/configs/arbel.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 8f8a603b50..ac4bb40193 100644
--- a/configs/arbel_evb_defconfig
+++ b/configs
The NPCM driver can use on npcm7xx/npcm8xx
so add npcm8xx header for driver.
Signed-off-by: Jim Liu
---
arch/arm/include/asm/arch-npcm8xx/aes.h | 53 ++
arch/arm/include/asm/arch-npcm8xx/otp.h | 93 +
arch/arm/include/asm/arch-npcm8xx/rng.h | 43
Enable npcm845 i2c、ethernet、REGULATOR and security feature
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index aa857661d9..8f8a603b50 100644
Add functaion node list as below:
1. i2c
2. gmac
3. otp
4. aes
5. sha
6. rng
7. serial
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 358 +++
arch/arm/dts/nuvoton-npcm845-evb.dts | 198 +
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 134
1. Enable Nuvoton BMC npcm844 function config and add dts node.
2. Add header file for npcm8xx security key feature.
Jim Liu (3):
ARM: dts: npcm8xx: add npcm845 function node
ARM: config: enable function for nuvoton npcm845 bmc
arm: npcm8xx: add security feature header
arch/arm/dts
>
Best regards,
Jim
On Tue, Jan 10, 2023 at 11:04 AM Jim Liu wrote:
>
> Add add full function config for nuvoton npcm750
>
> Signed-off-by: Jim Liu
> ---
> Changes for v2:
>- use top of the mas
Add add full function config for nuvoton npcm750
Signed-off-by: Jim Liu
---
Changes for v2:
- use top of the master to re-post the patch
---
configs/poleg_evb_defconfig | 57 +
1 file changed, 57 insertions(+)
diff --git a/configs/poleg_evb_defconfig b
Hi Tom
I push some patches to fix some errors about this config patch and
wait for all reviewers to merge.
Could you check this patch again or should I use new master uboot
update patch and resend it ?
Best regards,
Jim
On Tue, Aug 2, 2022 at 8:28 PM Jim Liu wrote:
>
> Hi Tom
&
add reset type detect and persist setting.
Signed-off-by: Jim Liu
---
arch/arm/include/asm/arch-npcm8xx/rst.h | 2 +-
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 20
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 22 +-
3 files changed, 42 insertions
Hi Tom
OK , thanks for your reply.
Best regards,
Jim
On Tue, Dec 13, 2022 at 11:01 AM Tom Rini wrote:
>
> On Tue, Dec 13, 2022 at 10:56:49AM +0800, Jim Liu wrote:
> > Hi Tom
> >
> > Thanks for your quick response.
> >
> > I add defconfig patch and found t
tch/20220913062521.6067-1-jjl...@nuvoton.com/
->
https://patchwork.ozlabs.org/project/uboot/patch/20221121085932.29686-1-jjl...@nuvoton.com/
i2c patch is already merged.
Best regards,
Jim
On Tue, Dec 13, 2022 at 10:02 AM Tom Rini wrote:
>
> On Tue, Dec 13, 2022 at 09:48:12AM +0800, J
Hi Tom
My upstream topic status is Awaiting Upstream.
What could I do to make it merge fast?
Your comments are welcome.
Best regards,
Jim
On Mon, Nov 21, 2022 at 3:41 PM Jim Liu wrote:
>
> Hi Ramon
>
> My upstream topic status is Awaiting Upstream.
> What could I do to mak
Add npcm750 gpio node compatible name
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi
b/arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi
index c547e433e7
1. add usb phy
2. add ehci ohci sdhci
3. add pinctrl node
4. add fiu node
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 92 +
arch/arm/dts/nuvoton-npcm845-evb.dts | 129 ++
arch/arm/dts/nuvoton-npcm845-pincfg.dtsi | 2007 ++
arch/arm/dts
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 447b97ef4a..aa857661d9 100644
--- a/configs/arbel_evb_defconfig
+++ b/configs
Add Nuvoton BMC npcm844 function config and dts node
Jim Liu (2):
ARM: config: enable function for nuvoton npcm845 bmc
ARM: dts: npcm8xx: add npcm845 function node
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 92 +
arch/arm/dts/nuvoton-npcm845-evb.dts | 129 ++
arch/arm/dts/nuvoton
1 - 100 of 174 matches
Mail list logo