Acked

2024-06-24 Thread Angelo Dureghello
Hi Tom, Acked-by: Angelo Dureghello thanks, angelo On 19/06/24 11:27 PM, Tom Rini wrote: Implement a weak default version of flush_dcache_all which is based on the ARM default, which is to flush the entire range via flush_dcache_range(...). Signed-off-by: Tom Rini --- Cc: Huan Wang Cc

Acked

2024-05-29 Thread Angelo Dureghello
lightly compile-tested. Apart from the two sh4 patches, these are independent of each other and can be applied individually. Thanks for the cleanup, Acked-by: Angelo Dureghello Cc: Angelo Dureghello Cc: Christophe Leroy Cc: Huan Wang Cc: Nobuhiro Iwamatsu Rasmus Villemoes (7): m68k: remove

Re: [PATCH 78/81] watchdog: Remove and add needed includes

2024-05-02 Thread Angelo Dureghello
Hi Tom, Acked-by: Angelo Dureghello On 02/05/24 3:31 AM, Tom Rini wrote: Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- Cc: Stefan Roese Cc: Tom Rini Cc: Ryan Chen Cc: Chia-Wei Wang Cc: Aspeed BMC SW team Cc: Joel

Re: [PATCH 040/149] board: cobra5272: Remove and add needed includes

2024-05-02 Thread Angelo Dureghello
Hi Tom, Acked-by:Angelo Dureghello On 01/05/24 4:41 AM, Tom Rini wrote: Remove from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- Cc: Angelo Dureghello --- board/cobra5272/cobra5272.c | 2 +- board/cobra5272/flash.c | 6

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-11 Thread Angelo Dureghello
Hi, jfyi, reset support added in qemu merged as commit d3c79c3974. Regards, angelo On 07/03/24 1:55 PM, Tom Rini wrote: On Thu, Mar 07, 2024 at 09:26:42AM +0100, Michal Simek wrote: On 3/7/24 08:56, Angelo Dureghello wrote: Hi Tom, On 07/03/24 1:10 AM, Tom Rini wrote: On Thu, Mar 07

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-07 Thread Angelo Dureghello
Hi, On 07/03/24 1:55 PM, Tom Rini wrote: On Thu, Mar 07, 2024 at 09:26:42AM +0100, Michal Simek wrote: On 3/7/24 08:56, Angelo Dureghello wrote: Hi Tom, On 07/03/24 1:10 AM, Tom Rini wrote: On Thu, Mar 07, 2024 at 12:36:42AM +0100, Angelo Dureghello wrote: Hi, On 05/03/24 1:34 PM

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-07 Thread Angelo Dureghello
Hi Tom, On 07/03/24 1:10 AM, Tom Rini wrote: On Thu, Mar 07, 2024 at 12:36:42AM +0100, Angelo Dureghello wrote: Hi, On 05/03/24 1:34 PM, Michal Simek wrote: On 3/3/24 22:58, Angelo Dureghello wrote: Hi Tom, On Tue, Feb 20, 2024 at 01:11:38PM +0530, Love Kumar wrote: Add a test for reset

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-06 Thread Angelo Dureghello
Hi, On 05/03/24 1:34 PM, Michal Simek wrote: On 3/3/24 22:58, Angelo Dureghello wrote: Hi Tom, On Tue, Feb 20, 2024 at 01:11:38PM +0530, Love Kumar wrote: Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-03 Thread Angelo Dureghello
Hi Tom, On Tue, Feb 20, 2024 at 01:11:38PM +0530, Love Kumar wrote: Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off-by: Love Kumar Reviewed-by: Tom Rini --- Changes in v2: - Set bootmode through boardenv

Re: [PATCH v2 04/16] treewide: Make arch-specific bootm code depend on BOOTM

2023-12-22 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 15/12/23 5:19 AM, Simon Glass wrote: Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass --- (no changes since v1) arch/arc/lib/Makefile| 2 +- arch/arm/lib

Re: [PATCH 04/14] treewide: Make arch-specific bootm code depend on BOOTM

2023-12-22 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:31 AM, Simon Glass wrote: Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass --- arch/arc/lib/Makefile| 2 +- arch/arm/lib/Makefile| 2

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-10 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:26 AM, Simon Glass wrote: These arguments are not used now. They cannot be provided when there is no bootm command invoked to provide arguments. Drop the argc and argv parameters. Signed-off-by: Simon Glass --- arch/arc/lib/bootm.c

