Hi Marek,
On Wed, 2020-10-14 at 15:03 +0200, Marek Vasut wrote:
> On 10/14/20 2:29 PM, Chunfeng Yun wrote:
> > On Wed, 2020-10-14 at 12:56 +0200, Marek Vasut wrote:
> >> On 10/14/20 10:50 AM, Chunfeng Yun wrote:
> >>> This patch adds support for the MediaTek USB3 DRD controller,
> >>> its host
1. Rename AST2500 reset driver from ast2500-reset.c
to reset-ast2500.c
2. Rename AST2500 reset kconfig option from AST2500_RESET
to RESET_AST2500
Signed-off-by: Chia-Wei, Wang
Reviewed-by: Ryan Chen
---
drivers/reset/Kconfig | 2 +-
drivers/reset/Makefile
The System Control Unit (SCU) controller of Aspeed
SoCs provides the reset control for each peripheral.
This patch refactors the reset method to leverage
the SCU reset control. Thus the driver dependency
on watchdog including dedicated WDT API and reset
flag encoding can be eliminated.
The
This patch series refactors the reset method to use the
System Control Unit (SCU) reset control for simplicity.
In addition, the naming of reset driver and Kconfig
option is also refined for future consistency.
v3:
- Fix Makefile to adapt to the renamed reset driver file
v2:
- Rebase
On Wed, Oct 14, 2020 at 10:19:26AM +0200, Stefan Roese wrote:
> Hi Tom,
>
> please pull the first series of Marvell MVEBU related patches. Here the
> summary log:
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, 2020-10-14 at 15:31 +0200, Marek Vasut wrote:
> On 10/14/20 3:03 PM, Chunfeng Yun wrote:
> > On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote:
> >> On 10/14/20 2:54 PM, Chunfeng Yun wrote:
> >>> Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly,
> >>> try to avoid build
The 12d152620d commit fixed the get_rate helper because the set_parent
one did not re-parent the clock device to the new parent. The 4d139f3838
commit allows you to remove this workaround by calling the
clk_get_parent_rate routine.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Replace
On Wed, 2020-10-14 at 15:31 +0200, Marek Vasut wrote:
> On 10/14/20 3:03 PM, Chunfeng Yun wrote:
> > On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote:
> >> On 10/14/20 2:54 PM, Chunfeng Yun wrote:
> >>> Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly,
> >>> try to avoid build
On 14/10/2020 22:31, Tom Rini wrote:
> On Wed, Oct 14, 2020 at 09:58:28PM +0300, Alper Nebi Yasak wrote:
>> On 14/10/2020 18:24, Tom Rini wrote:
>>> Ugh. In so far as anything can be re-licensed, who did it all
>>> originally? I suspect coreboot isn't interested in 2.0+ but we can do
>>>
Hi Tom,
The patches has been rebased onto the up-to-date U-Boot master.
A makefile error is also fixed in the revised version and verified with an
AST2500 EVB.
Thanks,
Chiawei
> -Original Message-
> From: ChiaWei Wang
> Sent: Thursday, October 15, 2020 10:25 AM
> To:
Hi Mike
All *.c and *.h files under
https://gitlab.denx.de/u-boot/u-boot/-/blob/master/lib/zlib/ have header
statement "For conditions of distribution and use, see copyright notice in
zlib.h". But, there is no copyright notice in zlib.h. Are you miss adding it?
Regards
Ley Foon
Dear Andre Heider,
On Wed, 23 Sep 2020 at 03:59, Simon Glass wrote:
> On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote:
> >
> > These are all unused.
> >
> > Signed-off-by: Andre Heider
> > ---
> > This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree.
> > Only compile time
At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL.
It doesn't make sense for this para-virtualized driver.
With this patch applied, you will be able to see early boot messages:
U-Boot 2020.10-1-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 +0900)
xenguest
Xen virtual CPU
Model:
This patch series improves the behavior and functionality of console
output on Xen:
Patch#1: allow for U-Boot banner
Patch#2-4: enable DEBUG_UART (or early printf)
AKASHI Takahiro (4):
serial: serial_xen: print U-Boot banner and others
arch: arm/xen: add putc() for debugging
xen: add
Those definitions added are used with HYPERVISOR_console_io().
Signed-off-by: AKASHI Takahiro
---
include/xen/interface/xen.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index eec8ab75b9ce..a7c8ed781b34 100644
---
This new function, xen_debug_putc(), is intended to be used to
enable CONFIG_DEBUG_UART on xen guest.
Please note that the underlying functionality in Xen is available
only when Xen is configured with !NDEBUG but is much simpler than
a generic HYPERVISOR_console_io().
Signed-off-by: AKASHI
By using a hypervisor call, we can implement DEBUG_UART on xen.
This will allow us to see messages even earlier than serial_init().
Signed-off-by: AKASHI Takahiro
---
drivers/serial/Kconfig | 14 +++---
drivers/serial/serial_xen.c | 20
2 files changed, 31
Dear Heinrich Schuchardt,
On Mon, 7 Sep 2020 at 14:13, Minkyu Kang wrote:
> Dear Heinrich Schuchardt,
>
> On 07/09/2020 04:33, Heinrich Schuchardt wrote:
> > On 9/6/20 9:00 PM, Andre Heider wrote:
> >> On 05/09/2020 12:02, Heinrich Schuchardt wrote:
> >>> Symbol CONFIG_DEFAULT_CONSOLE in
On Wed, Oct 14, 2020 at 3:08 PM Chunfeng Yun wrote:
>
> Add dt-binding for MediaTek USB3 DRD Driver which it's ported
which is
> from the Linux kernel DTS binding:
> Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
> Commit ID:
> 34d0545978b6 ("dt-bindings: usb: mtu3: fix typo of DMA
On Wed, Oct 14, 2020 at 3:08 PM Chunfeng Yun wrote:
>
> This patch adds support for the MediaTek USB3 DRD controller,
> its host side is based on xHCI, this driver supports device mode
> and host mode.
>
> Signed-off-by: Chunfeng Yun
> ---
> v8: Simplify Kconfig suggested by Bin
>
> v7: use xhci
Hi Tom,
please pull the first series of Marvell MVEBU related patches. Here the
summary log:
- Octeon TX: Add NAND driver (Suneel)
- Octeon TX: Add NIC driver driver (Suneel)
- Octeon TX2: Add NIC driver driver (Suneel)
- Armada
On 05.10.20 12:17, Pali Rohár wrote:
These comments are relict for old, now removed config options.
So remove these obsoleted comments too.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
include/configs/mvebu_armada-37xx.h | 7 ---
1 file changed, 7
From: T Karthik Reddy
This patch adds support for SHA3 command. It takes data blob
as input and generates 48 bytes sha3 hash value.
Signed-off-by: T Karthik Reddy
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
---
arch/arm/mach-zynqmp/include/mach/sys_proto.h | 5 ++
From: Siva Durga Prasad Paladugu
This patch adds support for encryption and decryption on a given data
blob using different key sources such as userkey(KUP), device key and
PUF key. Inorder to support this a new zynqmp command(zynqmp aes) has
been introduced.
Command:
zynqmp aes srcaddr ivaddr
From: T Karthik Reddy
This patch adds support for RSA command, performs RSA encrypt &
RSA decrypt on data blob of key size.
Signed-off-by: T Karthik Reddy
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
---
arch/arm/mach-zynqmp/include/mach/sys_proto.h | 4 ++
Hi,
the series is adding support for security features on zynqmp devices.
Thanks,
Michal
Siva Durga Prasad Paladugu (1):
arm64: zynqmp: Add support for encryption and decryption on data blob
T Karthik Reddy (2):
arm64: zynqmp: Add support for RSA command
arm64: zynqmp: Add support for
There also a need to check return values to make sure that clocks were
enabled and setup properly.
Signed-off-by: Michal Simek
---
drivers/serial/serial_pl01x.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/serial/serial_pl01x.c
By default 48B sha3 hash value is written to srcaddr which is not the best
solution in case of that you want to use data for other operations. That's
why add key_addr optional parameters which enables to write 48B sha3 hash
value to specified address.
Signed-off-by: Michal Simek
Tested-by: Ashok
Change debug and pr_ macro to dev macro and define LOG_CATEGORY.
Remove the "%s:" __func__ header as it is managed by dev macro
(dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32f.c | 39 ---
Update the name associated with the RCC drivers to avoid
duplicated name with the driver name.
With this patch the traces displayed with log macro provide a
correct device name.
The rcc device name before the patch is:
Class Index Probed DriverName
Change debug and pr_ macro to dev macro and define LOG_CATEGORY.
Remove the "%s:" __func__ header as it is managed by dev macro
(dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32mp1.c | 147 ++---
Define LOG_CATEGORY, use dev_ macro when it is possible
and migrate other trace to log_ macro.
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32mp1/stm32mp1_ddr.c | 36 +++---
drivers/ram/stm32mp1/stm32mp1_interactive.c | 4 +-
drivers/ram/stm32mp1/stm32mp1_ram.c | 37
Change debug/pr_debug to log_debug or dev_dbg macro and
define LOG_CATEGORY.
Remove the "%s:" __func__ header as it is managed by dev macro
(dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
Signed-off-by: Patrick Delaunay
---
drivers/spi/stm32_spi.c | 31
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY.
Signed-off-by: Patrick Delaunay
---
drivers/memory/stm32-fmc2-ebi.c | 30 --
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/drivers/memory/stm32-fmc2-ebi.c b/drivers/memory/stm32-fmc2-ebi.c
Change debug and pr_err to dev macro and define LOG_CATEGORY.
Signed-off-by: Patrick Delaunay
---
drivers/watchdog/stm32mp_wdt.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/watchdog/stm32mp_wdt.c b/drivers/watchdog/stm32mp_wdt.c
index
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
---
drivers/rtc/stm32_rtc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c
index f9db318af1..e608ed982f 100644
--- a/drivers/rtc/stm32_rtc.c
+++
Change debug and pr_ macro to dev macro and define LOG_CATEGORY.
Remove the "%s:" __func__ header as it is managed by dev macro
(dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
Signed-off-by: Patrick Delaunay
---
drivers/clk/clk_stm32h7.c | 70 +--
On 26.08.20 14:37, Stefan Roese wrote:
From: Suneel Garapati
Adds support for NAND controllers found on OcteonTX or
OcteonTX2 SoC platforms. Also includes driver to support
Hardware ECC using BCH HW engine found on these platforms.
Signed-off-by: Aaron Williams
Signed-off-by: Suneel Garapati
Hello Stefan and Tom,
On Wed, Sep 23, 2020 at 8:47 AM Stefan Roese wrote:
>
> On 29.08.20 00:35, Luka Kovacic wrote:
> > Add initial U-Boot support for the iEi Puzzle-M801 board based on the
> > Marvell Armada 88F8040 SoC.
> >
> > Currently supported hardware:
> > 1x USB 3.0
> > 4x Gigabit
On 29.08.20 00:35, Luka Kovacic wrote:
Add support for the marvell,armada8040-puzzle-m801 compatible string
in the board/Marvell/mvebu_armada-8k/board.c file to initialize the
networking on iEi Puzzle-M801 board (2x CP1 1 Gb ports).
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Applied to
On 29.08.20 00:35, Luka Kovacic wrote:
Add initial U-Boot support for the iEi Puzzle-M801 board based on the
Marvell Armada 88F8040 SoC.
Currently supported hardware:
1x USB 3.0
4x Gigabit Ethernet
2x SFP+ (with NXP PCA9555 and NXP PCA9544)
1x SATA 3.0
1x M.2 type B
1x RJ45 UART
1x SPI flash
1x
On 14/10/2020 10:21, Pali Rohár wrote:
diff --git a/doc/README.marvell b/doc/README.marvell
index 5416bc3035..be07f31f8c 100644
--- a/doc/README.marvell
+++ b/doc/README.marvell
@@ -43,8 +43,11 @@ Build Procedure
In order to prevent this, the required device-tree MUST be set
On Wednesday 14 October 2020 10:37:57 Andre Heider wrote:
> On 14/10/2020 10:21, Pali Rohár wrote:
>
>
>
> > > > diff --git a/doc/README.marvell b/doc/README.marvell
> > > > index 5416bc3035..be07f31f8c 100644
> > > > --- a/doc/README.marvell
> > > > +++ b/doc/README.marvell
> > > > @@ -43,8
Convert plain text documentation to reStructuredText format and add
it to Sphinx TOC tree. No essential content change.
Signed-off-by: Peng Fan
---
board/freescale/imx8mn_evk/README | 37 ---
doc/board/freescale/imx8mn_evk.rst | 57 ++
When using cygwin64 "dd (coreutils) 8.26 Packaged by Cygwin (8.26-2)",
the last not 512bytes aligned data wat cut off and not burned into SD
card.
Saying the flash.bin size is 1085608 bytes, not 512bytes aligned. It only
burned 1085440 bytes, the leaving 168 bytes were not burnned and cause
boot
V2:
Migrate README to doc/board/freescale
patch 1 is not changed.
Peng Fan (12):
board: imx: address dd usage in README
doc: board: Convert i.MX8MP EVK README to reST
doc: board: Convert i.MX8MN EVK README to reST
doc: board: Convert i.MX8MM EVK README to reST
doc: board: Convert
Convert plain text documentation to reStructuredText format and add
it to Sphinx TOC tree. No essential content change.
Signed-off-by: Peng Fan
---
board/freescale/imxrt1020-evk/README | 31
doc/board/freescale/imxrt1020-evk.rst | 41 +++
Convert plain text documentation to reStructuredText format and add
it to Sphinx TOC tree. No essential content change.
Signed-off-by: Peng Fan
---
board/freescale/imx8mq_evk/README | 37
doc/board/freescale/imx8mq_evk.rst | 56 ++
Convert plain text documentation to reStructuredText format and add
it to Sphinx TOC tree. No essential content change.
Signed-off-by: Peng Fan
---
board/freescale/imx8mp_evk/README | 41
doc/board/freescale/imx8mp_evk.rst | 61 ++
Convert plain text documentation to reStructuredText format and add
it to Sphinx TOC tree. No essential content change.
Signed-off-by: Peng Fan
---
board/freescale/imx8mm_evk/README | 37
doc/board/freescale/imx8mm_evk.rst | 56 ++
This patch series fix several memory leaks, some use of dangling
pointers (leading to cpu freeze) and finally introduce the exists()
function for squashfs.
This function enable testing the existance of a file, which is mandatory
for using the distro_bootcmd
Those fixes have been cut into several
When trying to load an non-existing file, the cpu hangs!
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 37 +
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 15208b4dab0..1fdb9ac534b 100644
*file and *dir were not freed on error
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 39 +++
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 0ac922af9e7..55d183663a8 100644
---
sqfs_dirs wasn't freed anywhere.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index b94a9715205..0ac922af9e7 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
@@ -1573,4 +1573,5 @@ void
dirs->entry shouldn't be left dangling as it could be freed twice.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index c4d74fd4d6d..1df27f7b903 100644
--- a/fs/squashfs/sqfs.c
+++
inode_table should not be left dangling as it may be freed in sqfs_opendir
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index eb8851a7148..c4b7c84e9aa 100644
--- a/fs/squashfs/sqfs.c
+++
Using only one label permits to prevents bugs when moving code around.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 27 ---
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 1fdb9ac534b..b94a9715205
add missing squashfs function to prevent dangling or null pointers.
For exemple, when calling test [ -e somefile ], squashfs.exists may be
called.
Signed-off-by: Richard Genoud
---
fs/fs.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/fs/fs.c b/fs/fs.c
index
On Wed, Oct 14, 2020 at 3:08 PM Chunfeng Yun wrote:
>
> Enable mtu3, xhci, tphy drivers.
> Device mode: enable fastboot;
> Host mode: enable USB, FAT commands, and fixed regulator,
> mass storage drivers;
> Due to device mode is enabled by default, comment out
> the host mode config here.
>
>
On 04.09.20 17:33, Andre Heider wrote:
Move most of the dts to the new common armada-3720-espressobin.dtsi
file, just like Linux, but keep the current, downstream based, version.
The dts itself is imported from Linux.
Signed-off-by: Andre Heider
Applied to u-boot-marvell/master
Thanks,
On 04.09.20 17:33, Andre Heider wrote:
Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for
emmc, since our dtsi is still based on downstream and sdhc0 is used for
the sd card.
Signed-off-by: Andre Heider
Applied to u-boot-marvell/master
Thanks,
Stefan
---
Hi Luka,
On 14.10.20 10:14, Luka Perkov wrote:
Hello Stefan and Tom,
On Wed, Sep 23, 2020 at 8:47 AM Stefan Roese wrote:
On 29.08.20 00:35, Luka Kovacic wrote:
Add initial U-Boot support for the iEi Puzzle-M801 board based on the
Marvell Armada 88F8040 SoC.
Currently supported hardware:
On 30.09.20 16:28, George Hilliard wrote:
The device tree has a way to specify GPIO lines as chip selects. From
the binding docs:
So if for example the controller has 2 CS lines, and the cs-gpios
property looks like this:
cs-gpios = < 0 0> <0> < 1 0> < 2 0>;
Then it
On 02.10.20 07:51, Andre Heider wrote:
Fix the actual board vendor and ease synching dts files from Linux.
Signed-off-by: Andre Heider
---
v3: rebase on master
Applied to u-boot-marvell/master
Thanks,
Stefan
arch/arm/dts/armada-3720-espressobin.dts | 4 ++--
Hi Bin,
Thank you again
On Wed, 2020-10-14 at 16:05 +0800, Bin Meng wrote:
> On Wed, Oct 14, 2020 at 3:08 PM Chunfeng Yun
> wrote:
> >
> > Enable mtu3, xhci, tphy drivers.
> > Device mode: enable fastboot;
> > Host mode: enable USB, FAT commands, and fixed regulator,
> > mass storage drivers;
On Wed, 2020-10-14 at 10:22 +0200, Marek Vasut wrote:
> On 10/14/20 9:08 AM, Chunfeng Yun wrote:
> > This patch adds support for the MediaTek USB3 DRD controller,
> > its host side is based on xHCI, this driver supports device mode
> > and host mode.
>
> This one does not apply, can you rebase
From: T Karthik Reddy
Remove fixed reference clk used by plat->frequency and use clk
subsystem to get reference clk. As per spi dt bindings
"spi-max-frequency" property should be used by the slave devices.
This property is read by spi-uclass driver for the slave device.
So avoid reading above
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY.
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp1/stm32mp1.c | 134 +--
1 file changed, 65 insertions(+), 69 deletions(-)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
Activate the logging features in SPL and U-Boot
(CONFIG_LOG and CONFIG_SPL_LOG) and the command 'log' with
CONFIG_CMD_LOG.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 2 ++
configs/stm32mp15_trusted_defconfig | 1 +
2 files changed, 3 insertions(+)
diff --git
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY.
Signed-off-by: Patrick Delaunay
---
board/st/common/stm32mp_dfu.c | 3 ++-
board/st/common/stm32mp_mtdparts.c | 5 +++--
board/st/common/stpmic1.c | 5 -
board/st/common/stusb160x.c| 2 ++
4 files changed, 11
From: T Karthik Reddy
Remove unused variable 'count' which is causing warning while
compilation.
Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
---
drivers/spi/xilinx_spi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/xilinx_spi.c
Add an entry in usb_gadget_controller_number() for the MTU3
gadget controller. It is used to bind the USB Ethernet driver.
Signed-off-by: Chunfeng Yun
Reviewed-by: Bin Meng
---
v8: add Reviewed-by Bin
v4~v7: no changes
v3: new patch
---
drivers/usb/gadget/gadget_chips.h | 8
1 file
Enable mtu3, xhci, tphy drivers.
Device mode: enable fastboot;
Host mode: enable USB, FAT commands, and fixed regulator,
mass storage drivers;
Due to device mode is enabled by default, comment out
the host mode config here.
Signed-off-by: Chunfeng Yun
---
v8 changes:
1. add CONFIG_USB_XHCI_HCD
Add usb, usb phy, and fixed regulators nodes
Signed-off-by: Chunfeng Yun
Acked-by: Bin Meng
---
v8: add Acked-by Bin
v5~v7: no changes
v4: add host related properties, add subnode.
v3: remove unused property mediatek,discth
v2: no changes
---
arch/arm/dts/mt8512-bm1-emmc.dts | 34
There is only declaration of usb_speed_string(), but no definition,
so add it to avoid build error when call it.
Signed-off-by: Chunfeng Yun
Reviewed-by: Bin Meng
---
v8: add Reviewed-by Bin
v7: no changes
v6: modify commit message suggested by Roger
v5: no changes
v4: new patch
---
Add bindings for common properties, include maximum-speed,
dr_mode and phy_type
Signed-off-by: Chunfeng Yun
Reviewed-by: Bin Meng
---
v8: add Reviewed-by Bin
v2~v7: no changes
---
doc/device-tree-bindings/usb/generic.txt | 31
1 file changed, 31 insertions(+)
create
Add dt-binding for MediaTek USB3 DRD Driver which it's ported
from the Linux kernel DTS binding:
Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
Commit ID:
34d0545978b6 ("dt-bindings: usb: mtu3: fix typo of DMA clock name")
Due to Dual-Role switch is not supported in Uboot, some
These patches introduce the MediaTek USB3 Dual-Role Controller
driver.
The driver can be configured as Peripheral only and Host only
(based on xHCI) modes, and it's ported from Linux Kernel 5.8-rc1
v8 changes suggested by Bin:
1. modify Kconfig and mt8512 defconfig
2. merge [v7 8/10] and
Add enum USB_SPEED_SUPER_PLUS for USB3.1
Signed-off-by: Chunfeng Yun
Reviewed-by: Bin Meng
---
v8: add Reviewed-by Bin
v5~v7: no changes
v4: also add it into speed_names array
v2~v3: no changes
---
drivers/usb/common/common.c | 1 +
include/linux/usb/ch9.h | 1 +
2 files changed, 2
Add MediaTek USB3 Dual-Role controller driver to ARM MEDIATEK,
and add myself as a maintainer for it.
Signed-off-by: Chunfeng Yun
Reviewed-by: Bin Meng
---
v8: add Reviewed-by Bin
v6~v7: no changes
v5: add mtu3/, xhci-mtk.c, and myself as maintainer for MTK USB
v4: new patch
---
MAINTAINERS
pos_list wasn't freed on every error
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 55d183663a8..c4d74fd4d6d 100644
--- a/fs/squashfs/sqfs.c
path, target, res, rem and sym_tokens were not free on error nor success.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 64 --
1 file changed, 51 insertions(+), 13 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index
memory allocation should always be checked
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index c4b7c84e9aa..24a7680aa5c 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
@@ -242,6 +242,9
sqfs_closedir() should be called to free memory allocated by
sqfs_opendir()
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 79d68dddb28..6cd3ba9ce10 100644
--- a/fs/squashfs/sqfs.c
+++
as sqfs_opendir failed, there's no need to call sqfs_closedir
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index c5a24450e6f..116b5160ee3 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
This permits to find a file and use the distro_bootcmd
Signed-off-by: Richard Genoud
---
fs/fs.c| 2 +-
fs/squashfs/sqfs.c | 38 ++
include/squashfs.h | 1 +
3 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/fs/fs.c b/fs/fs.c
index
dirs->entry shouldn't be left dangling as it could be freed twice.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 24a7680aa5c..c5a24450e6f 100644
--- a/fs/squashfs/sqfs.c
+++
as sqfs_opendir failed, there's no need to call sqfs_closedir
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 0510ae311d1..79d68dddb28 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
data_buffer was allocated in a loop and freed only once.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 6cd3ba9ce10..82bf1faf25f 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
@@
dirs->entry shouldn't be left dangling as it could be freed twice.
Signed-off-by: Richard Genoud
---
fs/squashfs/sqfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 116b5160ee3..0510ae311d1 100644
--- a/fs/squashfs/sqfs.c
+++
On Wednesday 14 October 2020 10:17:45 Stefan Roese wrote:
> On 04.09.20 17:33, Andre Heider wrote:
> > Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for
> > emmc, since our dtsi is still based on downstream and sdhc0 is used for
> > the sd card.
> >
> > Signed-off-by: Andre
Define LOG_CATEGORY, use dev_ macro when it is possible.
Remove the "%s:" __func__ header as it is managed by dev macro
(dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
Signed-off-by: Patrick Delaunay
---
drivers/mmc/stm32_sdmmc2.c | 85 --
1 file
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
---
drivers/power/regulator/stm32-vrefbuf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/power/regulator/stm32-vrefbuf.c
b/drivers/power/regulator/stm32-vrefbuf.c
index
This patch-set migrates several stm32 drivers to API compatible with
logging features (use dev_...() or log_...() function) and activate
the logging features in STM32MP15 boards.
The size of U-Boot increased by 19kB (933026 to 952830 on STM32MP157C-EV1
board for basic defconfig) but the boot
Change debug and pr_err to dev macro and define LOG_CATEGORY.
Signed-off-by: Patrick Delaunay
---
drivers/misc/stm32_rcc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/stm32_rcc.c b/drivers/misc/stm32_rcc.c
index b82fe54c60..c1a99d78e2 100644
---
Define LOG_CATEGORY, change pr_debug to dev_dbg and remove "bsec:"
header as it is managed by log macro (dev->name is displayed)
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 38
1 file changed, 21 insertions(+), 17 deletions(-)
diff
Define LOG_CATEGORY, change debug to dev_dbg and remove "%s:" __func__
header as it is managed by dev macro (dev->name is displayed)
Signed-off-by: Patrick Delaunay
---
drivers/ram/stm32_sdram.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
---
drivers/hwspinlock/stm32_hwspinlock.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwspinlock/stm32_hwspinlock.c
b/drivers/hwspinlock/stm32_hwspinlock.c
index 8be585a0c8..c3edca72ef
Define LOG_CATEGORY to allow filtering with log command.
Signed-off-by: Patrick Delaunay
---
drivers/timer/stm32_timer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c
index c57fa3f557..f32b2c8925 100644
---
Change debug to dev_dbg macro and define LOG_CATEGORY.
Remove dev->name as it is already displayed by dev macro.
Signed-off-by: Patrick Delaunay
---
drivers/gpio/stm32_gpio.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/stm32_gpio.c
1 - 100 of 185 matches
Mail list logo