Current mkeficapsule tool does not provide firmware
version management. EDK2 reference implementation inserts
the FMP Payload Header right before the payload.
It coutains the fw_version and lowest supported version.
This commit adds two new parameters required to generate
the FMP Payload Header
The FMP Payload Header which EDK2 capsule generation scripts
insert contains lowest supported version.
This commit reads the lowest supported version stored in the
"FmpState" EFI non-volatile variable, then check if the
firmware version of ongoing capsule is equal or greater than
the lowest
Current FMP->GetImageInfo() always return 0 for the firmware
version, user can not identify which firmware version is currently
running through the EFI interface.
This commit reads the "FmpState" EFI variable, then fills the
firmware version, lowest supported version, last attempt version
and
Firmware version management is not implemented in the current
FMP protocol.
EDK2 reference implementation capsule generation script inserts
the FMP Payload Header right before the payload, it contains the
firmware version and lowest supported version.
This commit utilizes the FMP Payload Header,
Firmware version management is not implemented in the current
FMP implementation. This series aims to add the versioning support
in FMP.
Python based test will follow later.
EDK2 reference implementation utilizes the FMP Payload Header
inserted right before the capsule payload. With this series,
Currently this does not allow the -lb flags unless CMD_BOOTFLOW_FULL is
enabled, which means that we need two separate boot commands. Relax this
to make things easier. It is only a small amount of extra code.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/Kconfig | 3 +--
Drop the distro-boot scripts and use standard boot instead.
Signed-off-by: Simon Glass
---
Changes in v3:
- Update rk3588 boards too
Changes in v2:
- Add new patch to move rockchip to standard boot
arch/arm/Kconfig | 1 -
include/configs/px30_common.h | 4 +--
Ramdisk relocation requires LMB, so enable it automatically to avoid
build errors.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boot/Kconfig b/boot/Kconfig
index 7da084312d67..769a78e249c5 100644
--- a/boot/Kconfig
+++
This relates to booting so move it in to that Kconfig file, before
changing it.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to move DISTRO_DEFAULTS into boot/
Kconfig | 27 ---
boot/Kconfig | 28 +++-
This is needed to enable the boot command used to start standard boot.
Enable it by default. This brings in quite a few features, mostly in
common with DISTRO_DEFAULTS
Disable this option for boards which don't have enough space.
Disable CONFIG_ENV_VARS_UBOOT_CONFIG for some zynq boards which
These board have moved to standard boot but the old 'distro_bootcmd'
command is still active. Disable DISTRO_DEFAULTS to fix this.
Signed-off-by: Simon Glass
Tested-by: Vagrant Cascadian
---
(no changes since v1)
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Unfortunately the IRAM used to stash the bootstage records in TPL
becomes inaccessible after SPL runs. Presumably this is because of ATF
taking it over.
We could move the stash to another address in SPL, before passing it to
U-Boot proper. But it seems easier to wait until we have support for
Rsync all defconfig files using moveconfig.py
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/clearfog_defconfig | 2 --
configs/clearfog_gt_8k_defconfig| 2 --
configs/clearfog_sata_defconfig | 7 +++
On 2023/3/19 4:20, Simon Glass wrote:
> Hi Yanhong,
>
> On Thu, 16 Mar 2023 at 19:07, Yanhong Wang
> wrote:
>>
>> The StarFive ETHQOS hardware has its own clock and reset,so add a
>> corresponding glue driver to configure them.
>>
>> Signed-off-by: Yanhong Wang
>> ---
>> drivers/net/Kconfig
On 2023/3/19 4:20, Simon Glass wrote:
> Hi Yanhong,
>
> On Thu, 16 Mar 2023 at 19:06, Yanhong Wang
> wrote:
>>
>> Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have
>> verified the driver on StarFive VisionFive2 board.
>>
>> Signed-off-by: Yanhong Wang
>> ---
>>
On 3/19/23 20:27, Angelo Dureghello wrote:
Hi,
[...]
+qemu_m68k test.py:
+ variables:
+ TEST_PY_BD: "M5208EVBE"
+ TEST_PY_TEST_SPEC: "not sleep and not efi"
+ TEST_PY_ID: "--id qemu"
+ OVERRIDE: "-a CONFIG_M68K_QEMU=y -a CONFIG_MCFTMR=n"
+ <<: *buildman_and_testpy_dfn
+
Hi Johan,
On 2023/3/19 19:34, Johan Jonker wrote:
On 3/18/23 21:20, Simon Glass wrote:
Hi Johan,
On Thu, 16 Mar 2023 at 10:46, Johan Jonker wrote:
The current divider to calculate the bank ID can change.
Use a constant ROCKCHIP_GPIOS_PER_BANK as fixed divider.
What is the motivation for
From: Roman Kopytin
Add test_fdt_add_pubkey test which provides simple functionality test
which contains such steps:
create DTB and FIT files
add keys with fdt_add_pubkey to DTB
sign FIT image
check with fit_check_sign that keys properly added to DTB file
Signed-off-by: Roman Kopytin
Hi Pali,
On Sun, Mar 19, 2023 at 12:36 PM Pali Rohár wrote:
>
> On Saturday 18 March 2023 14:46:25 Tony Dinh wrote:
> > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset
> > stdin/stdout/stderr to serial (a sane deffault) before booting kernel.
>
> This can be a problematic.
Hi Simon,
On Sun, Mar 19, 2023 at 12:30 PM Simon Glass wrote:
>
> Hi Tony,
>
> On Sun, 19 Mar 2023 at 10:46, Tony Dinh wrote:
> >
> > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset
> > stdin/stdout/stderr to serial (a sane deffault) before booting kernel.
>
> spelling
On 3/19/23 21:02, Elmar Psilog wrote:
Am 19.03.23 um 18:21 schrieb Marek Vasut:
On 3/19/23 11:43, Elmar Psilog wrote:
Without that patch it lost track to the node to scan
speed and duplex.
Patch was created by Marek Vasut, just tested by me.
Signed-off-by: Elmar Psilog
Reviewed-by: Marek
Adding support for Analog Devices MAX313XX series RTCs.
This is ported from the Linux driver and adapted for use in u-boot.
Notable differences are
- handling of tm_year and tm_mon differ
- clock source support is omitted
- hwmon support for the MAX31328 and MAX31343 is omitted
- rtc_ops->reset
The find_closest() macro can be used to find an element in a sorted
array that is closest to an input value. Bring in this macro from
Linux v6.3-rc1-2-g8ca09d5fa354.
Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
---
Changes in v2:
- Add note on which Linux version this came from
-
This series is based on the in-flight linux patch that is adding support
for this family of RTCs to linux[1]. The u-boot driver is a bit
different due to some of the differences between Linux and u-boot and
I've dropped the support for hwmon and clock source functions. Where
possible I've tried to
On 3/19/23 20:29, Simon Glass wrote:
Hi Heinrich,
On Mon, 20 Mar 2023 at 04:25, Heinrich Schuchardt
wrote:
EFI device paths for block devices must be unique. If a non-unique device
path is discovered, probing of the block device fails.
Currently we use UsbClass() device path nodes. As
Am 19.03.23 um 18:21 schrieb Marek Vasut:
On 3/19/23 11:43, Elmar Psilog wrote:
Without that patch it lost track to the node to scan
speed and duplex.
Patch was created by Marek Vasut, just tested by me.
Signed-off-by: Elmar Psilog
Reviewed-by: Marek Vasut
---
changes v2: fix format
On Sun, 19 Mar 2023 18:06:45 +0100
Marek Vasut wrote:
> Replace PHY_INTERFACE_MODE_SGMII_2500 with PHY_INTERFACE_MODE_SGMII and
> phydev->speed check where applicable. The PHY_INTERFACE_MODE_SGMII_2500
> does not exist in Linux, so remove it from U-Boot too.
>
> Signed-off-by: Marek Vasut
This command currently has no help. Add some.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/usage/cmd/efi.rst | 197 ++
doc/usage/index.rst | 1 +
2 files changed, 198 insertions(+)
create mode 100644 doc/usage/cmd/efi.rst
diff --git
On Monday 20 March 2023 08:29:04 Simon Glass wrote:
> Hi Pali,
>
> On Mon, 20 Mar 2023 at 05:34, Pali Rohár wrote:
> >
> > Numeric return values may cause strange errors line:
> > exit not allowed from main input shell.
> >
> > Signed-off-by: Pali Rohár
> > ---
> > cmd/mmc.c | 18
On Saturday 18 March 2023 14:46:25 Tony Dinh wrote:
> - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset
> stdin/stdout/stderr to serial (a sane deffault) before booting kernel.
This can be a problematic. serial output does not have to be available
for all devices. For example
Add an option to package a kernel into the debugging script used for
EFI.
The name of the kernel must be added to the script. By default it is
assumed that the kernel is built in the /tmp/kernel directory.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Fix typos in
Add a command (for the app and payload) to display the tables provided
by EFI. Note that for the payload the tables should always be present, so
an error message is unnecessary and would bloat the code.
Signed-off-by: Simon Glass
---
Changes in v3:
- Drop unnecessary error message for some that
This code is used with EFI_LOADER but is also useful (with some
modifications) for the EFI app and payload. Move it into a shared
file.
Show the address of the table so it can be examined if needed. Also show
the table name as unknown if necessary. Our list of GUIDs is fairly
small.
Provide information about the GUIDs supplied by QEMU, so far as it is
known.
These values are used in the 'efi table' command as well as the printf
format string %sU
Signed-off-by: Simon Glass
---
Changes in v3:
- Make this depend on CONFIG_EFI so that EFI_LOADER doesn't get it
- Really drop
These are currently only available when running with EFI_LOADER.
Expand this to include the app and payload, since it is useful to be
able to decode things there.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to enable GUID names with EFI app and payload
These have been disabled due to the rudimentary support available. It is
a little better now, so enable these options.
Signed-off-by: Simon Glass
Reviewed-by: Heinrich Schuchardt
---
(no changes since v1)
configs/efi-x86_app32_defconfig | 2 +-
configs/efi-x86_app64_defconfig | 2 +-
2 files
When running the EFI app, we need to exit boot services before jumping
to Linux.
At some point it may be possible to jump to Linux and pass on the system
table, and:
* install the device-tree as configuration table
* use LoadImage() to load the kernel image (e.g. from memory)
* start the
This likely came from Linux originally, so update it to match v6.2 more.
This has no functional change.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/bootparam.h | 70 +---
arch/x86/lib/zimage.c| 2 +-
2 files changed, 47
Add the missing code to handle this. For a 64-bit kernel the entry
address is 0x200 bytes after the normal entry.
Rename the parameter to boot_linux_kernel() accordingly. Update the
comments to indicate that these are addresses, not pointers.
Signed-off-by: Simon Glass
---
(no changes since
This does not mention what it returns. Add the missing documentation.
Signed-off-by: Simon Glass
---
Changes in v3:
- Use Return instead of Returns
arch/x86/include/asm/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h
index
This series provides support for booting a kernel from the EFI app. So
far this is pretty basic, since it only supports the actual booting, not
providing ACPI tables, etc. But it is a start.
It also includes an enhancement to the 'efi' command and a few other
clean-ups.
Changes in v3:
- Use
The U-Boot EFI app can run as a 64-bit program, so set the Kconfig
correctly in that case. Make sure it doesn't build SPL, since there is
no need to switch from 32 to 64 bit when running.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/Kconfig| 4 ++--
On Sun, 19 Mar 2023 at 12:57, Jonas Karlman wrote:
>
> Use the gpio alias id as the gpio bank id, same as in the linux driver.
>
> This reverts the recent change to base bank id on the gpio-ranges prop
> and apply the same logic used when nodes was named gpio0@ to the alias.
>
> With missing gpio
Hi Tony,
On Sun, 19 Mar 2023 at 10:46, Tony Dinh wrote:
>
> - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset
> stdin/stdout/stderr to serial (a sane deffault) before booting kernel.
spelling
> - Enable net_timeout when netconsole starts will give a better user
>
Reduce the duplicated code slightly by using a helper function to handle
the common code.
This reduces the code size very slightly.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase to -next
disk/disk-uclass.c | 46 +-
1 file changed, 25
Hi Ivan,
On Sun, 19 Mar 2023 at 12:42, Ivan Mikhaylov wrote:
>
> From: Roman Kopytin
Please add a commit message.
>
> Signed-off-by: Roman Kopytin
> Signed-off-by: Ivan Mikhaylov
> Cc: Rasmus Villemoes
> ---
> test/py/tests/test_vboot.py | 33 +
> 1 file
On Sun, 19 Mar 2023 at 20:59, Heinrich Schuchardt
wrote:
>
> Avoid forward declaration of struct efi_device_path.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> include/efi.h | 13 -
> include/efi_api.h | 6 --
> 2 files changed, 12 insertions(+), 7 deletions(-)
>
Hi Rasmus,
On Sun, 19 Mar 2023 at 13:34, Rasmus Villemoes
wrote:
>
> On 18/03/2023 21.20, Simon Glass wrote:
>
> >>
> >> Now, the only way to be really sure is to build the world
> >> with/without this patch and check if any .dtb file changes, but I
> >> don't have the means to do that. But I do
Hi Heinrich,
On Mon, 20 Mar 2023 at 05:38, Heinrich Schuchardt wrote:
>
> On 3/10/23 21:48, Simon Glass wrote:
> > This command currently has no help. Add some.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > (no changes since v1)
> >
> > doc/usage/cmd/efi.rst | 197
Hi Heinrich,
On Mon, 20 Mar 2023 at 05:19, Heinrich Schuchardt wrote:
>
> On 3/10/23 21:48, Simon Glass wrote:
> > This does not mention what it returns. Add the missing documentation.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > (no changes since v1)
> >
> > arch/x86/include/asm/cpu.h
Hi Rasmus,
On Sun, 19 Mar 2023 at 13:38, Rasmus Villemoes
wrote:
>
> On 18/03/2023 21.20, Simon Glass wrote:
> > Hi Rasmus,
> >
> > On Fri, 17 Mar 2023 at 14:13, Rasmus Villemoes
> > wrote:
> >>
> >> The API is more convenient to use if one doesn't have to know upfront
> >> which gpio
On Sun, 19 Mar 2023 at 21:21, Heinrich Schuchardt
wrote:
>
> Use efi_alloc() to allocate memory.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> lib/efi_loader/efi_device_path_to_text.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass
On Mon, 20 Mar 2023 at 04:18, Heinrich Schuchardt
wrote:
>
> * Add the definitions for Ctrl() device path nodes.
> * Implement Ctrl() nodes in the device path to text protocol.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> include/efi_api.h| 6 ++
>
Hi Heinrich,
On Mon, 20 Mar 2023 at 04:25, Heinrich Schuchardt
wrote:
>
> EFI device paths for block devices must be unique. If a non-unique device
> path is discovered, probing of the block device fails.
>
> Currently we use UsbClass() device path nodes. As multiple devices may
> have the same
Hi Heinrich,
On Mon, 20 Mar 2023 at 05:43, Heinrich Schuchardt wrote:
>
> On 3/10/23 21:49, Simon Glass wrote:
> > Add a command (for the app and payload) to display the tables provided
> > by EFI.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > Changes in v2:
> > - Make use of common code
>
Hi Pali,
On Mon, 20 Mar 2023 at 05:34, Pali Rohár wrote:
>
> Numeric return values may cause strange errors line:
> exit not allowed from main input shell.
>
> Signed-off-by: Pali Rohár
> ---
> cmd/mmc.c | 18 +-
> 1 file changed, 13 insertions(+), 5 deletions(-)
>
> diff --git
Hi Heinrich,
On Mon, 20 Mar 2023 at 05:36, Heinrich Schuchardt wrote:
>
> On 3/10/23 21:48, Simon Glass wrote:
> > These are currently only available when running with EFI_LOADER.
> > Expand this to include the app and payload, since it is useful to be
> > able to decode things there.
> >
> >
On Sun, 19 Mar 2023 at 12:57, Jonas Karlman wrote:
>
> This adds any missing gpio alias for gpio controllers in rockchip
> u-boot.dtsi files. They are needed to determin what gpio bank id to use
> in the rockchip gpio driver.
>
> Signed-off-by: Jonas Karlman
> ---
>
Hi Marek,
On 19/03/23 4:14 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 is as follows:
$
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:
Hi Marek,
On 19/03/23 4:14 AM, Marek Vasut wrote:
There is an existing CONFIG_MCFTMR Kconfig symbol,
use it and drop all other instances of CFG_MCFTMR.
This duality is likely a result of bogus conversion
to Kconfig.
Thanks, my fault here, introduced in commit
The GPIO V2 controller on RK3568 and RK3588 works very similar to
prior generation, main difference is the use of a write mask in the
upper 16 bits and register address offset have changed.
GPIO_VER_ID is a new register at 0x0078 that is used to determine when
the driver should use new or old
On Sunday 19 March 2023 17:47:57 Pali Rohár wrote:
> On Sunday 19 March 2023 03:30:33 Martin Rowe wrote:
> > On Sun, 5 Mar 2023 at 11:55, Pali Rohár wrote:
> >
> > > On Sunday 05 March 2023 04:21:42 Martin Rowe wrote:
> > > > On Sat, 4 Mar 2023 at 10:51, Pali Rohár wrote:
> > > >
> > > > >
On 3/19/23 11:43, Elmar Psilog wrote:
Without that patch it lost track to the node to scan
speed and duplex.
Patch was created by Marek Vasut, just tested by me.
Signed-off-by: Elmar Psilog
Reviewed-by: Marek Vasut
---
changes v2: fix format issues
changes v3: remove {} around single
On 3/17/23 18:27, Peter Hoyes wrote:
On 17/03/2023 12:17, Marek Vasut wrote:
On 3/16/23 17:34, Peter Hoyes wrote:
From: Peter Hoyes
64597346 "fdt: Add -q option to fdt addr for distro_bootcmd" introduced
the -q option for fdt addr, which sets the current working fdt address
without printing
Add MDIO PCS 2.5G and 5G speed macros from Linux 5.1.y as of commit
7fd8afa8933a0 ("net: phy: Add generic support for 2.5GBaseT and 5GBaseT")
This is used by the upcoming Marvell 10G PHY driver.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Marek Behún"
Cc: Joe Hershberger
Cc:
Pull Marvell 10G PHY driver from Linux 6.1.y as of commit
d6d29292640d3 ("net: phy: marvell10g: select host interface configuration")
and heavily adapt to match U-Boot PHY framework. Support for
hwmon is removed as is much other functionality which could
not be tested, this results in much simpler
Add Renesas Ethernet SERDES driver for R-Car S4-8 (r8a779f0).
The datasheet describes initialization procedure without any information
about registers' name/bits. So, this is all black magic to initialize
the hardware. Especially, all channels should be initialized at once.
This driver is
Add two new callbacks matching the Linux ones. The .set_mode is used to set
PHY mode and submode, where mode is either USB, Ethernet, and so on, while
submode is e.g. for Ethernet case RGMII, RMII, and so on. The .set_speed is
used to configure link speed into the PHY. Unlike the existing
In case PHY is not enabled, the generic_phy_configure() implementation is
missing. Add an empty one so that the list of empty functions is complete.
Fixes: f8da8a82c57 ("generic-phy: add configure op")
Signed-off-by: Marek Vasut
---
Cc: Jim Liu
Cc: Neil Armstrong
Cc: Patrice Chotard
Cc:
Insert missing space in front of asterisk to avoid checkpatch warning.
Replace 'beeing' with 'being' as well, to fix another checkpatch warning.
Signed-off-by: Marek Vasut
---
Cc: Jim Liu
Cc: Neil Armstrong
Cc: Patrice Chotard
Cc: Samuel Holland
Cc: Sumit Garg
Cc: Weijie Gao
---
Import marvell_phy.h from Linux 5.14.y as of commit
a5de4be06 ("net: phy: marvell10g: fix differentiation of 88X3310 from
88X3340")
and use it in marvell PHY driver instead of current ad-hoc macros.
Two of the PHY IDs are unknown to Linux, 88E1149S and 88E1680, for
those two, only sync the
Add phy_modify_mmd()/phy_modify_mmd_changed() from Linux 5.1.y as of commit
b8554d4f7288f ("net: phy: add register modifying helpers returning 1 on change")
This is used by the upcoming Marvell 10G PHY driver.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Marek Behún"
Cc: Joe
Add phy_read_mmd_poll_timeout() from Linux 5.7.y as of commit
bd971ff0b7392 ("net: phy: introduce phy_read_mmd_poll_timeout macro")
This is used by the upcoming Marvell 10G PHY driver.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Marek Behún"
Cc: Joe Hershberger
Cc: Marek
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Synchronize PHY interface modes with Linux next 6.2.y commit:
0194b64578e90 ("net: phy: improve phy_read_poll_timeout")
Retain LX2160A/LX2162A PHY modes as those are not yet supported
by the Linux kernel, but isolate those with ifdeffery.
Isolate NCSI which are also not supported by Linux
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Replace PHY_INTERFACE_MODE_SFI with PHY_INTERFACE_MODE_5GBASER,
PHY_INTERFACE_MODE_10GBASER and PHY_INTERFACE_MODE_XAUI to match
Linux PHY interface modes.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Marek Behún"
Cc: Joe Hershberger
Cc: Marek Vasut
Cc: Ramon Fried
Cc:
Wrap phy_drv_reloc() back into phy_init() to reduce ifdeffery,
since phy_drv_reloc() is now called only from one call site.
No functional change.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex Nemirovsky
Cc: Haolin Li
Cc: Heinrich
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Replace PHY_INTERFACE_MODE_SGMII_2500 with PHY_INTERFACE_MODE_SGMII and
phydev->speed check where applicable. The PHY_INTERFACE_MODE_SGMII_2500
does not exist in Linux, so remove it from U-Boot too.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Marek Behún"
Cc: Joe Hershberger
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
This particular PHY driver is slightly more spread out across additional
source files. Since the phy_register()
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
The phy_init() is now used only to perform manual relocation of PHY
driver callbacks. Wrap it in ifdeffery and only call it on systems
which still require manual relocation, i.e. m68k .
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
The static phy_drivers list is superseded by linker list of struct phy_drivers
now that all drivers have been converted to the later. Drop the phy_drivers
list as well as list_head from struct phy_driver.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
This function is no longer used, drop it.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex Nemirovsky
Cc: Haolin Li
Cc: Heinrich Schuchardt
Cc: Joe Hershberger
Cc: Joel Stanley
Cc: Josua Mayer
Cc: Marek Vasut
Cc: Michael
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init
call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "Cédric Le Goater"
Cc: "Marek Behún"
Cc: Alex
1 - 100 of 154 matches
Mail list logo