Re: [PATCH 08/18] m68k: Add a reset_cpu() function

2023-12-10 Thread Angelo Dureghello
Hi Simon, Acked-by: Angelo Dureghello On 04/12/23 1:26 AM, Simon Glass wrote: The current do_reset() is called from a command context. Add a function which can be used from anywhere, as is done on ARM. Since there are lots of reset functions, this one actually just calls do_reset(). Future

Re: [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn

2023-12-04 Thread Angelo Dureghello
Hi Simon, looks like i cannot apply this patch:    ~/dev-k/u-boot-coldfire  on   master *2  git am Complete-decoupling-of-bootm-logic-from-commands.patch Applying: bootm: netbds: Drop passing of arguments Applying: bootm: plan: Drop passing of arguments Applying: bootm: qnxelf: Drop

Re: [PATCH 04/11] m68k: Rework asm/global_data.h slightly

2023-11-23 Thread Angelo Dureghello
Hi Tom, sorry, i have difficulties to get the full patchset, was also looking into patchwork, but seems not updated. Anyway, i applied patches one by one, all is ok. Acked-by: Angelo Dureghello On 22/11/23 10:09 PM, Tom Rini wrote: On Wed, Nov 22, 2023 at 10:04:38PM +0100, Angelo Dureghello

Re: [PATCH 04/11] m68k: Rework asm/global_data.h slightly

2023-11-22 Thread Angelo Dureghello
Hi Tom, thanks, On 22/11/23 2:11 PM, Tom Rini wrote: In the architecture global data, replace the one case of u32 with unsigned long. Now, we can drop config.h here but then do need to add it in two m68k-centric spaces. Signed-off-by: Tom Rini --- Cc: Huan Wang Cc: Angelo Dureghello

[PATCH] m68k: remove unused mcf54xx devicetree

2023-11-06 Thread Angelo Dureghello
Remove unused devicetree, can be re-added later, in case some board would use it. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/mcf54xx.dtsi | 72 -- 1 file changed, 72 deletions(-) delete mode 100644 arch/m68k/dts/mcf54xx.dtsi diff --git a/arch/m68k

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-06 Thread Angelo Dureghello
Hi Tom, sure, i remove the unused dtsi, patch will follow. Regards, angelo On 06/11/23 5:32 PM, Tom Rini wrote: On Sat, Nov 04, 2023 at 09:58:07PM +0100, Angelo Dureghello wrote: Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-04 Thread Angelo Dureghello
Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver is still referenced in arch/m68k/dts/mcf54xx.dtsi, (from compatible field) but no board is including it. You can remove the dtsi too if you want. Regards, angelo On 01/11/23 5:28 PM

[PATCH] m68k: remove common.h references

2023-11-04 Thread Angelo Dureghello
In one case (mcffec.c), had to replace common.h include with config.h, to avoid CFG_SYS_CACHE_ACR0 redefine-order conflict. Signed-off-by: Angelo Dureghello --- drivers/net/mcffec.c| 2 +- drivers/net/mcfmii.c| 1 - drivers/rtc/mcfrtc.c| 2 -- drivers/serial/serial_mcf.c

Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-29 Thread Angelo Dureghello
Hi Michal, thanks, built all m68k stuff, no issues. Also tested on stmark2, all is ok. Reviewed-by: Angelo Dureghello On 25/10/23 9:25 AM, Michal Simek wrote: Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all default n/no options") and again sync is required.

Re: [PATCH 4/7] m68k: Remove common.h usage

2023-10-13 Thread Angelo Dureghello
Hi Tom, sorry, applied all now, it works, i can boot properly. Thanks. Acked-by: Angelo Dureghello On 13/10/23 10:55 PM, Tom Rini wrote: On Fri, Oct 13, 2023 at 10:53:04PM +0200, Angelo Dureghello wrote: Hi Tom, On 13/10/23 1:03 AM, Tom Rini wrote: We can remove common.h from most cases

Re: [PATCH 4/7] m68k: Remove common.h usage

2023-10-13 Thread Angelo Dureghello
Hi Tom, On 13/10/23 1:03 AM, Tom Rini wrote: We can remove common.h from most cases of the code here, and only a few places need an additional header instead. Signed-off-by: Tom Rini --- Cc: Angelo Dureghello --- arch/m68k/cpu/mcf523x/cpu.c | 1 - arch/m68k/cpu/mcf523x/cpu_init.c

[PULL] please pull u-boot-coldfire/next

2023-09-06 Thread Angelo Dureghello
Hi Tom, The following changes since commit b53ab97150314674edc25508f4fc528be2baa73f: event.h: Documented some newly added portions better (2023-09-04 11:19:50 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git next for you to fetch changes up to

Re: [PATCH] tools: relocate-rela: Fix BE symtab handling

2023-08-28 Thread Angelo Dureghello
Vasut --- Cc: Angelo Dureghello Cc: Angelo Durgehello Cc: Bin Meng Cc: Heinrich Schuchardt Cc: Huan Wang Cc: Marek Vasut Cc: Michal Simek Cc: Ovidiu Panait Cc: Simon Glass Cc: Zong Li --- tools/relocate-rela.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-28 Thread Angelo Dureghello
Hi, applying this patchset to u-boot-coldfire Thanks, angelo On 27/08/23 12:29 AM, Marek Vasut wrote: On 8/26/23 09:44, Angelo Dureghello wrote: Hi Marek, thanks a lot for the job i should have done. Tested on real hw: m5282evb   worked out of the box mcf54415   not working, had a lot

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-27 Thread Angelo Dureghello
Hi Marex, thanks, Acked-by: Angelo Dureghello On 27/08/23 12:29 AM, Marek Vasut wrote: On 8/26/23 09:44, Angelo Dureghello wrote: Hi Marek, thanks a lot for the job i should have done. Tested on real hw: m5282evb   worked out of the box mcf54415   not working, had a lot of unsupported

Re: [PATCH 1/2] tools: relocate-rela: Add M68K support

2023-08-26 Thread Angelo Dureghello
, Marek Vasut wrote: Add M68K ELF32 support into this tool, so it can patch static rela into M68K u-boot-nodtb.bin . This is the first step toward M68K relocation support, and in turn, removal of NEEDS_MANUAL_RELOC from the codebase altogether. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: A

Re: [PATCH] tools: relocate-rela: Fix BE symtab handling

2023-08-26 Thread Angelo Dureghello
Hi Marek, thanks ! Reviewed-by: Angelo Dureghello On 31/07/23 12:16 AM, Marek Vasut wrote: The symtab contains data in target endianness, convert the data to native endianness before doing any operations and on them, and back to target endianness before updating the bin file. Signed-off

[PULL] Please pull u-boot-coldfire/master

2023-07-25 Thread Angelo Dureghello
: MAINTAINERS: add myself as mcf_wdt.c maintainer (2023-07-25 23:21:42 +0200) Angelo Dureghello (6): board: m68k add missing maintainer drivers: watchdog: add mcf watchdog support m68k: move watchdog functions

[PATCH v3 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-07-24 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 87991cccdd..2b157214cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -867,6 +867,7 @@ S: Maintained T: git

[PATCH v3 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-07-24 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k

[PATCH v3 4/5] configs: m68k: add watchdog driver

2023-07-24 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - none --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs

[PATCH v3 3/5] m68k: dts: add watchdog node

2023-07-24 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary big-endian property Changes for v3: - none --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 6 ++ arch/m68k/dts/mcf523x.dtsi | 6

[PATCH v3 1/5] drivers: watchdog: add mcf watchdog support

2023-07-24 Thread Angelo Dureghello
. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary hardcoded timeouts - remove unnecessary hw_watchdog_xxx stuff - rewrite wdog module reg calculation - using IS_ENABLED() where possible Changes for v3: - remove hardcoded 4s

[PATCH v3 0/5] m68k: add ColdFire watchdog driver

2023-07-24 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node

Re: [PATCH v2 1/5] drivers: watchdog: add mcf watchdog support

2023-07-24 Thread Angelo Dureghello
Hi Stefan, On 24/07/23 8:21 AM, Stefan Roese wrote: Hi Angelo, On 7/23/23 23:35, Angelo Dureghello wrote: This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family does not have WDT module

[PATCH] board: m68k add missing maintainer

2023-07-23 Thread Angelo Dureghello
Add myself as a maintainer for orphaned boards. All these boards are covered by buildman m68k test. Signed-off-by: Angelo Dureghello --- board/cobra5272/MAINTAINERS | 2 +- board/freescale/m5208evbe/MAINTAINERS | 2 +- board/freescale/m5249evb/MAINTAINERS | 2 +- board/freescale

[PATCH v2 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-07-23 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 87991cccdd..2b157214cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -867,6 +867,7 @@ S: Maintained T: git https://source.denx.de

[PATCH v2 4/5] configs: m68k: add watchdog driver

2023-07-23 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + 4 files

[PATCH v2 3/5] m68k: dts: add watchdog node

2023-07-23 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary big-endian property --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 6 ++ arch/m68k/dts/mcf523x.dtsi | 6 ++ arch/m68k/dts/mcf5271

[PATCH v2 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-07-23 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - none --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k/cpu/mcf532x/cpu.c | 44

[PATCH v2 1/5] drivers: watchdog: add mcf watchdog support

2023-07-23 Thread Angelo Dureghello
. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove unnecessary hardcoded timeouts - remove unnecessary hw_watchdog_xxx stuff - rewrite wdog module reg calculation - using IS_ENABLED() where possible --- drivers/watchdog/Kconfig | 7

[PATCH v2 0/5] m68k: add ColdFire watchdog driver

2023-07-23 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node

Re: [PATCH 1/5] drivers: watchdog: add mcf watchdog support

2023-07-18 Thread Angelo Dureghello
Hi Stefan, thanks for the feedbacks, On 18/07/23 2:23 PM, Stefan Roese wrote: On 6/25/23 21:35, Angelo Dureghello wrote: This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family does

Re: [PATCH 3/5] m68k: dts: add watchdog node

2023-07-18 Thread Angelo Dureghello
Hi Stefan, On 18/07/23 2:26 PM, Stefan Roese wrote: On 6/25/23 21:35, Angelo Dureghello wrote: Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello ---   arch/m68k/dts/M5208EVBE.dts | 5 +   arch/m68k/dts/mcf5208.dtsi  | 7 +++   arch/m68k/dts

[PATCH 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-06-25 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 228d8af433..59d011ffcf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -865,6 +865,7 @@ S: Maintained T: git https://source.denx.de/u-boot/custodians/u-boot

[PATCH 4/5] configs: m68k: add watchdog driver

2023-06-25 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + 4 files changed, 6 insertions(+), 2

[PATCH 3/5] m68k: dts: add watchdog node

2023-06-25 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 7 +++ arch/m68k/dts/mcf523x.dtsi | 7 +++ arch/m68k/dts/mcf5271.dtsi | 7 +++ arch/m68k/dts/mcf5275.dtsi | 7

[PATCH 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-06-25 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k/cpu/mcf532x/cpu.c | 44

[PATCH 1/5] drivers: watchdog: add mcf watchdog support

2023-06-25 Thread Angelo Dureghello
. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/mcf_wdt.c | 162 + 3 files changed, 170 insertions(+) create mode 100644 drivers

[PATCH 0/5] m68k: add ColdFire watchdog driver

2023-06-25 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node

Re: [PATCH 4/8] m68k: use asm-generic/unaligned.h

2023-05-28 Thread Angelo Dureghello
- -#define get_unaligned __get_unaligned_be -#define put_unaligned __put_unaligned_be - -#endif /* _ASM_M68K_UNALIGNED_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#include sorry if a bit late, i tested this on coldfire mcf54415, no issues, so ok for me. Acked-by: Angelo Dureghello Regards

[PULL] Please pull u-boot-coldfire/master

2023-04-16 Thread Angelo Dureghello
The following changes since commit 12c1e5782401abca1a8cff578d1911a9ca7d2e7d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-04-14 10:50:55 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git master for you to

Re: [PATCH] configs: m68k: Use default shell prompt

2023-04-16 Thread Angelo Dureghello
prompt to default '=>' one to avoid this interference. Suggested-by: Tom Rini # found the CI oddity Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- configs/M5208EVBE_defconfig | 1 - configs/M5235EVB_defco

Re: [PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-11 Thread Angelo Dureghello
Hi Helko, On 11/04/23 6:41 AM, Heiko Schocher wrote: Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 + configs

[PATCH] doc: arch: m68k: fix maintainer email

2023-04-04 Thread Angelo Dureghello
Fix email with currently used address. Signed-off-by: Angelo Dureghello --- doc/arch/m68k.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/arch/m68k.rst b/doc/arch/m68k.rst index a9180fd785..8474ece62c 100644 --- a/doc/arch/m68k.rst +++ b/doc/arch/m68k.rst @@ -5,7

[PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-04 Thread Angelo Dureghello
Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 + configs/M5235EVB_Flash32_defconfig| 1 + configs/M5235EVB_defconfig| 1 + configs/M5253DEMO_defconfig | 5 + configs

[PATCH 5/6] m68k: dts: add i2c nodes

2023-04-04 Thread Angelo Dureghello
Add all the i2c nodes for each family, and add specific i2c overwrites in the related board-specific dts. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/M5208EVBE.dts | 6 +++ arch/m68k/dts/M5253DEMO.dts | 5 +++ arch/m68k/dts/M5275EVB.dts| 6 +++ arch

[PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition

2023-04-04 Thread Angelo Dureghello
Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/speed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index eb73da68c6..5c78eb9834

[PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

2023-04-04 Thread Angelo Dureghello
transfert, while considering this fix as not harming powerpc arch. Signed-off-by: Angelo Dureghello --- arch/m68k/include/asm/fsl_i2c.h | 10 ++ drivers/i2c/fsl_i2c.c | 16 +--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/m68k/include/asm/fsl_i2c.h b

[PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration

2023-04-04 Thread Angelo Dureghello
Add CFG option to enable proper pinmux pad setting for i2c0. Signed-off-by: Angelo Dureghello --- include/configs/stmark2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index ffc47c8076..af5da096b7 100644 --- a/include/configs

[PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace

2023-04-04 Thread Angelo Dureghello
Move CONFIG_SYS_I2C_X to CFG_ namespace. This is a preliminary step to move to dm i2c. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-04-04 Thread Angelo Dureghello
Hi Tom, On 02/04/23 4:36 PM, Tom Rini wrote: On Sun, Apr 02, 2023 at 07:37:29AM +0200, Angelo Dureghello wrote: Hi Marek, On 26/03/23 4:33 PM, Tom Rini wrote: On Mon, 20 Mar 2023 20:46:47 +0100, Marek Vasut wrote: Add m68k M5208EVBE machine configured to test U-Boot m68k support

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-04-01 Thread Angelo Dureghello
Hi Marek, On 26/03/23 4:33 PM, Tom Rini wrote: On Mon, 20 Mar 2023 20:46:47 +0100, Marek Vasut wrote: Add m68k M5208EVBE machine configured to test U-Boot m68k support. Applied, thanks! [1/1] travis-ci: Add m68k M5208EVBE machine commit: 3f604a1b68a07e6c20f617c38fc849eb796f9af0

Re: [PATCH v2 1/3] arch: m68k: Use existing CONFIG_MCFTMR instead of CFG_MCFTMR

2023-03-25 Thread Angelo Dureghello
CFTMR to CFG_MCFTMR") Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- V2: Add Fixes tag --- arch/m68k/Kconfig | 1 + arch/m68k/cpu/mcf523x/interrupts.c | 2 +- arch/m68k/c

Re: [PATCH v2] CI: Add m68k target

2023-03-23 Thread Angelo Dureghello
Acked-by: Angelo Dureghello On 23/03/23 1:22 AM, Marek Vasut wrote: Add M5208EVBE board to CI. This does not use default config due to limitations of QEMU emulation, instead the timer is switched from DMA timer to PIT timer and RAMBAR accesses are inhibited. Local QEMU launch command

Re: [PATCH 4/4] CI: Add m68k target

2023-03-19 Thread Angelo Dureghello
-system-m68k -nographic -machine mcf5208evb -cpu m5208 -bios u-boot.bin Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- .azure-pipelines.yml | 5 + .gitlab-ci.yml | 8 2 files changed, 13

Re: [PATCH 2/4] arch: m68k: Introduce trivial PIT based timer

2023-03-19 Thread Angelo Dureghello
Hi Marek, On 19/03/23 4:14 AM, Marek Vasut wrote: The QEMU emulation of m68k does not support DMA timer, the only timer that is supported is the PIT timer. Implement trivial PIT timer support for m68k. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc

Re: [PATCH 1/4] arch: m68k: Use existing CONFIG_MCFTMR instead of CFG_MCFTMR

2023-03-19 Thread Angelo Dureghello
7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e i mainly misunderstood the CI error, moving this to CFG namespace. Thanks for fixing it. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Huan Wang Cc: Marek Vasut Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini --- arch/m68k/Kconfig | 1 + arch/m68k

[PULL] Please pull u-boot-coldfire/master

2023-03-14 Thread Angelo Dureghello
: board: m5253demo: remove floating point flash size calculation (2023-03-15 01:52:15 +0100) Angelo Dureghello (10): board: amcore: fix u-boot mtd partition m68k: use longword-based jumps m68k: add global variable

[PATCH] board: m5253demo: remove floating point flash size calculation

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello This board is using floating point arithmetic to display the SST39VF6401B flash size. This actually generates errors with toolchains without appropriate sw fp math functions available. SST39VF6401B is the only flash for wich the size is displayed, it's size is 8192KB

[PATCH] m68k: add private libgcc ashrdi3

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello Add ashrdi3.c to private libgcc. Signed-off-by: Angelo Dureghello --- arch/m68k/lib/Makefile | 2 +- arch/m68k/lib/ashrdi3.c | 48 + 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 arch/m68k/lib/ashrdi3.c

[PATCH] board: amcore: fix config options namespace

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello Remove CONFIG_ namespace options from .h, moving them to defconfig, while changing non-defconfig options to CFG_ namespace. Signed-off-by: Angelo Durgehello --- configs/amcore_defconfig | 3 ++- include/configs/amcore.h | 13 +++-- 2 files changed, 5

[PATCH] m68k: rename CONFIG_MCFTMR to CFG_MCFTMR

2023-03-14 Thread Angelo Dureghello
From: Angelo Dureghello This is not a Kconfig option so changing to _CFG. Signed-off-by: Angelo Durgehello --- arch/m68k/cpu/mcf523x/interrupts.c| 2 +- arch/m68k/cpu/mcf52x2/interrupts.c| 12 ++-- arch/m68k/cpu/mcf532x/interrupts.c| 2 +- arch/m68k/cpu/mcf5445x

Re: [PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
Hi Tom, On 28/02/23 9:34 PM, Tom Rini wrote: On Tue, Feb 28, 2023 at 09:21:23PM +0100, Angelo Dureghello wrote: The following changes since commit e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: Prepare v2023.04-rc3 (2023-02-27 17:18:36 -0500) are available in the Git repository at: git

[PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
: m68k: dts: stmark2: set correct compatible field for spi nor (2023-02-28 21:19:47 +0100) Angelo Dureghello (6): board: amcore: fix u-boot mtd partition m68k: use longword-based jumps m68k: add global variable

[PATCH 3/3] mmc: fsl_esdhc_imx: add ColdFire support

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello ColdFire mcf5441x includes the same imx esdhc controller module, so adding minimal code to support it. Signed-off-by: Angelo Durgehello --- drivers/mmc/fsl_esdhc_imx.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/fsl_esdhc_imx.c

[PATCH 2/3] board: stmark2: add mmc support

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Enable mmc boot. Signed-off-by: Angelo Durgehello --- arch/m68k/dts/stmark2.dts | 4 configs/stmark2_defconfig | 12 ++-- include/configs/stmark2.h | 6 -- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/m68k/dts/stmark2.dts

[PATCH 1/3] m68k: add mmc device for mcf5441x

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Add mmc support for the mcf5441x family. Signed-off-by: Angelo Durgehello --- arch/m68k/dts/mcf5441x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/m68k/dts/mcf5441x.dtsi b/arch/m68k/dts/mcf5441x.dtsi index 6769bdc270..6383b50f11 100644 ---

[PATCH] m68k: use longword-based jumps

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Increasing of binary size requires longword-based jumps. Signed-off-by: Angelo Durgehello --- arch/m68k/cpu/mcf530x/start.S | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/m68k/cpu/mcf530x/start.S

[PATCH] board: amcore: fix u-boot mtd partition

2023-02-23 Thread Angelo Dureghello
From: Angelo Durgehello Signed-off-by: Angelo Dureghello --- include/configs/amcore.h | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/include/configs/amcore.h b/include/configs/amcore.h index 648d30a5b2..37c45e7172 100644 --- a/include/configs/amcore.h

[PATCH] m68k: dts: stmark2: set correct compatible field for spi nor

2023-02-15 Thread Angelo Dureghello
From: Angelo Durgehello Fix error: Invalid chip select 0:1 (err=-19) update spi nor "compatible" property with "jedec,spi-nor" to have spi nor properly bound as a child device. Signed-off-by: Angelo Durgehello --- arch/m68k/dts/stmark2.dts | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] arch: enable private libgcc for m68k

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello This patch fixes u-boot hanging on the first printf("%x", val). Some toolchains built without multilib enabled may produce u-boot freezing on first u64 shift operation, as in lib/vsprintf.c number() function. Using our private libgcc solves the issue. Setting private

Re: U-Boot support for M68K removal

2023-02-07 Thread Angelo Dureghello
on it :-( > > > > Maybe we can find one to buy for you. I would be happy to donate for it. > > I'll gladly accept any surplus boards anyone has. > I have quite a few of the older ColdFire evaluation boards, but not all. > I only have a single M5475EVB for MMU testing

[PATCH] m68k: add global variable sdhc_per_clk for m68k

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello The FSL eSDHC controller supports two reference clocks. They are platform clock and periperhal clock. The global variable sdhc_clk has already been used for platform clock. ColdFire also uses eSHDC controller, as in arm and powerpc, so adding sdhc_per_clk to

[PATCH] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index 11ca86737d..81c8f011bf

Re: [PATCH 3/3] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
Sorry, double sent. On 07/02/23 21:48, Angelo Dureghello wrote: From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH 2/3] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
Sorry, sent as patchset for error, resending as single patch. On 07/02/23 21:47, Angelo Dureghello wrote: From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig b/board

[PATCH 3/3] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig b/board

[PATCH 2/3] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index 11ca86737d..81c8f011bf

Re: [PATCH] board: stmark2: fix clock value

2023-02-06 Thread Angelo Dureghello
: remote: fatal: Could not read from remote repository. On 06/02/23 23:03, Tom Rini wrote: On Mon, Feb 06, 2023 at 11:01:04PM +0100, Angelo Dureghello wrote: Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo

Re: [PATCH] board: stmark2: fix clock value

2023-02-06 Thread Angelo Dureghello
Hi Tom, On 06/02/23 23:03, Tom Rini wrote: On Mon, Feb 06, 2023 at 11:01:04PM +0100, Angelo Dureghello wrote: Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello Fixes: 26e5944ec90c ("stmark2: Mi

[PATCH] board: stmark2: fix clock value

2023-02-06 Thread Angelo Dureghello
Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig b/board/sysam/stmark2/Kconfig index

Re: U-Boot support for M68K removal

2023-02-06 Thread Angelo Dureghello
Hi Greg, On Mon, Feb 6, 2023 at 1:02 PM Greg Ungerer wrote: > > > I wish I had a 54415 based board in my collection. Would make it so > much easier to keep the kernel working on it :-( > > Regards > Greg > I can solder here one additional stmark2 for you when i find the time. You can send me

Re: U-Boot support for M68K removal

2023-02-06 Thread Angelo Dureghello
Physicist > `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 Regards, angelo -- Angelo Dureghello Timesys e. angelo.dureghe...@timesys.com

Re: U-Boot support for M68K removal

2023-01-30 Thread Angelo Dureghello
> > > > I did a little searching after sending and I see there's been some > > patches for mcf5208evb and U-Boot, in QEMU but the last message (2019) > > was that the CPU emulation wasn't quite complete enough. But yes, one > > way or another, it would be really great to get a virtualized platform > > in CI to prevent future breakage. > > FWIW the QEMU emulation of the m5208evb is good enough to run Linux. > I do a lot of kernel testing (and development!) using that. > Thanks for the info ! > Regards > Greg > Regards, angelo > -- Angelo Dureghello Timesys e. angelo.dureghe...@timesys.com

[PATCH] MAINTAINERS: m68k: Change Angelo's email address

2023-01-30 Thread Angelo Dureghello
Set my new current personal email. Signed-off-by: Angelo Dureghello --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2dd2b46fcd..abf77a5f17 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -842,7 +842,7 @@ F: drivers/clk/imx

[PATCH] MAINTAINERS: m68k: Change Angelo's email address

2023-01-30 Thread Angelo Dureghello
Set my new current personal email. Signed-off-by: Angelo Dureghello --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2dd2b46fcd..abf77a5f17 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -842,7 +842,7 @@ F: drivers/clk/imx

  1   2   3   4   >