Am Fr., 10. Aug. 2018 um 11:40 Uhr schrieb Bin Meng :
>
> At present if TSC frequency is provided in the device tree, it takes
> precedence over hardware calibration result. This swaps the order to
> try hardware calibration first and uses device tree as last resort.
>
> This can be helpful when a
Am Fr., 10. Aug. 2018 um 11:39 Uhr schrieb Bin Meng :
>
> It was observed sometimes U-Boot as the coreboot payload fails to
> boot on QEMU. This is because TSC calibration fails with no valid
> frequency. This adds default TSC frequency in the device tree.
>
> Signed-off-by: Bin Meng
Reviewed-by:
Am Fr., 10. Aug. 2018 um 11:37 Uhr schrieb Bin Meng :
>
> Currently building U-Boot as the coreboot payload requires user
> to change the build configuration for a specific board during
> menuconfig process. This uses the board's native device tree
> to configure the hardware. For example, the devi
Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36:
> On 08/13/2018 09:34 PM, Simon Goldschmidt wrote:
> > To boot from fpga OnChip RAM, some changes are required in SPL
> > to ensure the code is linked to the correct address (in contrast
> > to QSPI and MMC boot, FPGA boot executes SPL in place in
Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36:
> On 08/13/2018 09:34 PM, Simon Goldschmidt wrote:
> > gd->env_addr points to pre-relocation address even after
> > relocation. This leads to an abort in env_callback_init
> > when loading the environment.
> >
> > Fix this by enabling CONFIG_SYS_E
On 08/14/2018 04:35 AM, Andreas Dannenberg wrote:
> In order to make the debug print in file_fat_read_at() a tad more useful,
> show the offset the file is being read at alongside the filename.
>
> Suggested-by: Tero Kristo
> Signed-off-by: Andreas Dannenberg
> ---
>
> Small addition but helpfu
On 08/09/2018 08:37 PM, Heinrich Schuchardt wrote:
> The debug message in file_fat_read_at() is not very useful without
> indicating the position at which the file is read.
>
> Suggested-by: Tero Kristo
> Signed-off-by: Heinrich Schuchardt
> ---
> fs/fat/fat.c | 2 +-
> 1 file changed, 1 insert
Implement a method for reading the MAC address from an
SPI flash memory.
In particular, this method is used by the Zybo Z7 board
to read the MAC address from the OTP region in the SPI NOR
memory
Signed-off-by: Luis Araneda
---
I'm trying to implement the reading of the MAC address of
the Zybo Z7
On Tue, Aug 14, 2018 at 1:11 AM Marek Vasut wrote:
> On 08/14/2018 12:00 AM, Ramon Fried wrote:
> > Move CONFIG_NR_DRAM_BANKS from headers to Kconfig.
> >
> > Signed-off-by: Ramon Fried
>
> Somehow this seems to be missing a lot of cleanups in include/configs/
> ... look at moveconfig.py
>
Indee
Hi Tom,
On Tue, Aug 14, 2018 at 1:16 AM, Tom Rini wrote:
> On Mon, Aug 13, 2018 at 06:07:14PM +0200, Marek Vasut wrote:
>> On 08/13/2018 03:39 PM, Tom Rini wrote:
>> [...]
>>
>> Next step is to upstream the DT
>> changes to Linux kernel, then sync the changes to U-Boot to satisfy
>> >>>
In order to make the debug print in file_fat_read_at() a tad more useful,
show the offset the file is being read at alongside the filename.
Suggested-by: Tero Kristo
Signed-off-by: Andreas Dannenberg
---
Small addition but helpful nevertheless as none of the other debug prints
embedded into fat
With DM enabled, this patch enables DM_SERIAL and removes
the NS16550 initialization from da850_lowlevel since the driver
will take care of that itself.
Signed-off-by: Adam Ford
diff --git a/arch/arm/mach-davinci/da850_lowlevel.c
b/arch/arm/mach-davinci/da850_lowlevel.c
index 95dc93a24f..8ceb17
Hi Marek,
On Mon, Aug 13, 2018 at 9:46 PM, Marek Vasut wrote:
> On 08/13/2018 04:24 AM, Bin Meng wrote:
>> Hi Marek,
>>
>> On Fri, Aug 10, 2018 at 8:38 PM, Marek Vasut wrote:
>>> On 08/10/2018 02:01 PM, Tom Rini wrote:
On Wed, Aug 08, 2018 at 09:37:25PM +0200, Marek Vasut wrote:
> On 08
At least for now, CONFIG_BLK is working, but this variant of
the da850evm doesn't need/support SPL so it's OK to enable it
here.
Signed-off-by: Adam Ford
diff --git a/configs/da850evm_direct_nor_defconfig
b/configs/da850evm_direct_nor_defconfig
index 9d6c47df50..bb8fa3bd6e 100644
--- a/configs/
Hey all,
It is release day and despite Travis-CI being really bad about network
connections over the weekend, it's back to normal today at least. So
I'm putting out v2018.09-rc2 now. I plan on looking at Kconfig
migrations and similar things that I can size-test. I think there's
still a code re
Compiling U-Boot with ubsan/asan libraries and running it in sandbox
may lead to below backtrace:
=> avb init 0
=> avb verify
## Android Verified Boot 2.0 version 1.1.0
read_is_device_unlocked not supported yet
common/avb_verify.c:407:31: runtime error: division by zero
AddressSanitizer:DEADLYS
Cppcheck (v1.85) reports w/o this patch:
[common/avb_verify.c:738] -> [common/avb_verify.c:741]: (warning) \
Either the condition 'ops' is redundant or there is possible null \
pointer dereference: ops.
Signed-off-by: Eugeniu Rosca
---
common/avb_verify.c | 2 +-
1 file changed, 1 insertion
Cppcheck (v1.85) reports w/o this patch:
[common/avb_verify.c:351]: (error) Memory leak: part
[common/avb_verify.c:356]: (error) Memory leak: part
[common/avb_verify.c:361]: (error) Memory leak: part
[common/avb_verify.c:366]: (error) Memory leak: part
Signed-off-by: Eugeniu Rosca
---
common/av
Avoid below compiler [1] errors, reproduced with configuration [2]:
common/avb_verify.c: In function ‘get_unique_guid_for_partition’:
common/avb_verify.c:692:31: error: ‘disk_partition_t {aka struct
disk_partition}’ has no member named ‘uuid’
uuid_size = sizeof(part->info.uuid);
From: Ievgen Maliarenko
Exit with AVB_SLOT_VERIFY_RESULT_ERROR_INVALID_ARGUMENT
when hashtree_error_mode value passed to avb_append_options()
is unknown (not from AvbHashtreeErrorMode enum).
Otherwise, default value is not handled in the
switch(hashtree_error_mode), which causes below compile wa
Fix below compiler [1] warning:
common/avb_verify.c: In function ‘avb_find_dm_args’:
common/avb_verify.c:179:30: warning: left-hand operand of comma expression has
no effect [-Wunused-value]
for (i = 0; i < AVB_MAX_ARGS, args[i]; ++i) {
[1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)
Signe
Fix sparse complaint:
common/avb_verify.c:14:21: warning: \
symbol 'avb_root_pub' was not declared. Should it be static?
Signed-off-by: Eugeniu Rosca
---
common/avb_verify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/avb_verify.c b/common/avb_verify.c
index e6f
On Mon, Aug 06, 2018 at 09:54:04AM +0200, Patrice Chotard wrote:
> Add ADC device tree node. This allows to get analog conversions on
> stm32mp157.
>
> Signed-off-by: Fabrice Gasnier
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP si
On Fri, Aug 03, 2018 at 11:46:20AM +0200, Patrice Chotard wrote:
> Add DISTRO_DEFAULT support to be able to boot on mmc
> by default on boot.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Aug 06, 2018 at 09:38:17AM +0200, Patrice Chotard wrote:
> As cd-inverted property is no more used by arm_pl180_mmci driver,
> remove it. Update cd-gpios active level accordingly.
>
> Reported-by: Tuomas Tynkkynen
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
On Fri, Aug 03, 2018 at 04:25:37PM +0300, Ramon Fried wrote:
> Change the way MAC address fixup is done:
> 1. Stop using LK handed device-tree and calculate
>the MAC address our own.
> 2. Allow overriding the generated MACS with environment variables:
>"wlanaddr" and "btaddr".
>
> Signed
On Mon, Aug 06, 2018 at 11:25:42AM +0200, Patrice Chotard wrote:
> From: Patrick Delaunay
>
> This patch fix the following warnings for for stm32f429
> evaluation and discovery boards:
>
> unnecessary #address-cells/#size-cells without "ranges" or
> child "reg" property
>
> Signed-off-by: Patr
On Fri, Aug 03, 2018 at 04:25:36PM +0300, Ramon Fried wrote:
> Add support for generation of unique MAC address
> that is derived from board serial.
> Algorithm for generation of MAC taken from LK.
>
> Signed-off-by: Ramon Fried
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descrip
On Fri, Aug 03, 2018 at 04:25:35PM +0300, Ramon Fried wrote:
> This commit adds a function to get the board
> serial number.
> In snapdragon it's actually the eMMC serial number.
>
> Function added in a new file misc.c that will
> include further snapdragon miscellaneous functions.
>
> Signed-of
On Fri, Aug 03, 2018 at 11:46:14AM +0200, Patrice Chotard wrote:
> Enable instruction and data caches.
> Fix boot_sd command as since commit d409c962169b ("armv7m: disable
> icache before linux booting"), instruction cache is automatically
> disable before linux booting. "icache off" from boot_sd
On Sun, Aug 05, 2018 at 06:53:06PM +0200, Miquel Raynal wrote:
> The second check on pcr_map in sandbox_tpm2_xfer() is wrong. It should
> check for pcr_map not being empty. Instead, it is a pure copy/paste of
> the first check which is redundant.
>
> This has been found thanks to a Coverity Scan
On Fri, Aug 03, 2018 at 11:46:16AM +0200, Patrice Chotard wrote:
> Remove CONFIG_CMD_CACHE from include/configs/stm32h7xx.h
> and enable it in stm32h7xx_defconfig
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
On Fri, Aug 03, 2018 at 08:56:27PM +0300, Ramon Fried wrote:
> Add scattered driver files around the source tree
> that belongs to Snapdragon arch. Not sure why they
> were not included in the first place.
>
> Signed-off-by: Ramon Fried
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Thu, Jul 26, 2018 at 11:02:47PM -0400, Thomas Fitzsimmons wrote:
> Move some configuration #defines that do not apply to other bcmstb
> boards from bcmstb.h to bcm7445.h.
>
> Signed-off-by: Thomas Fitzsimmons
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signatu
On Mon, Aug 06, 2018 at 09:38:18AM +0200, Patrice Chotard wrote:
> As cd-inverted property is no more used by arm_pl180_mmci driver,
> remove it. Update cd-gpios active level accordingly.
>
> Reported-by: Tuomas Tynkkynen
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
On Fri, Aug 03, 2018 at 04:25:37PM +0300, Ramon Fried wrote:
> Change the way MAC address fixup is done:
> 1. Stop using LK handed device-tree and calculate
>the MAC address our own.
> 2. Allow overriding the generated MACS with environment variables:
>"wlanaddr" and "btaddr".
>
> Signed
On Fri, Aug 03, 2018 at 11:46:21AM +0200, Patrice Chotard wrote:
> Add DISTRO_DEFAULT support to be able to boot on mmc
> by default on boot.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Aug 03, 2018 at 11:46:12AM +0200, Patrice Chotard wrote:
> Since commit aa5e3e22f4d6 ("board: stm32: switch to DM STM32 timer")
> SYS_CLK_FREQ is useless, remove it from stm32f4 and stm32f7 boards.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature
On Sun, Aug 05, 2018 at 11:51:31PM -0500, Derald D. Woods wrote:
> This commit enables CONFIG_BLK and removes USB_STORAGE which is awaiting
> proper implementation for current U-Boot interfaces. Additionally the
> console selection is now handled by Kconfig and no longer needs to be in
> the confi
On Fri, Aug 03, 2018 at 04:31:02PM +0300, Ramon Fried wrote:
> 1. Add FIT support for DB410c defconfig.
> 2. Don't overwrite bootargs (they're already
>defined in Linux device tree for DB410c.
>
> Signed-off-by: Ramon Fried
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descript
On Fri, Aug 03, 2018 at 11:46:13AM +0200, Patrice Chotard wrote:
> This flag is not used, remove it.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boo
On Fri, Aug 03, 2018 at 11:46:17AM +0200, Patrice Chotard wrote:
> Since commit bfea69ad2793 ("stm32f7: sdram: correct sdram
> configuration as per micron sdram"), CONFIG_SYS_RAM_FREQ_DIV
> flag is no more used, remove it.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
On Fri, Aug 03, 2018 at 11:46:15AM +0200, Patrice Chotard wrote:
> Remove CONFIG_CMD_CACHE from include/configs/stm32f746-disco.h
> and enable it in stm32f746-disco_defconfig
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Aug 06, 2018 at 11:52:23AM +0200, Patrice Chotard wrote:
> Add new drivers
> Add Christophe Kerello and myself as maintainers
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Aug 03, 2018 at 11:46:18AM +0200, Patrice Chotard wrote:
> Add DISTRO_DEFAULT support to be able to boot on mmc
> by default on boot.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Aug 03, 2018 at 01:09:55PM +0200, Patrice Chotard wrote:
> Commit 1473b12ad0b3 ("lib: fdtdec: Update ram_base to store ram start
> adddress") brings regression on STM32F7 which can't boot.
>
> Use fdtdec_setup_mem_size_base() to setup memory base and size.
> Use fdtdec_setup_memory_banksi
On Fri, Aug 03, 2018 at 11:46:19AM +0200, Patrice Chotard wrote:
> Add DISTRO_DEFAULT support to be able to boot on
> mmc by default on boot.
>
> Signed-off-by: Patrice Chotard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sun, Aug 05, 2018 at 06:53:07PM +0200, Miquel Raynal wrote:
> The recv variable in sandbox_tpm2_fill_buf() is a pointer on a pointer
> of a char array. It means accessing *recv is the char array pointer
> itself while **recv is the first character of that array. There is no
> need for such indi
On Thu, Jul 26, 2018 at 10:55:37PM -0400, Thomas Fitzsimmons wrote:
> Move the contents of prior_stage.h into bcmstb.h to prevent a build
> failure when bcmstb.h is #include'ed before the asm/arch symbolic link
> is present.
>
> Signed-off-by: Thomas Fitzsimmons
Applied to u-boot/master, thanks
On Fri, Aug 03, 2018 at 11:46:11AM +0200, Patrice Chotard wrote:
> Use gd->bd->bi_dram[0].start initialized from DT instead of using
> hardcoded CONFIG_SYS_SDRAM_BASE from config file.
>
> Remove unused CONFIG_SYS_RAM_BASE and CONFIG_SYS_SDRAM_BASE defines.
>
> Signed-off-by: Patrice Chotard
A
On Fri, Aug 03, 2018 at 12:10:49PM +0300, Eugen Hristev wrote:
> In case the slow clock is not properly configured, the UTMI clock
> cannot lock the PLL, because UPLLCOUNT will "wait X slow clock cycles".
> In this case U-boot will loop indefinitely.
> Added a timeout in this case, to start U-boot
On Wed, Jul 25, 2018 at 10:13:03PM -0400, nom...@palism.com wrote:
> From: Caliph Nomble
>
> Fix LibreSSL compilation for versions before v2.7.0.
>
> Signed-off-by: Caliph Nomble
> Reviewed-by: Jonathan Gray
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signatur
On Sat, Aug 11, 2018 at 03:52:14PM +0200, Heinrich Schuchardt wrote:
> %s/dumm /dummy /
>
> Signed-off-by: Heinrich Schuchardt
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.d
On Mon, Aug 13, 2018 at 04:19:02PM +, York Sun wrote:
> Tom,
>
> The following changes since commit 373413cce6260acdf14de762f94010b627a77a3b:
>
> Merge branch 'master' of git://git.denx.de/u-boot-video (2018-08-07
> 07:15:20 -0400)
>
> are available in the git repository at:
>
> git://
On Fri, Aug 10, 2018 at 04:59:59PM +0300, Igor Opaniuk wrote:
> Implement get_size_of_partition() operation,
> which is required by the latest upstream libavb [1].
>
> [1]
> https://android.googlesource.com/platform/external/avb/+/android-p-preview-5
>
> Signed-off-by: Igor Opaniuk
> Acked-by:
On Mon, Aug 13, 2018 at 5:09 PM Adam Ford wrote:
>
> On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt
> wrote:
> >
> > On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan wrote:
> > >
> > > On Mon, Aug 13, 2018 at 1:40 PM Adam Ford wrote:
> > > >
> > > > On Sat, Aug 11, 2018 at 3:09 PM Adam Ford wro
On 08/14/2018 12:00 AM, Ramon Fried wrote:
> Move CONFIG_NR_DRAM_BANKS from headers to Kconfig.
>
> Signed-off-by: Ramon Fried
Somehow this seems to be missing a lot of cleanups in include/configs/
... look at moveconfig.py
> ---
> Kconfig | 6 ++
> 1 file changed, 6 insertions(+)
>
> dif
On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt
wrote:
>
> On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan wrote:
> >
> > On Mon, Aug 13, 2018 at 1:40 PM Adam Ford wrote:
> > >
> > > On Sat, Aug 11, 2018 at 3:09 PM Adam Ford wrote:
> > > >
> > > >
> > > >
> > > > On Sat, Aug 11, 2018, 1:24 PM Ja
On 08/13/2018 09:34 PM, Simon Goldschmidt wrote:
> malloc_simple() can return 0 if out of memory. Don't call memset
> from calloc() in this case but rely on the caller checking
> the return value.
>
> Signed-off-by: Simon Goldschmidt
> Reviewed-by: Marek Vasut
Separate this from the patchset, t
On 08/13/2018 09:34 PM, Simon Goldschmidt wrote:
> gd->env_addr points to pre-relocation address even after
> relocation. This leads to an abort in env_callback_init
> when loading the environment.
>
> Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
On 08/13/2018 09:34 PM, Simon Goldschmidt wrote:
> To boot from fpga OnChip RAM, some changes are required in SPL
> to ensure the code is linked to the correct address (in contrast
> to QSPI and MMC boot, FPGA boot executes SPL in place instead of
> copying it to SRAM) and that fpga OnChip RAM stay
Hi Ramon,
> If CONFIG_NR_DRAM_BANKS is bigger than the default
> value (4) define MEMORY_BANKS_MAX as CONFIG_NR_DRAM_BANKS.
Also the Odroid XU3 uses 8 banks (but this is the fault of the board as
it has 4x512MiB probably).
I would also prefer to have the CONFIG_NR_DRAM_BANKS set to 4 (as it
was)
To boot from fpga OnChip RAM, some changes are required in SPL
to ensure the code is linked to the correct address (in contrast
to QSPI and MMC boot, FPGA boot executes SPL in place instead of
copying it to SRAM) and that fpga OnChip RAM stays accessible while
SPL runs (don't disable fpga bridges).
malloc_simple() can return 0 if out of memory. Don't call memset
from calloc() in this case but rely on the caller checking
the return value.
Signed-off-by: Simon Goldschmidt
Reviewed-by: Marek Vasut
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/malloc_simple.c | 3 +
Some of the code for low level system initialization in SPL's
board_init_f() and U-Boot's arch_early_init_r() is the same,
so let's combine it into a single function called from both.
Signed-off-by: Simon Goldschmidt
---
Changes in v4:
- rename socfpga_init_bus_mapping() to socfpga_sdram_remap_z
gd->env_addr points to pre-relocation address even after
relocation. This leads to an abort in env_callback_init
when loading the environment.
Fix this by enabling CONFIG_SYS_EXTRA_ENV_RELOC.
Signed-off-by: Simon Goldschmidt
---
Changes in v4: enable this fix for all socfpga, not for gen5 only
Socfpga gen5 SPL has been broken since moving to DM serial with
v2018.07. Also, U-Boot console output has been broken since then.
This series fixes this and makes some related small improvements.
Changes in v4:
- dropped already merged patches 1, 3 and 4
- enable the env relocatation for all socf
Device trees need to have the serial console device available
before relocation and require a stdout-path in chosen at least
for SPL to have a console.
Signed-off-by: Simon Goldschmidt
---
Changes in v4: None
Changes in v3:
- moved uart0's "u-boot,dm-pre-reloc;" from socfpga.dtsi to board
spec
On 04/11/2016 04:16 PM, Alexander Graf wrote:
> The payload gets information on where it got loaded from. This includes
> the device as well as file path.
>
> So far we've treated both as the same thing and always gave it the device
> name. However, in some situations grub2 actually wants to find
The restructuring of the SPL dropped registration of the FPGA in SPL,
readd it.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
Fixes: c859f2a77d98 ("arm: socfpga: Restructure the SPL file")
---
arch/arm/mach-socfpga/spl_a10.c | 6 ++
1 file changed, 6 inser
Enable DM ethernet framework on Arria10, so that the designware GMAC
can be probed from DT as it should be.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
configs/socfpga_arria10_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/socfpg
Move CONFIG_NR_DRAM_BANKS from headers to Kconfig.
Signed-off-by: Ramon Fried
---
Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Kconfig b/Kconfig
index db0f545e45..d96e3373c1 100644
--- a/Kconfig
+++ b/Kconfig
@@ -104,6 +104,12 @@ config ENV_VARS_UBOOT_CONFIG
- CONF
Remove ad-hoc ethernet syscon registers configuration and reset support.
Reset is now handled by the reset framework and the syscon registers are
set in the dwmac_socfpga.c driver.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/Kconfig
Remove code from the reset manager that is never called.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
.../include/mach/reset_manager_arria10.h | 3 -
arch/arm/mach-socfpga/reset_manager_arria10.c | 123 -
2 files chang
Enable the DM reset framework and DM reset driver on Arria10 both
in U-Boot and in SPL. This lets U-Boot parse reset control from DT.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff
The A10 SoCDK is missing the I2C bus alias, so DM I2C cannot assign
the I2C bus a bus number. Add the missing alias.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/socfpga_arria10_socdk.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/a
The UART reset handling is now done via reset framework using the
SoCFPGA reset driver. The UART console assignment is done using the
DM and console framework. Nuke all this comlexity, since it is just
duplicating the same functionality, badly.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: D
Add wrapper around the designware MAC driver to handle the SoCFPGA
specific configuration bits. On Arria10, this is configuration of
syscon phy_intf.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
Cc: Joe Hershberger
---
NOTE: This driver is not enabled on Gen5
Enable the DM I2C framework on Arria10, so that the DM capable
Designware I2C driver can handle the reset via DM reset framework.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git
The I2Cx resets are missing from DT, so the reset manager
cannot control them. Add the missing DT reset entries.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/socfpga_arria10.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a
Add the GMAC0,1 OCP resets, which must also be ungated for those GMACs
to work and add GMAC2 reset and OCP resets which were missing altogether.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/socfpga_arria10.dtsi | 10 ++
1 file changed
The UART0 and UART1 resets are missing from DT, so the reset manager
cannot control them. Add the missing DT reset entries.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/socfpga_arria10.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git
The Altera reset manager block must be available very early on, since
it controls ie. UART resets. Flag it as pre-reloc.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/socfpga_arria10.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/a
If CONFIG_NR_DRAM_BANKS is bigger than the default
value (4) define MEMORY_BANKS_MAX as CONFIG_NR_DRAM_BANKS.
Fixes: 2a1f4f1758b5 ("Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if
defined"")
Signed-off-by: Ramon Fried
---
common/fdt_support.c | 4
1 file changed, 4 insertions(+)
diff --g
On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan wrote:
>
> On Mon, Aug 13, 2018 at 1:40 PM Adam Ford wrote:
> >
> > On Sat, Aug 11, 2018 at 3:09 PM Adam Ford wrote:
> > >
> > >
> > >
> > > On Sat, Aug 11, 2018, 1:24 PM Jagan Teki
> > > wrote:
> > >>
> > >> On Sat, Aug 11, 2018 at 6:12 PM, Adam Fo
A20 OLinuXino Micro eMMC board has emmc with mmc2 slot
so use proper dts, sun7i-a20-olinuxino-micro-emmc.dts
Cc: Stefan Mavrodiev
Cc: Hans de Goede
Signed-off-by: Jagan Teki
---
configs/A20-OLinuXino_MICRO-eMMC_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/confi
On August 13, 2018 7:59:05 PM GMT+03:00, Tom Rini wrote:
>On Mon, Aug 13, 2018 at 10:55:03PM +0300, Ramon Fried wrote:
>> On Mon, Aug 13, 2018 at 7:22 PM Ramon Fried
>wrote:
>>
>> > On August 13, 2018 7:15:14 PM GMT+03:00, Tom Rini
>
>> > wrote:
>> > >On Mon, Aug 13, 2018 at 07:14:00PM +0300, Ra
On Mon, Aug 13, 2018 at 06:07:14PM +0200, Marek Vasut wrote:
> On 08/13/2018 03:39 PM, Tom Rini wrote:
> [...]
>
> Next step is to upstream the DT
> changes to Linux kernel, then sync the changes to U-Boot to satisfy
> this obsession - using exactly the same DT as Linux.
> >>>
> >>>
On Mon, Aug 13, 2018 at 10:55:03PM +0300, Ramon Fried wrote:
> On Mon, Aug 13, 2018 at 7:22 PM Ramon Fried wrote:
>
> > On August 13, 2018 7:15:14 PM GMT+03:00, Tom Rini
> > wrote:
> > >On Mon, Aug 13, 2018 at 07:14:00PM +0300, Ramon Fried wrote:
> > >> On August 13, 2018 7:08:22 PM GMT+03:00, T
On Mon, Aug 13, 2018 at 7:22 PM Ramon Fried wrote:
> On August 13, 2018 7:15:14 PM GMT+03:00, Tom Rini
> wrote:
> >On Mon, Aug 13, 2018 at 07:14:00PM +0300, Ramon Fried wrote:
> >> On August 13, 2018 7:08:22 PM GMT+03:00, Tom Rini
> > wrote:
> >> >On Mon, Aug 13, 2018 at 09:54:30PM +0300, Ramon
On Sun, Aug 12, 2018 at 03:06:03PM +0800, Akee Huang wrote:
> Fix coding style according to checkpatch.pl
>
> Signed-off-by: Akee Huang
> ---
> cmd/led.c | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/cmd/led.c b/cmd/led.c
> index fc07ca95a3..b339c98dfb 1
On 08/10/2018 12:00 AM, Ran Wang wrote:
> Since more c files will include ns_access.h, this move will fix some
> compiling warnings and make it sense.
>
> Signed-off-by: Ran Wang
> ---
> Change in v4:
> - Apply same move for ls102xa
>
> Change in v3:
> - New file
>
This set is appl
On 08/02/2018 01:03 AM, Kurt Kanzenbach wrote:
> From: Darwin Dingel
>
> This is a fix made for the fsl_ifc_nand driver on linux kernel by
> Pavel Machek and is applied to uboot. It is currently on applied on
> linux-mtd.
>
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpat
On 08/09/2018 05:20 AM, laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> Add defines for the edma and qdma register block base addresses.
>
> Reviewed-by: Bharat Bhushan
> Signed-off-by: Laurentiu Tudor
> ---
This set is applied to fsl-qoriq master, awaiting upstream.
Thanks.
York
On 08/01/2018 10:31 PM, Pankaj Bansal wrote:
> The 16 char ethernet name size is inadequate to hold the name of ethernet
> name "DPMAC17@rgmii-id", which is a valid name in LX2160AQDS/LX2160ARDB.
>
> Therefore, increase the name string size to 20 chars.
>
> Reported-by: Ioana Ciornei
> Suggested
On 08/01/2018 10:31 PM, Pankaj Bansal wrote:
> The ethernet name should be within the ETH_NAME_LEN, as this
> is the buffer space allocated to ethernet name.
>
> Otherwise, this causes buffer overflow.
>
> Reported-by: Ioana Ciornei
> Signed-off-by: Pankaj Bansal
> ---
Applied to fsl-qoriq mas
On 09/12/2017 10:56 AM, Joakim Tjernlund wrote:
> Most FSL PCIe controllers expects 333 MHz PCI reference clock.
> This clock is derived from the CCB but in many cases the ref.
> clock is not 333 MHz and a divisor needs to be configured.
>
> This adds PEX_CCB_DIV #define which can be defined for e
On 07/16/2018 11:29 PM, Vinitha V Pillai wrote:
> Enable PCIe config options in LS1088 SD Secure Boot defconfig
>
> Signed-off-by: Vinitha V Pillai
> ---
>
> Changes in v2:
> Changed the commit message and added reviewers
Applied to fsl-qoriq master, awaiting upstream.
Thanks.
York
__
On August 13, 2018 7:15:14 PM GMT+03:00, Tom Rini wrote:
>On Mon, Aug 13, 2018 at 07:14:00PM +0300, Ramon Fried wrote:
>> On August 13, 2018 7:08:22 PM GMT+03:00, Tom Rini
> wrote:
>> >On Mon, Aug 13, 2018 at 09:54:30PM +0300, Ramon Fried wrote:
>> >> On Mon, Aug 13, 2018 at 5:52 PM Tom Rini
>wro
On 07/16/2018 01:28 PM, Brendan Shanks wrote:
> In ft_fixup_enet_phy_connect_type(), use strlen() instead of sizeof() on
> the pointer result of phy_string_for_interface().
> sizeof() was returning the size of the pointer (4 bytes), resulting in
> the phy-connection-type being set to "rgmi" rather
1 - 100 of 187 matches
Mail list logo