Re: [PATCH 2/6] board: freescale: p1_p2_rdb_pc: Add weak function p1_p2_rdb_pc_fix_fdt_model() for fixing DT model string

2024-06-17 Thread Marek Mojík
On 6/7/24 1:32 AM, Sinan Akman wrote: On 2024-06-06 12:33 p.m., Marek Mojík wrote: From: Pali Rohár This allows boards to fixup / overwrite DT model string when booting OS. Signed-off-by: Pali Rohár Signed-off-by: Marek Mojík ---   board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 4

[PATCH 6/6] powerpc: Add support for CZ.NIC Turris 1.x routers

2024-06-06 Thread Marek Mojík
migrated to Kconfig since the last time this worked on upstream U-Boot (in 2022), a non-trivial rebasing was needed and some issues were solved. ] Signed-off-by: Marek Mojík --- arch/powerpc/cpu/mpc85xx/Kconfig| 7 + arch/powerpc/dts/Makefile | 1 + arch/powerpc

[PATCH 0/6] Add Turris 1.x board

2024-06-06 Thread Marek Mojík
grew and the old NOR defconfig will not fit into NOR memory. - SD boot with RAM larger than 2GB will only allocate 2GB of RAM (We were not able to fix this yet) Marek Mojík (2): powerpc: mpc85xx: use CONFIG_VAL() for SYS_MONITOR_BASE in start.s powerpc: use CONFIG_IS_ENABLED() when checking

[PATCH 5/6] powerpc: use CONFIG_IS_ENABLED() when checking for DM_SERIAL in include/asm/config.h

2024-06-06 Thread Marek Mojík
Use the CONFIG_IS_ENABLED() macro when checking for DM_SERIAL so that CFG_SYS_NS16550_CLK is not defined as get_serial_clock() in SPL if SPL does not have DM_SERIAL enabled. Signed-off-by: Marek Mojík --- arch/powerpc/include/asm/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 2/6] board: freescale: p1_p2_rdb_pc: Add weak function p1_p2_rdb_pc_fix_fdt_model() for fixing DT model string

2024-06-06 Thread Marek Mojík
From: Pali Rohár This allows boards to fixup / overwrite DT model string when booting OS. Signed-off-by: Pali Rohár Signed-off-by: Marek Mojík --- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c

[PATCH 1/6] board_f: Add support for CONFIG_OF_BOARD_FIXUP for XIP images

2024-06-06 Thread Marek Mojík
ards when booting from flash NOR. Signed-off-by: Pali Rohár Signed-off-by: Marek Mojík --- common/board_f.c | 8 +++- dts/Kconfig | 6 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 212ffb3090..22c180b218 100644 --- a/common/

[PATCH 4/6] powerpc: mpc85xx: use CONFIG_VAL() for SYS_MONITOR_BASE in start.s

2024-06-06 Thread Marek Mojík
Use CONFIG_VAL() for SYS_MONITOR_BASE in start.S so that correct value is used for SPL. Signed-off-by: Marek Mojík --- arch/powerpc/cpu/mpc85xx/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S index

[PATCH 3/6] powerpc: mpc8xxx: Extend find_law() to find_law_by_addr_id()

2024-06-06 Thread Marek Mojík
fsl_law.h header. Signed-off-by: Pali Rohár Signed-off-by: Marek Mojík --- arch/powerpc/cpu/mpc8xxx/law.c | 5 - arch/powerpc/include/asm/fsl_law.h | 8 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/law.c b/arch/powerpc/cpu/mpc8xxx/law.c

[PATCH v2] net: mv88e6xxx: fix missing SMI address initialization

2023-12-06 Thread Marek Mojík
: Marek Mojík --- drivers/net/mv88e6xxx.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/mv88e6xxx.c b/drivers/net/mv88e6xxx.c index c073f81e72..8fbbc1cacc 100644 --- a/drivers/net/mv88e6xxx.c +++ b/drivers/net/mv88e6xxx.c @@ -745,6 +745,7 @@ static int mv88e6xxx_probe(struct

Re: [PATCH] net: mv88e6xxx: add missing SMI address init

2023-11-24 Thread Marek Mojík
this problem by reading > > the SMI address from device tree. > > > > Signed-off-by: Marek Mojík > > --- > > drivers/net/mv88e6xxx.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/drivers/net/mv88e6xxx.c b/drivers/net/mv88e6xxx.c &

[PATCH] net: mv88e6xxx: add missing SMI address init

2023-11-22 Thread Marek Mojík
Driver does not currently initialize the smi_addr field, but instead keeps the default value. This leads to issues on systems with different hardware configuration. We can fix this problem by reading the SMI address from device tree. Signed-off-by: Marek Mojík --- drivers/net/mv88e6xxx.c | 6