This configuration helps in picking the environment from flash before
DDR init.
Signed-off-by: Kuldeep Singh
---
include/configs/ls1012afrwy.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h
index 12e6437a05..14e63204c6 10064
From: Eugen Hristev
Automatically detect PDA at boot.
Signed-off-by: Eugen Hristev
---
board/atmel/sam9x60ek/sam9x60ek.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/atmel/sam9x60ek/sam9x60ek.c
b/board/atmel/sam9x60ek/sam9x60ek.c
index e352afc..182b3ae 100644
--- a/board/atm
From: Eugen Hristev
Add onewire node for w1 support.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sam9x60.dtsi | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 9c16ba1..e01539e 100644
--- a/arch/arm/dts/sam9x6
From: Eugen Hristev
Enable support for onewire memories and onewire commands.
Signed-off-by: Eugen Hristev
---
configs/sam9x60ek_mmc_defconfig | 4
configs/sam9x60ek_nandflash_defconfig | 4
configs/sam9x60ek_qspiflash_defconfig | 4
3 files changed, 12 insertions(+)
diff
From: Eugen Hristev
Add support for onewire memory.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sam9x60ek.dts | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
index 6390427..bed59f3 100644
--- a/arch/arm/dts/sam9x6
Hi Simon,
> To: Patrick DELAUNAY
> Cc: U-Boot STM32 ; U-Boot
>
> Hi Patrick,
>
> On Fri, 2 Aug 2019 at 05:48, Patrick Delaunay wrote:
> >
> > At present the 'Index' column of 'dm tree' assumes there is two
> > digits, this patch increase it to 3 digits.
> >
> > It also aligns output of 'dm ucl
At present the 'Index' column of 'dm tree' assumes there is
two digits, this patch increase it to 3 digits.
It also aligns output of 'dm uclass', assuming the same 3 digits index.
The boards with CONFIG_PINCTRL_FULL activated have one pinconfig
by pin configuration, so they can have more than 100
On 25.09.19 13:09, Daniel Schwierzeck wrote:
Am 25.09.19 um 11:45 schrieb Weijie Gao:
This patch series have the following changes:
- Add pinctrl(both pinmux and pinconf) driver, reset controller driver and
clock driver for mt7628.
- Add mt7628 platform to mtk-sd driver.
- Modify mt7628's e
>-Original Message-
>From: U-Boot On Behalf Of Yuantian Tang
>Sent: Thursday, September 26, 2019 11:09 AM
>To: Prabhakar X
>Cc: u-boot@lists.denx.de; Andy Tang
>Subject: [U-Boot] [PATCH] armv8: ls1028a: disable multimedia feature when
>not supported
>
>Ls1028a has 4 personalities: ls10
I've noticed that in most cases when genphy_update_link() is called, the
ethernet driver (mt7628-eth in this case) fails with the first ethernet
packets. Resulting in a timeout of the first tftp command. Increasing
the delay in the link check look from 1 to 50 ms and moving it below the
BMSR regist
On 29/09/2019 07:13, Geoff Williams wrote:
> Hi Matthias,
>
>>> 1. On the PI 4 with mainline u-boot the screen turns yellow and wraps
>>> around on
>>> itself a second or so into the linux boot (grub screen is fine). With the
>>> patch
>>> applied I get the same behaviour on the PI3. Everythin
Hello Tom,
Please pull tag u-boot-atmel-fixes-2019.10-a , the first set (hopefully
the only one) of fixes for the 2019.10 release.
This includes only tiny cleanups on env changes related to 2019.10 new
features: removal of duplicate env settings (otherwise there may be
warnings in building..)
Hi,
it turns out that this optimization-option causes the crash: -fstore-merging
so i use now "-Os -fno-store-merging"
any idea why this flag causes the crash and how it can be fixed in code instead
of compilerflag?
regards Frank
___
U-Boot mailing l
Hi Simon,
> From: Simon Glass
> Sent: vendredi 27 septembre 2019 03:49
>
> On Wed, 18 Sep 2019 at 03:30, Patrick Delaunay
> wrote:
> >
> > This patch introduce a macro ENV_IS_IN_SOMEWHERE to check if the the
> > environment can be saved somewhere, in a device or in a file system,
> > without as
On Sun, Sep 29, 2019 at 3:43 PM Jagan Teki wrote:
>
> Use dts support from U-Boot via OF_SEPARATE instead of depending from
> opensbi.
>
> This would help to make the necessary changes in drivers and devicetrees
nits: device trees
> in uboot tree itself. this feature would also be helpful to not
Hi Jagan,
On Sun, Sep 29, 2019 at 3:42 PM Jagan Teki wrote:
>
> Sync the hifive-unleashed-a00 dts from Linux with
> below commit details:
> commit 11ae2d892139a1086f257188d457ddcb71ab5257
The latest commit should be:
commit c81007116bd23e9e2103c267184dc38d3acc1099
Author: Bin Meng
Date: Thu
On Sun, Sep 29, 2019 at 3:43 PM Jagan Teki wrote:
>
> HiFive Unleashed A00 has internal is25wp256 spi-nor flash,
What does "internal" mean? The flash is mounted "externally" to the FU540 SoC.
> so enable the same. added test result log for future reference.
>
> Tested on Sifive fuse540 board.
S
Hi Jagan,
On Sun, Sep 29, 2019 at 3:43 PM Jagan Teki wrote:
>
> Add u-boot specific dts file for hifive-unleashed-a00, this
> would help to add u-boot specific properties and other node
> changes without touching the base dts(i) files which are easy
> to sync from Linux.
>
> Added spi2 alias for
On Sun, Sep 29, 2019 at 3:43 PM Jagan Teki wrote:
>
> Add is25wp256, chip to spi-nor id table.
>
> Tested on Sifive fuse540 board.
Should be: SiFive FU540
>
> Signed-off-by: Jagan Teki
> ---
> drivers/mtd/spi/spi-nor-ids.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Bin Meng
Tes
Adds sec_init call to initialise the job ring parameters
for secure boot operations.
Signed-off-by: Udit Agarwal
---
board/freescale/ls1028a/ls1028a.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/freescale/ls1028a/ls1028a.c
b/board/freescale/ls1028a/ls1028a.c
index 6b126bcf44..
Currently "bootcmd" does not work as intended but instead prints MMC usage
information and goes directly to "nandboot".
Follow what the commit 669681104daa ("configs: Fix usage of mmc rescan")
does for other boards prior to support for TechNexion TAO3530 SoM was
added.
Signed-off-by: Jarkko Nikul
move WATCHDOG_TIMEOUT_MSECS to Kconfig and fix
all board defconfigs.
Signed-off-by: Heiko Schocher
Reviewed-by: Stefan Roese
Acked-by: Lukasz Majewski
Acked-by: Martyn Welch
---
Patchseries build fine on travis see:
https://travis-ci.org/hsdenx/u-boot-test/builds/591305674
Based on mainline
The existing source code (binop.c) includes read/write function to
read/write data on DDR. To use these functions and avoid duplicate code,
based on the existing functions, move and update the read/write function
to a public file which is memio file.
- New memio includes support functions to read/w
Add a few more clocks the clk_sandbox clock provider and get them using
the managed API.
Make sure they are released when the device is removed.
Signed-off-by: Jean-Jacques Hiblot
---
arch/sandbox/dts/test.dts | 6 ++--
arch/sandbox/include/asm/clk.h | 33 +
drivers/clk/cl
Add devm_clk_get(), devm_clk_get_optional() to get clocks from the
device-tree. The clocks is automatically released and the data structure
freed when the device is unbound.
Also add devm_clk_put() to release the clock and free the data structure
manually.
Signed-off-by: Jean-Jacques Hiblot
---
This is the second of a few series, the goal of which is to facilitate
porting drivers from the linux kernel. Most of the series will be about
adding managed API to existing infrastructure (GPIO, reset, phy,...)
This particular series is about clocks. It adds a managed API, using
the same API as
Prepare the way for a managed CLK API by handling NULL pointers without
crashing nor failing.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/clk/clk-uclass.c | 43 +---
include/clk.h| 2 +-
2 files changed, 37 insertions(+), 8 deletions(-)
diff
Make sure that the clock self-assignment works by having a clock of
clk-sbox be configured automatically when clk-sbox is probed.
Signed-off-by: Jean-Jacques Hiblot
---
arch/sandbox/dts/test.dts | 2 ++
drivers/clk/clk_sandbox.c | 22 ++
test/dm/clk.c | 4 ++--
This fixes the case where assigned-clocks is used to define a clock
defaults inside this same clock's node. This is used sometimes to setup a
default parents and/or rate for a clock.
example:
muxed_clock: muxed_clock {
clocks = <&clk_provider 0>, <&clk_provider 1>;
#clock-cells = <
spl_dm_init is failing as usb to be probed with the following error:
"omap_dwc3@483c: ret=-2"
Enable usb to make spl boot on am43xx devices
Reported-by: Tero Kristo
Signed-off-by: Lokesh Vutla
---
configs/am43xx_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am43x
Copy the partition support from NAND backend to SF,
support part and partubi option.
In case of ubi partition, erase the rest of the
partition as it is mandatory for UBI.
for example:
U-Boot> env set dfu_alt_info "spl part 0 1;\
u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4"
U-Boot> dfu 0 s
This serie based on v2019.10-rc3 propose updates on the DFU stack:
- add capability to have several DFU backend running in parallel
- add MTD backend for update of NAND, NOR or SPI-NAND
- add VIRTUAL backend for board/command specific behavior
- add some weak callback
It is the same content that
Add support of DFU for several interface/device
with one command.
The format for "dfu_alt_info" in this case is :
- '='alternate list (';' separated)
- each interface is separated by '&'
The previous behavior is always supported.
One example for NOR (bootloaders) + NAND (rootfs in UBI):
U-Boot
Signed-off-by: Patrick Delaunay
Acked-by: Lukasz Majewski
---
Changes in v2: None
drivers/dfu/dfu.c| 7 ---
drivers/dfu/dfu_sf.c | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index d2b67b18cf..e9db7f8d66 100644
--- a/driv
Add documentation for dfu stack and "dfu" command.
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- Add dfu documentation
doc/README.dfu | 144 +
1 file changed, 144 insertions(+)
create mode 100644 doc/README.dfu
diff --git a/doc/README.df
Activate the support of SPI NAND in stm32mp1 U-Boot.
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_optee_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
3 files changed, 3 insertions(+)
diff --git a/configs/s
This patch adds the support of the spi nand device in mtdparts command
and in dfu_alt_info.
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
board/st/stm32mp1/stm32mp1.c | 32 +---
include/configs/stm32mp1.h | 10 --
2 files changed, 37 insertions(+
Split the function dfu_config_entities with 2 new functions
- dfu_alt_init
- dfu_alt_add
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
drivers/dfu/dfu.c | 51 ---
include/dfu.h | 2 ++
2 files changed, 41 insertions(+), 12 deletions(-)
Add a virtual DFU backend to allow board specific read and write
(for OTP update for example).
Acked-by: Lukasz Majewski
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- Update dfu documentation for virtual backend
doc/README.dfu | 32 ++-
drivers/dfu/Kconf
Select the correct USB product id used by the download gadget
for ST stm32mp1 boards.
The board stm32mp1 select the correct product id, as defined in
http://www.linux-usb.org/usb.ids for the STMicroelectronics
vendor id = 0x0483 (CONFIG_USB_GADGET_VENDOR_NUM):
- dfu = 0xdf11 : STM Device in DFU mo
This patch allows the DFU backend to indicate that that it can't
provide no more data to fill the DFU buffer, by setting b_left =0
without error, even if the size of received data is lower of the
expected total size indicated by get_medium_size.
For USB DFU stack point of view, it is acceptable:
t
Add weak callback to allow board specific behavior
- flush
- initiated
This patch prepare usage of DFU back end for communication with
STM32CubeProgrammer on stm32mp1 platform with stm32prog command.
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- Update dfu documentation for callbacks
- U
Generate automatically dfu_alt_info for the supported device.
The simple command "dfu 0" allows to start the dfu stack on usb 0
for the supported devices:
- dfu mtd for nand0
- dfu mtd for nor0
- dfu mmc for SDCard
- dfu mmc for eMMC
- dfu ram for images in DDR
The DUF alternate use the "part", "p
Add read for OTP and PMIC NVM with alternates
on virtual DFU device.
Serie-cc: Boris Brezillon
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- Update after Lukasz Majewski comments
board/st/stm32mp1/stm32mp1.c| 83 +
configs/stm32mp15_basic_defconfig
Add DFU backend for MTD device: allow to read
and write on all MTD device (NAND, SPI-NOR,
SPI-NAND,...)
For example :
> set dfu_alt_info "nand_raw raw 0x0 0x10"
> dfu 0 mtd nand0
This MTD backend provides the same level than dfu nand
backend for NAND and dfu sf backend for SPI-NOR;
So it can
Add support of DFU for MMC, MTD, RAM and MTD command.
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
configs/stm32mp15_basic_defconfig | 4
configs/stm32mp15_optee_defconfig | 4
configs/stm32mp15_trusted_defconfig | 4
3 files changed, 12 insertions(+)
diff --git
Add the support of MTD partition for the MTD backend.
The expected dfu_alt_info for one alternate on the mtd device :
part
partubi
"partubi" also erase up to the end of the partition after write operation.
For example: dfu_alt_info = "spl part 1;u-boot part 2; UBI partubi 3"
This is the 3rd of a few series, the goal of which is to facilitate
porting drivers from the linux kernel. Most of the series will be about
adding managed API to existing infrastructure (GPIO, reset, phy,...)
This particular series is about reset controllers. It adds a managed API,
close to that
Add managed functions to get a reset_ctl from the device-tree, based on a
name or an index.
Also add a managed functions to get a reset_ctl_bulk (array of reset_ctl)
from the device-tree.
When the device is unbound, the reset controllers are automatically
released and the data structure is freed.
Prepare the way for a managed reset API by handling NULL pointers without
crashing nor failing.
Signed-off-by: Jean-Jacques Hiblot
---
drivers/reset/reset-uclass.c | 30 +-
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/drivers/reset/reset-uclass.c b
The tests are basically the same as for the regular API. Except that
the reset are initialized using the managed API, and no freed manually.
Signed-off-by: Jean-Jacques Hiblot
---
arch/sandbox/include/asm/reset.h | 1 +
drivers/reset/sandbox-reset-test.c | 50 ++---
driv
These should be moved to driver model, but in the meantime, move them
out of the common header to help reduce its size.
Signed-off-by: Simon Glass
---
README | 2 +-
arch/arm/cpu/armv8/fsl-layerscape/mp.c | 1 +
arch/arm/mach-imx/mx6/mp.c | 1 +
ar
(I meant to send this a few months ago but forgot about it)
This series drops the size of common.h down further, by moving things out
into existing and new header files.
It is now down to about 200 lines.
Simon Glass (41):
common: Move legacy CPU functions to their own header
Drop CONFIG_SH
This feature is not enabled by any board. Drop it.
Signed-off-by: Simon Glass
---
arch/powerpc/lib/interrupts.c | 13 -
common/cli_readline.c | 6 --
drivers/timer/mpc83xx_timer.c | 4
include/common.h | 4
net/net.c | 3 ---
This is only used by a few files so it should not be in the common header.
Move it out.
Signed-off-by: Simon Glass
---
board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c | 1 +
board/atmel/at91sam9261ek/led.c | 1 +
board/atmel/at91sam9263ek/led.c | 1 +
board/atmel/at91sam9m10
Create a new rand.h header file and move functions into it, to reduce
the size of common.h
Signed-off-by: Simon Glass
---
include/common.h | 6 --
include/net.h| 1 +
include/rand.h | 40
lib/rand.c | 1 +
net/link_local.c | 1 +
5 fi
We have an existing U-Boot header for the one function that this defines.
Use that instead of the linux/ one. Move over the nice comment.
Signed-off-by: Simon Glass
---
board/theadorable/theadorable.c | 2 +-
drivers/tpm/tpm2_tis_sandbox.c | 2 +-
drivers/tpm/tpm_tis_sandbox.c | 2 +-
inc
These functions belong in time.h so move them over and add comments.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv7/ls102xa/timer.c| 1 +
arch/arm/cpu/armv8/generic_timer.c| 1 +
arch/arm/mach-imx/syscounter.c| 1 +
arch/arm/mach-imx/timer.c
It is not good practice to write code in a header file. If it is included
multiple times then the code can cause duplicate functions.
Move the bootcount_store() and bootcount_load() functions into SPL.
Note: bootcount is a bit strange in that it uses driver model but does not
define proper driver
This function relates to networking, so move it out of the common.h
header file.
Signed-off-by: Simon Glass
---
include/common.h | 4
include/net.h| 21 -
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/include/common.h b/include/common.h
index f993
These functions belong in serial.h so move them over.
Signed-off-by: Simon Glass
---
arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 1 +
board/amarula/vyasa-rk3288/vyasa-rk3288.c | 1 +
board/astro/mcf5373l/mcf5373l.c| 1 +
board/birdland/bav335x/board.c | 1 +
board/btic
These don't need to be in common.h so move them out into a new header.
Also add some missing comments.
Signed-off-by: Simon Glass
---
cmd/efi.c | 1 +
common/bootstage.c | 1 +
env/common.c| 1 +
fs/yaffs2/yaffs_qsort.c | 1 +
include/common.h| 5
Remove the unwanted space before the bracket.
Signed-off-by: Simon Glass
---
arch/arm/lib/cache-cp15.c| 12 ++--
arch/microblaze/cpu/cache.c | 18 +++---
board/armltd/integrator/integrator.c | 2 +-
board/cobra5272/flash.c | 12 ++--
Drop inclusion of crc.h in common.h and use the correct header directly
instead.
With this we can drop the conflicting definition in fw_env.h and rely on
the crc.h header, which is already included.
Signed-off-by: Simon Glass
---
api/api.c | 1 +
arch/ar
The function declarations in serial.h are not in sync with what is
currently used in usbtty. Fix this by updating the header and including
it, to help catch future such problems.
Signed-off-by: Simon Glass
---
drivers/serial/usbtty.c | 1 +
include/serial.h| 18 ++
2 fi
This function belongs in time.h so move it over and add a comment.
Signed-off-by: Simon Glass
---
arch/arm/cpu/pxa/pxa2xx.c | 1 +
drivers/timer/mpc83xx_timer.c | 1 +
include/common.h | 1 -
include/time.h| 9 +
4 files changed, 11 insertions(+), 1 dele
At present this function sits in its own file but it does not really
justify it. There are similar string functions in vsprintf.h, so move it
there. Also add the missing function comment.
Use the vsprintf.h include file explicitly where needed.
Signed-off-by: Simon Glass
---
arch/arc/lib/cpu.c
There are a few whitespace problems with this code. Tidy them up.
Signed-off-by: Simon Glass
---
arch/powerpc/lib/interrupts.c | 2 +-
drivers/misc/status_led.c | 8
include/status_led.h | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/
Add a header file to house the lz4 compression function. Add a comment
while we are here, since it not even clear from the name what the function
actuall does.
Signed-off-by: Simon Glass
---
common/image.c | 1 +
include/common.h | 3 ---
include/lz4.h | 24
These functions are CPU-related and do not use driver model. Move them to
cpu_legacy.h
Signed-off-by: Simon Glass
---
arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 1 +
arch/arm/cpu/armv7/cache_v7.c | 1 +
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 1 +
arch/arm/cpu/armv8/sec_f
This function is not defined anywhere. Drop it.
Signed-off-by: Simon Glass
---
include/common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/common.h b/include/common.h
index 4de05032b2b..ce08bfe11fe 100644
--- a/include/common.h
+++ b/include/common.h
@@ -64,8 +64,6 @@ typedef
These functions do not use driver model but are fairly widely used in
U-Boot. Move them to a new irq_legacy.h header file.
Signed-off-by: Simon Glass
---
arch/arc/lib/interrupts.c | 1 +
arch/arm/lib/interrupts.c | 1 +
arch/arm/lib/interrupts_64.c | 1 +
arc
These functions belong in cpu_legacy.h. Another option would be cache.h
but that code uses driver model and we have not moved these cache
functions to use driver model. Since they are CPU-related it seems
reasonable to put them here.
Move them over.
Signed-off-by: Simon Glass
---
arch/arc/lib/
Some of these have a space before the bracket. Drop it to fix the style.
Add some missing function comments while here.
Note that u32 and u8 cannot be used here since crc.h is included on the
host side.
Signed-off-by: Simon Glass
---
cmd/i2c.c| 2 +-
include/u-boot/crc.h | 75
These functions belong in cpu_legacy.h since they do not use driver model.
Move them over. Don't bother adding comments since these functions should
be deleted.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 1 +
.../armv8/fsl-layerscape/fsl_lsch2_speed.c|
These don't need to be in common.h so move them out.
Signed-off-by: Simon Glass
---
board/BuR/brppt1/board.c | 1 +
include/bootcount.h | 10 ++
include/common.h | 4
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/board/BuR/brppt1/board.c b/board/BuR
Remove the unwanted space before the bracket.
Signed-off-by: Simon Glass
---
arch/arm/cpu/arm11/cpu.c | 2 +-
arch/arm/cpu/arm920t/cpu.c| 2 +-
arch/arm/cpu/arm926ejs/cpu.c | 2 +-
arch/arm/cpu/arm946es/cpu.c | 2 +-
arch/arm/cpu/sa1100/cpu.c
This function can be dropped when all boards use driver model for PCI. For
now, move it into init.h with a comment.
Signed-off-by: Simon Glass
---
board/armltd/integrator/pci.c | 1 +
board/cavium/thunderx/thunderx.c| 1 +
board/esd/vme8349/pci.c |
Move this function header to serial.h since this function is clearly
related to serial. The function itself stays in console.c since we don't
have a single serial file. DM and non-DM each has a separate file so we
would have to either create a new common serial file, or repeat the
function in both
This function belongs in time.h so move it over and add a comment.
Signed-off-by: Simon Glass
---
arch/arm/cpu/arm920t/ep93xx/timer.c| 1 +
arch/arm/cpu/arm920t/imx/timer.c | 1 +
arch/arm/cpu/arm926ejs/armada100/timer.c | 1 +
arch/arm/cpu/arm926ejs/lpc32xx/timer.c |
This function belongs in mii.h so move it over.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 1 +
drivers/net/fsl_mcdmafec.c | 1 +
drivers/net/ldpaa_eth/ls1088a.c | 1 +
drivers/net/ldpaa_eth/lx2160a.c | 1 +
drivers/net/mcffec.c
Move this function into the irq_legacy.h header file.
Signed-off-by: Simon Glass
---
arch/m68k/lib/traps.c | 1 +
arch/mips/lib/traps.c | 1 +
include/common.h | 1 -
include/irq_legacy.h | 2 ++
4 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/m68k/lib/traps.c b/arch/m6
These functions belong in cpu_legacy.h so move them over.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv7/ls102xa/cpu.c| 1 +
arch/arm/cpu/armv7/virt-v7.c| 1 +
arch/arm/lib/bootm.c| 1 +
arch/arm/mach-uniphier/arm32/psci.c | 1 +
board/armltd/vexpr
This function belongs in time.h so move it over and update the comment
style.
Signed-off-by: Simon Glass
---
include/common.h | 3 ---
include/time.h | 7 +++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/common.h b/include/common.h
index 091b54787f7..e68bed64078
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 1 +
arch/arm/mach-imx/mx6/opos6ul.c | 1 +
arch/arm/mach-imx/mx6/soc.c | 1
This function is not defined by any boards so the feature is not used.
Drop it.
Signed-off-by: Simon Glass
---
cmd/mem.c| 9 ++---
include/common.h | 9 -
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/cmd/mem.c b/cmd/mem.c
index c6b8038fc9d..545534b1fc7 100
Move these functions into the command.h header file which is a better fit.
Signed-off-by: Simon Glass
---
arch/arm/mach-kirkwood/cpu.c| 1 +
arch/sandbox/cpu/start.c| 1 +
board/engicam/common/board.c| 1 +
board/gdsys/a38x/keyprogram.c | 1
This function belongs in cpu.h so move it over.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc83xx/cpu.c | 1 +
arch/powerpc/cpu/mpc8xx/cpu.c| 1 +
arch/sh/cpu/sh4/cpu.c| 1 +
arch/x86/cpu/broadwell/cpu_from_spl.c| 1 +
arch
Move these two functions into the irq_legacy.h header file.
Also move interrupt_handler_t as this is used by the irq_install_handler()
function.
Signed-off-by: Simon Glass
---
arch/arc/lib/bootm.c | 1 +
arch/arm/cpu/arm11/cpu.c | 1 +
arch/arm/cpu/
Move this function into init.h which seems to be designed for this sort
of thing. Also update the header to declare struct global_data so that it
can be included without global_data.h being needed.
Signed-off-by: Simon Glass
---
arch/arm/mach-mvebu/arm64-common.c| 1 +
arch/arm/mach-rockch
This is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
---
include/common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/common.h b/include/common.h
index e946e4d9b7f..64d0cf542e8 100644
--- a/include/common.h
+++ b/include/common.h
@@ -144,7 +144,6 @@ voidrelocat
These are used by only one arch and only within a single file. Drop the
declarations from the common file.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/cpu.c | 130 +-
include/common.h | 2 -
2 files changed, 65 insertions(+), 67 deletion
These functions do not use driver model but are still used. Move them to a
new eeprom_legacy.h header file.
Signed-off-by: Simon Glass
---
board/atmel/common/mac_eeprom.c | 1 +
board/compulab/common/eeprom.c| 1 +
board/corscience/tricorder/tricorder-eeprom.c |
Add support for the reset controller that's used on the i.MX7D
and i.MX8MQ. This will be needed to be able to assert the PCIe
reset pins. Bindings taken from Linux, driver implementation
mostly taken from Linux and adjusted to U-Boot infrastructure.
Signed-off-by: Patrick Wildt
diff --git a/ar
On Mon, Sep 30, 2019 at 4:58 PM Simon Glass wrote:
>
> Move this function into the irq_legacy.h header file.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/m68k/lib/traps.c | 1 +
> arch/mips/lib/traps.c | 1 +
> include/common.h | 1 -
> include/irq_legacy.h | 2 ++
> 4 files changed, 4 in
Migrate to DM_ETH and remove code that is no longer necessary.
Signed-off-by: Sébastien Szymanski
---
arch/arm/mach-imx/mx6/opos6ul.c | 76 +++--
configs/opos6uldev_defconfig| 2 +
include/configs/opos6uldev.h| 8
3 files changed, 8 insertions(+), 78 de
Migrate to DM_VIDEO, update the device tree and remove code that is no
longer necessary.
Signed-off-by: Sébastien Szymanski
---
arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 10 ++
arch/arm/dts/imx6ul-opos6uldev.dts | 4 +--
board/armadeus/opos6uldev/board.c | 36 ---
Set gd->fb_base so it can be shown with bdinfo command.
Signed-off-by: Sébastien Szymanski
---
drivers/video/mxsfb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 6922a130c6..ce67f3f32b 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/vid
Add support for the power domain controller that's used on the
i.MX8MQ. This will be needed to be able to power on the PCIe
controller. Bindings taken from Linux, driver implementation
taken from the i.MX8 power domain controller and adjusted for
the i.MX8M SoC.
Signed-off-by: Patrick Wildt
di
Hello All,
We are currently having issues with a product after we replaced an obsolete SPI
Flash IC with what we thought was a drop-in replacement part. Unfortunately we
had this product designed by a third part company so I don't have all of the
important details but I will try to get any addi
1 - 100 of 120 matches
Mail list logo