Re: [PATCH v2] usb: gadget: ether: split start/stop from init/halt

2023-01-26 Thread Niel Fourie
Hi Kevin, On 25/01/2023 23:50, Kevin Hilman wrote: Niel Fourie writes: Split out _usb_eth_start() from _usb_eth_init() and usb_eth_stop() from _usb_eth_halt(). Now _usb_eth_init() only initialises and registers the gadget device, which _usb_eth_halt() reverses, and together are used for

[RFC][PATCH] usb: dwc3: gadget: workaround for Netconsole hang

2023-01-23 Thread Niel Fourie
list_head to break out of these loops. No memory is leaked as the previous last element gets reused. This issue occurs when Netconsole is active over Ethernet gadget, and the cause it is still unclear. Any ideas? Signed-off-by: Niel Fourie Cc: Marek Vasut --- drivers/usb/dwc3/gadget.c | 16

Re: [PATCH v2] usb: gadget: ether: split start/stop from init/halt

2023-01-23 Thread Niel Fourie
Hi Marek On 20/01/2023 19:42, Marek Vasut wrote: On 1/20/23 18:15, Niel Fourie wrote: [...] Same question as in V1 below. +static int _usb_eth_start(struct ether_priv *priv) +{ +    unsigned long timeout = USB_CONNECT_TIMEOUT; +    struct eth_dev *dev = &priv->ethdev; +    unsigned

Re: [PATCH] usb: gadget: ether: split start/stop from init/halt

2023-01-20 Thread Niel Fourie
still crop up with other gadget drivers. Best regards, Niel Fourie -- DENX Software Engineering GmbH,Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-21 Fax: +49-8142-66989-80 Email: lu...@denx.de

[PATCH v2] usb: gadget: ether: split start/stop from init/halt

2023-01-20 Thread Niel Fourie
() functions connect and disconnect the gadget as expected by the start()/stop() callbacks. Previously the gadget device was probed on every start() and removed on every stop(), which is inconsistent with other DM_ETH drivers. Signed-off-by: Niel Fourie Cc: Marek Vasut Cc: Lukasz Majewski Cc: Ramon Fried

Re: [PATCH] usb: gadget: ether: split start/stop from init/halt

2022-12-13 Thread Niel Fourie
Hi Marek, On 12/12/2022 17:46, Marek Vasut wrote: On 12/12/22 16:29, Niel Fourie wrote: Split out _usb_eth_start() from _usb_eth_init() and usb_eth_stop() from _usb_eth_halt(). Now _usb_eth_init() only initialises and registers the gadget device, which _usb_eth_halt() reverses, and together

[PATCH] usb: gadget: ether: split start/stop from init/halt

2022-12-12 Thread Niel Fourie
: Niel Fourie Cc: Marek Vasut Cc: Lukasz Majewski Cc: Ramon Fried --- drivers/usb/gadget/ether.c | 58 +- 1 file changed, 45 insertions(+), 13 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 43aec7ffa70..a75b4eeb5bb 100644

[PATCH v2] net: eth-uclass: revalidate priv after stop() in eth_halt()

2022-12-12 Thread Niel Fourie
. Writing to `priv` after stop() may corrupt the `fd` member of `struct malloc_chunk`, which represents the freed block, and could cause hard-to-debug crashes on subsequent calls to malloc()/free(). Signed-off-by: Niel Fourie Cc: Ramon Fried Cc: Marek Vasut Cc: Lukasz Majewski --- Changes for v2

Re: [PATCH] net: eth-uclass: change state before stop() in eth_halt()

2022-12-05 Thread Niel Fourie
Hi Marek, On 05/12/2022 13:06, Niel Fourie wrote: [...] It does however show that this patch introduces a bug -- this patch changes the order in which priv->state = ETH_STATE_PASSIVE; is assigned from _after_ the ->stop callback to _before_ the -> stop callback. This breaks dr

Re: [PATCH] net: eth-uclass: change state before stop() in eth_halt()

2022-12-05 Thread Niel Fourie
Hi Marek, On 04/12/2022 03:17, Marek Vasut wrote: On 12/2/22 11:36, Niel Fourie wrote: Hi Marek, Hi, On 01/12/2022 11:44, Marek Vasut wrote: On 12/1/22 09:24, Lukasz Majewski wrote: On Wed, 30 Nov 2022 17:42:25 +0100 Niel Fourie wrote: In eth_halt(), change the private uclass state

Re: [PATCH] net: eth-uclass: change state before stop() in eth_halt()

2022-12-02 Thread Niel Fourie
Hi Marek, On 01/12/2022 11:44, Marek Vasut wrote: On 12/1/22 09:24, Lukasz Majewski wrote: On Wed, 30 Nov 2022 17:42:25 +0100 Niel Fourie wrote: In eth_halt(), change the private uclass state before calling stop() instead of afterwards, to avoid writing to memory which may have been freed

[PATCH] net: eth-uclass: change state before stop() in eth_halt()

2022-11-30 Thread Niel Fourie
`uclass_priv_` to which `priv` is pointing. Writing to `priv` after stop() may corrupt the `fd` member of `struct malloc_chunk`, which represents the freed block, and could cause hard-to-debug crashes on subsequent calls to malloc()/free(). Signed-off-by: Niel Fourie Cc: Ramon Fried Cc: Marek Vasut

[PATCH] ARM: pcm058: Match mainline Linux NAND ECC layout/behaviour

2021-03-22 Thread Niel Fourie
on SOMs with Winbond NAND flash chips. Signed-off-by: Niel Fourie --- arch/arm/dts/imx6q-phytec-mira-rdk-nand-u-boot.dtsi | 5 + include/configs/pcm058.h| 1 + 2 files changed, 6 insertions(+) diff --git a/arch/arm/dts/imx6q-phytec-mira-rdk-nand-u-boot.dtsi b/arch/

[PATCH v2 3/3] PowerPC: keymile: Add support for kmcent2 board

2021-01-21 Thread Niel Fourie
Add basic support for the Hitachi Power Grids kmcent2 board, based on the NXP QorIQ T1040 SoC. Signed-off-by: Valentin Longchamp Signed-off-by: Rainer Boschung Signed-off-by: Niel Fourie Cc: Holger Brunck Cc: Heiko Schocher Cc: Priyanka Jain Cc: Stefan Roese --- Changes in v2: - Sorted

[PATCH v2 2/3] keymile: common: update to set_env_hex(), fix "pram" radix

2021-01-21 Thread Niel Fourie
Replace instances of sprintf()/set_env() for setting hexadecimal values with set_env_hex(). In set_km_env() the "pram" variable was set to an hexadecimal value, while initr_mem() expects an unsigned decimal, so use set_env_ulong() instead. Signed-off-by: Niel Fourie Cc: Holger Brunck

[PATCH v2 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-21 Thread Niel Fourie
Pulled in the kmcent2.dts and all its dependents from Linux 5.10, commit 2c85ebc57b3e upstream. Replaced the license text with SPDX License Identifiers. Signed-off-by: Niel Fourie Reviewed-by: Stefan Roese Cc: Holger Brunck Cc: Heiko Schocher Cc: Priyanka Jain Cc: Stefan Roese --- Changes

[PATCH v2 0/3] PowerPC: keymile: Add support for kmcent2 board

2021-01-21 Thread Niel Fourie
support for the kmcent2 Changes in v2: - DTs pulled in from Linux reviewed - In common.c, use set_env_hex()/set_env_ulong() - Sort header includes, remove includes - Removed unnecessary #ifdefs - Moved MTDPARTS_DEFAULT/MTDIDS_DEFAULT to defconfig Niel Fourie (3): PowerPC: dts: Pulled in kmcent2 dts

Re: [PATCH 3/3] PowerPC: keymile: Add support for kmcent2 board

2021-01-21 Thread Niel Fourie
instead if available in Kconfig. With the exceptions of MTDPARTS_DEFAULT and MTDIDS_DEFAULT, I originally did go through each of these defines, and moved everything that could into the defconfig already. Everything else would require editing the Kconfigs themselves. Some macros above do

Re: [PATCH 2/3] keymile: common: Fix pram variable radix

2021-01-21 Thread Niel Fourie
Hi Stefan On 19/01/2021 16:13, Stefan Roese wrote: Hi Niel, On 08.01.21 11:53, Niel Fourie wrote: In set_km_env() the pram variable was set to an hexadecimal value, while initr_mem() expects an unsigned decimal. Set the pram variable to an unsigned decimal instead. Signed-off-by: Niel Fourie

Re: [PATCH 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-21 Thread Niel Fourie
Hi Stefan, On 19/01/2021 16:06, Stefan Roese wrote: Hi Niel, On 08.01.21 11:53, Niel Fourie wrote: Pulled in the kmcent2.dts and all its dependents from Linux 5.10, commit 2c85ebc57b3e upstream. Replaced the license text with SPDX License Identifiers. I assume that you did not change the

[PATCH 3/3] PowerPC: keymile: Add support for kmcent2 board

2021-01-08 Thread Niel Fourie
Add basic support for the Hitachi Power Grids kmcent2 board, based on the NXP QorIQ T1040 SoC. Signed-off-by: Valentin Longchamp Signed-off-by: Rainer Boschung Signed-off-by: Niel Fourie Cc: Holger Brunck Cc: Heiko Schocher Cc: Priyanka Jain --- arch/powerpc/cpu/mpc85xx/Kconfig | 4

[PATCH 1/3] PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10

2021-01-08 Thread Niel Fourie
Pulled in the kmcent2.dts and all its dependents from Linux 5.10, commit 2c85ebc57b3e upstream. Replaced the license text with SPDX License Identifiers. Signed-off-by: Niel Fourie Cc: Holger Brunck Cc: Heiko Schocher Cc: Priyanka Jain --- arch/powerpc/dts/elo3-dma-0.dtsi | 55 ++ arch

[PATCH 2/3] keymile: common: Fix pram variable radix

2021-01-08 Thread Niel Fourie
In set_km_env() the pram variable was set to an hexadecimal value, while initr_mem() expects an unsigned decimal. Set the pram variable to an unsigned decimal instead. Signed-off-by: Niel Fourie Cc: Holger Brunck Cc: Heiko Schocher Cc: Priyanka Jain --- board/keymile/common/common.c | 2

[PATCH 0/3] PowerPC: keymile: Add support for kmcent2 board

2021-01-08 Thread Niel Fourie
support for the kmcent2 Niel Fourie (3): PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10 keymile: common: Fix pram variable radix PowerPC: keymile: Add support for kmcent2 board arch/powerpc/cpu/mpc85xx/Kconfig | 4 + arch/powerpc/dts/Makefile | 1 + arch/powerpc

[PATCH] dm: spi: Fix spi_free_slave() freed memory write

2020-12-16 Thread Niel Fourie
d pointer of the previously freed chunk. Signed-off-by: Niel Fourie Cc: Simon Glass --- drivers/spi/spi-uclass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c index 55a8eed8901..a16ac9280fd 100644 --- a/drivers/spi/spi-uclass.c +++ b/driver

[PATCH] arm: imx6q: pcm058: Rework SPI NOR configuration

2020-07-24 Thread Niel Fourie
README to reflect this change. Signed-off-by: Niel Fourie Cc: Stefano Babic --- board/phytec/pcm058/README | 20 configs/pcm058_defconfig | 3 ++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/board/phytec/pcm058/README b/board/phytec/pcm058/README index

[PATCH 4/4] arm: imx6q: pcm058: Convert pcm058 to use DM with DTs

2020-05-19 Thread Niel Fourie
Convert pcm058 support to use device trees and the driver model. Add rudimentary boot scripts to the environment, expand README. Signed-off-by: Niel Fourie Cc: Stefano Babic --- arch/arm/dts/Makefile | 1 + .../imx6q-phytec-mira-rdk-nand-u-boot.dtsi| 42 +++ arch

[PATCH 3/4] arm: imx6q: pcm058: change MAINTAINER

2020-05-19 Thread Niel Fourie
Change the MAINTAINER of pcm058. Signed-off-by: Niel Fourie Cc: Stefano Babic --- board/phytec/pcm058/MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/phytec/pcm058/MAINTAINERS b/board/phytec/pcm058/MAINTAINERS index b0ca40277f..909dfc44af 100644 --- a

[PATCH 2/4] arm: dts: imx6q: Add Linux dts files for Phytec Mira

2020-05-19 Thread Niel Fourie
Add Phytec Mira device tree files, for use with pcm058. >From Linux 5.6, commit 7111951b8d49 upstream Signed-off-by: Niel Fourie Cc: Stefano Babic --- arch/arm/dts/imx6q-phytec-mira-rdk-nand.dts | 72 arch/arm/dts/imx6qdl-phytec-mira.dtsi| 390 +++ arch/arm/

[PATCH 1/4] dts-bindings: regulator: Add dlg,da9063-regulator

2020-05-19 Thread Niel Fourie
Add da9063-regulator bindings from Linux 5.6: commit 7111951b8d49 upstream Signed-off-by: Niel Fourie Cc: Stefano Babic --- .../dt-bindings/regulator/dlg,da9063-regulator.h | 16 1 file changed, 16 insertions(+) create mode 100644 include/dt-bindings/regulator/dlg,da9063

[PATCH 0/4] arm: imx6q: pcm058: Convert support to use DM with DTs

2020-05-19 Thread Niel Fourie
This patch series updates the existing pcm058 board support to use device trees with driver model. The first two patches in the series pulls in the unmodified Linux dt-binding and dts files. The third patch changes the maintainer. The last patch contains the required changes. Niel Fourie (4

Re: [RFC PATCH 1/1] Makefile: Expand legacy (non-DM) driver warnings

2020-03-30 Thread Niel Fourie
Hi Simon On 3/28/20 9:05 PM, Simon Glass wrote: Hi Niel, On Wed, 25 Mar 2020 at 07:47, Niel Fourie wrote: Expand warnings printed by Makefile after compile when legacy drivers are in use. These include: - CONFIG_HAVE_BLOCK_DEVICE without CONFIG_BLK - CONFIG_BOOTCOUNT_LIMIT without

[PATCH v3 1/1] cmd: blkls: Add blkls command

2020-03-30 Thread Niel Fourie
Add a command to print a list of available block device drivers, and for each, the list of known block devices. Signed-off-by: Niel Fourie Cc: Simon Glass Cc: Stefan Roese Reviewed-by: Simon Glass Reviewed-by: Stefan Roese --- Changes in v2: - Removed legacy block device variant of blkls and

[PATCH v2 1/1] cmd: blkls: Add blkls command

2020-03-27 Thread Niel Fourie
Add a command to print a list of available block device drivers, and for each, the list of known block devices. Signed-off-by: Niel Fourie Cc: Simon Glass Cc: Stefan Roese --- Changes in v2: - Removed legacy block device variant of blkls and its test. - Handle return value of uclass_get

Re: [PATCH 1/1] cmd: blkls: Add blkls command

2020-03-25 Thread Niel Fourie
out the #ifdef after adding the Kconfig dependency. Will fix. Well spotted, thanks! Best regards, Niel Fourie -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-21 Fax: +49-8142-66989

[PATCH 1/1] cmd: blkls: Add blkls command

2020-03-25 Thread Niel Fourie
Add a command to print a list of available block device drivers, and for each, the list of known block devices. Signed-off-by: Niel Fourie --- cmd/Kconfig | 8 cmd/Makefile| 1 + cmd/lsblk.c | 83 + test

[RFC PATCH 1/1] Makefile: Expand legacy (non-DM) driver warnings

2020-03-25 Thread Niel Fourie
without CONFIG_DM_PMIC - Absence of CONFIG_RAM and CONFIG_SPL_RAM Also replaced existing CONFIG_DM_SPI warning for consistency. Removed CONFIG_BLK requirement for CONFIG_DM_USB, as all USB devices not block devices. Signed-off-by: Niel Fourie Cc: Simon Glass --- Makefile | 73

[PATCH v3 2/3] cmd: fs: Add command to list supported fs types

2020-03-24 Thread Niel Fourie
Added command "fstypes" to list supported/included filesystems. Signed-off-by: Niel Fourie Cc: Simon Glass Reviewed-by: Simon Glass --- Changes in v2: - Add Python test Changes in v3: - Rewrote comment for do_fs_types() in fs.h cmd/fs.c | 11 ++

[PATCH v3 1/3] cmd: part: Add subcommand to list supported partition tables

2020-03-24 Thread Niel Fourie
Add a subcommand "types" to the part command, which lists the supported partition table types. Signed-off-by: Niel Fourie Cc: Simon Glass Reviewed-by: Simon Glass --- Changes in v2: - Add Python test Changes in v3: - none cmd/part.c | 27 +-

[PATCH v3 0/3] cmd: add driver, fs and part type listing commands

2020-03-24 Thread Niel Fourie
drivers which use static platform data (instead of the device tree). These patches were tested in the Sandbox and on the Wandboard i.MX6Quad Board rev B1. Changes in v2: - Rebased on https://patchwork.ozlabs.org/patch/1234460/ - Added Python tests - Fixed minor typographical errors Changes in v3:

[PATCH v3 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-24 Thread Niel Fourie
s driver and names of attached devices. Added a new "static" subcommand to dump a list of DM drivers with statically defined platform data. Signed-off-by: Niel Fourie Cc: Simon Glass Cc: Sean Anderson Reviewed-by: Simon Glass --- Depends on: https://patchwork.ozlabs.org/patch/1234460/

Re: [PATCH v2 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-20 Thread Niel Fourie
so listed in `dm drivers`.""" +response = u_boot_console.run_command('dm static') +drivers = (line[:25].rstrip() for line in response[:-1].split('\n')[2:]) response = u_boot_console.run_command('dm drivers') for driver in drive

[PATCH v2 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-19 Thread Niel Fourie
s driver and names of attached devices. Added a new "static" subcommand to dump a list of DM drivers with statically defined platform data. Signed-off-by: Niel Fourie CC: Simon Glass CC: Sean Anderson --- Depends on: https://patchwork.ozlabs.org/patch/1234460/ Changes in v2: - Add/exte

[PATCH v2 1/3] cmd: part: Add subcommand to list supported partition tables

2020-03-19 Thread Niel Fourie
Add a subcommand "types" to the part command, which lists the supported partition table types. Signed-off-by: Niel Fourie CC: Simon Glass --- Changes in v2: - Add Python test cmd/part.c | 27 +-- test/py/tests/test_part.py | 14 +

[PATCH v2 2/3] cmd: fs: Add command to list supported fs types

2020-03-19 Thread Niel Fourie
Added command "fstypes" to list supported/included filesystems. Signed-off-by: Niel Fourie CC: Simon Glass --- Changes in v2: - Add Python test cmd/fs.c | 11 +++ fs/fs.c | 20 in

[PATCH v2 0/3] cmd: add driver, fs and part type listing commands

2020-03-19 Thread Niel Fourie
drivers which use static platform data (instead of the device tree). These patches were tested in the Sandbox and on the Wandboard i.MX6Quad Board rev B1. Changes in v2: - Rebased on https://patchwork.ozlabs.org/patch/1234460/ - Added Python tests - Fixed minor typographical errors Niel Fourie

Re: [PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-18 Thread Niel Fourie
Hi Tom, On 3/17/20 7:51 PM, Sean Anderson wrote: On 3/17/20 10:09 AM, Niel Fourie wrote: Renamed dm "drivers" subcommand to "compat" (as it listed compatibility strings) and prevent it from segfaulting when drivers have no of_match populated. Added a new "drivers"

Re: [PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-18 Thread Niel Fourie
tree, I felt that it was useful to list them to see their impact. The address is useful to for eyeballing the platform data with md.b to distinguish between multiple driver instances... In the hunt against legacy drivers, I am also looking at ways of listing/highlighting other problem-children

[PATCH 3/3] cmd: dm: Fixed/Added DM driver listing subcommands

2020-03-17 Thread Niel Fourie
s driver and names of attached devices. Added a new "static" subcommand to dump a list of DM drivers with statically defined platform data. Signed-off-by: Niel Fourie CC: Simon Glass --- cmd/dm.c| 24 -- drivers/core/dump.c | 60 +++

[PATCH 2/3] cmd: fs: Add command to list supported fs types

2020-03-17 Thread Niel Fourie
Added command "fstypes" to list supported/included filesystems. Signed-off-by: Niel Fourie CC: Simon Glass --- cmd/fs.c | 11 +++ fs/fs.c | 20 include/fs.h | 5 + 3 files changed, 36 insertions(+) diff --git a/cmd/fs.c b/cmd/fs.c index

[PATCH 1/3] cmd: part: Add subcommand to list supported partition tables

2020-03-17 Thread Niel Fourie
Add a subcommand "types" to the part command, which lists the supported partition table types. Signed-off-by: Niel Fourie CC: Simon Glass --- cmd/part.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/cmd/part.c b/cmd/part.c index

[PATCH 0/3] cmd: add driver, fs and part type listing commands

2020-03-17 Thread Niel Fourie
drivers which use static platform data (instead of the device tree). These patches were tested in the Sandbox and on the Wandboard i.MX6Quad Board rev B1. Niel Fourie (3): cmd: part: Add subcommand to list supported partition tables cmd: fs: Add command to list supported fs types cmd: dm: Fi

[U-Boot] [PATCH v6] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-08 Thread Niel Fourie
trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by: Niel Fourie Reviewed-by: Heiko Schocher --- Notes: Changes for v6: - RAM initialisation reworked to detect available memory - Remove memory section from am335x-wega-rdk-u

Re: [U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-07 Thread Niel Fourie
Hi Tom, On 5/7/19 3:19 PM, Tom Rini wrote: On Tue, May 07, 2019 at 11:39:12AM +0200, Niel Fourie wrote: Hi Tom, On 5/6/19 7:24 PM, Tom Rini wrote: On Mon, May 06, 2019 at 06:44:48PM +0200, Niel Fourie wrote: Hi Tom, On 5/6/19 4:18 PM, Tom Rini wrote: On Mon, May 06, 2019 at 04:02:53PM

Re: [U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-07 Thread Niel Fourie
Hi Tom, On 5/6/19 7:24 PM, Tom Rini wrote: On Mon, May 06, 2019 at 06:44:48PM +0200, Niel Fourie wrote: Hi Tom, On 5/6/19 4:18 PM, Tom Rini wrote: On Mon, May 06, 2019 at 04:02:53PM +0200, Niel Fourie wrote: Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega

Re: [U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Niel Fourie
Hi Tom, On 5/6/19 4:18 PM, Tom Rini wrote: On Mon, May 06, 2019 at 04:02:53PM +0200, Niel Fourie wrote: Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP

[U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Niel Fourie
trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by: Niel Fourie --- Changes for v2: - Remove formatting changes to upstream Linux dtsi files - Remove incorrectly added MACH_TYPE - Rename board from phycore_pcl060 to phycore_am335x_r2 - Implement

Re: [U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Niel Fourie
Hi Tom, On 5/3/19 4:07 PM, Tom Rini wrote: On Fri, May 03, 2019 at 01:28:02PM +0200, Niel Fourie wrote: [snip] diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi index 78f5e2c4d3..a58734e441 100644 --- a/arch/arm/dts/am33xx-u-boot.dtsi +++ b/arch/arm/dts/am33xx-u

[U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-03 Thread Niel Fourie
trees were taken from Linux mainline: commit 37624b58542fb9f2 ("Linux 5.1-rc7") Signed-off-by: Niel Fourie --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-phycore-som.dtsi | 322 + arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 27 ++

[U-Boot] [PATCH v3] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-02 Thread Niel Fourie
trees were taken from Linux mainline revision 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b Signed-off-by: Niel Fourie --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-phycore-som.dtsi | 322 + arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 40

Re: [U-Boot] [PATCH v2] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-02 Thread Niel Fourie
. I simply removed the hard-coded USB stuff, as the DM_USB was already enabled and working anyways. DM_USB_GADGET was also enabled. Thanks for the recommendation. Best regards, Niel Fourie -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirch

[U-Boot] [PATCH v2] ARM: am335x: Add phyCORE AM335x R2 support

2019-04-25 Thread Niel Fourie
-off-by: Niel Fourie --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-phycore-som.dtsi | 322 + arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 40 +++ arch/arm/dts/am335x-wega-rdk.dts | 23 ++ arch/arm/dts/am335x-wega.dtsi

Re: [U-Boot] [PATCH] phycore-pcl060: U-boot support for Phytec phyCORE PCL060

2019-04-25 Thread Niel Fourie
mented all points, along with some further refinement/clean-up. Best regards, Niel Fourie -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-21 Fax: +49-8142-66989-80 Email: lu.

[U-Boot] [PATCH] phycore-pcl060: U-boot support for Phytec phyCORE PCL060

2019-04-18 Thread Niel Fourie
-off-by: Niel Fourie --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/am335x-phycore-som.dtsi | 327 ++ arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 35 +++ arch/arm/dts/am335x-wega-rdk.dts | 23 ++ arch/arm/dts/am335x-wega.dtsi| 231