This patch is to enable BLK code configuration for SD boot.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
include/mmc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/mmc.h b/include/mmc.h
index 534
This patch adds esdhc clock support for ls1088a and ls2088a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff
This enables the folowing to Kconfig:
CONFIG_BLK
CONFIG_DM_MMC
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++
configs/ls1021atwr_nor_defconfig
This patch is to add eSDHC node for ls1088a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
arch/arm/dts/fsl-ls1088a.dtsi |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/ar
This patch is to add eSDHC node for ls1043a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
arch/arm/dts/fsl-ls1043a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arc
This patch is to add eSDHC node for ls1046a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
arch/arm/dts/fsl-ls1046a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arc
Recently the FMan Port and MAC compatibles were changed.
This patch aligns the FMan Port and MAC compatibles
to the new FMan device tree binding document.
The FMan device tree binding document can be found in the Linux
kernel:
version 3.18.0
commit 297d35fd2a7d3fbd4e5c0f0c1c18213117ba11ba
./Docume
This patch is to add eSDHC node for ls2088a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
arch/arm/dts/fsl-ls2080a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arc
This patch is to enable eSDHC for ls1021a.
Signed-off-by: Yinbo Zhu
---
Change in v4:
keep the same revision v4 for the entire set.
arch/arm/dts/ls1021a.dtsi |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a
From: Stefan Agner
This commit adds support for the Toradex Colibri iMX7D 1GB Computer
on Module. The module is very similar to the Colibri iMX7D 512MB
but uses eMMC instead of raw NAND. This patch introduces a new
board specific Kconfig symbol to select between the two flash
options.
Signed-off
From: Stefan Agner
If the NAND chip is missing get_nand_dev_by_index() returns NULL. Fail
gracefully in this case.
Signed-off-by: Stefan Agner
---
board/toradex/common/tdx-cfg-block.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/board/toradex/common/tdx-cfg-block
Hi Tom
On 08/05/2018 01:39 AM, Tom Rini wrote:
> On Wed, Jul 25, 2018 at 05:49:12PM +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: P
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
---
arch/arm/dts/stm32f769-disco.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/
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
---
arch/arm/dts/stm32f746-disco.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch
This series :
- removes DT cd-inverted property for stm32f746 and stm32f769
discovery boards
Patrice Chotard (2):
ARM: dts: stm32: remove cd-inverted for stm32f769-disco
ARM: dts: stm32: remove cd-inverted for stm32f746-disco
arch/arm/dts/stm32f746-disco.dts | 4 ++--
arch/arm/dts/st
Hi Tom
On 08/05/2018 01:39 AM, Tom Rini wrote:
> On Tue, Jul 24, 2018 at 04:31:33PM +0200, Fabrice Gasnier wrote:
>
>> Add ADC device tree node. This allows to get analog conversions on
>> stm32mp157.
>>
>> Signed-off-by: Fabrice Gasnier
>> Reviewed-by: Simon Glass
>
> This doesn't apply curre
Add ADC device tree node. This allows to get analog conversions on
stm32mp157.
Signed-off-by: Fabrice Gasnier
Signed-off-by: Patrice Chotard
---
arch/arm/dts/stm32mp157c.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/stm32mp157c.dtsi b/a
Hi Tom,
On 05/08/2018 01:39, Tom Rini wrote:
> On Thu, Jul 26, 2018 at 03:54:04PM +0200, Neil Armstrong wrote:
>
>> This patch adds support for :
>> - Rate calculation through muxes and generic dividers
>> - Basic gate setting propagation
>> - Reparenting for muxes
>> - Clock rate setting through
Define the read*_*/write*_* macros for the PowerPC platform to be able
to use the macros in wait_bit.h.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
arch/powerpc/include/asm/io.h | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/powerpc/include/asm
It's useful to have the reset status of the SoC printed out during reset
(e.g. to learn whether the reset was caused by software or a watchdog).
As a first step to implement this, add a get_status method to the
sysreset class, which enables the caller to get printable information
about the reset s
Add some tests for sysreset_get_status.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Switched to usage of strlcpy
v2 -> v3:
New in v3.
drivers/sysreset/sysreset_sandbox.c | 16
test/dm/sysreset.c | 20 +
Includes should be sorted.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
No changes
v2 -> v3:
No changes
v1 -> v2:
New in v2
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/commo
To print the reset status during boot, add a method print_resetinfo to
board_f, which is called in init_sequence_f[], that gets the reset
information from the sysreset driver (assuming there is only one seems
reasonable), and prints it.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Note
Add a sysreset driver for the MPC83xx platform.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Fixed style violation
* Added full documentation
* Switched to wait_for_bit_be32 usage
* Improved error handling and debug printing
* Minimized usage
Makefile entries should be sorted.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
drivers/timer/Makefile | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile
index ee2fcb1fa71..71c54048540 100644
-
The documentation in init.h is not in kernel-doc format. Fix this.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
include/init.h | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/include/init.h b/include/init.h
index f114a889631.
Add a timer driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Removed superfluous get_timer (switched to usage of standard function)
* Improved error handling and debug reporting
* Added full documentation
v2 -> v3:
* Got rid of the
Add a method to probe all CPUs of the board.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
drivers/cpu/cpu-uclass.c | 23 +++
include/cpu.h| 7 +++
2 files changed, 30 insertions(+)
diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-
Documentation in cpu.h is not in kernel-doc format. Change it to comply
with it.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
include/cpu.h | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/include/cpu.h b/include/cpu.h
index
Add a RAM driver for the MPC83xx architecture.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Switched preprocessor constants to C constants
* Improved error reporting
* Added driver binding file
* Added full documentation
v2 -> v3:
* C
Add a CPU driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Fixed style violations
* Switched to using cpu_probe_all method
* Switched to bitfield macros
* Moved mpc83xx_cpu_info fields into mpc83xx_cpu_priv
* Fixed CPU family determinat
Add a clock driver for the MPC83xx architecture.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Gotten rid of all #ifdefs (SoC is now determined by compatible string)
* Added MPC83xx-wide functions to get properties of SoCs
* Gotten rid of most clock variables in global data
When the DM CPU drivers are active, printing information about a CPU
should be delegated to a matching driver.
Hence, add a static print_cpuinfo that implements this delegation when
DM CPU drivers are active.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Prin
Add a sandbox CPU driver, and some tests for the CPU uclass.
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
New in v4
arch/sandbox/dts/test.dts | 12 ++
drivers/cpu/Makefile | 1 +
drivers/cpu/cpu_sandbox.c | 61 +++
test/dm/Make
Add a driver to configure the SerDes (Serializer/Deserializer) lanes on
the MPC83xx architecture.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
Notes:
v3 -> v4:
* Added full documentation
* Introduced separate local header file
* Added error debug output
v2 -> v
When mmc-pwrseq property is passed mmc_pwrseq_alloc() can return
-EPROBE_DEFER because driver for power sequence provider is not probed
yet. Do not show error message when this situation happens.
Signed-off-by: Michal Simek
---
drivers/mmc/host/sdhci-of-arasan.c | 3 ++-
1 file changed, 2 inser
Hi Peng,
On Fri, 27 Jul 2018 10:20:36 +0800
Peng Fan peng@nxp.com wrote:
> Add dummy functions when CONFIG_POWER_DOMAIN not defined.
>
> Signed-off-by: Peng Fan
> ---
>
> V2: Use CONFIG_IS_ENABLED
>
> include/power-domain.h | 28
> 1 file changed, 28 insertio
On Fri, 27 Jul 2018 10:20:37 +0800
Peng Fan peng@nxp.com wrote:
> Add CONFIG_SPL_POWER_DOMAIN config entry.
> Build drivers/power/domain if this config is selected.
>
> Signed-off-by: Peng Fan
> Cc: Simon Glass
> ---
>
> V2: New
>
> common/spl/Kconfig| 9 +
> drivers/
On Fri, 27 Jul 2018 10:20:38 +0800
Peng Fan peng@nxp.com wrote:
> Enable power domain associated with the device when probe.
>
> Signed-off-by: Peng Fan
> Reviewed-by: Simon Glass
> ---
>
> V2:
> Add review tag
>
> drivers/core/device.c | 7 +++
> 1 file changed, 7 insertions(+)
Ap
On Fri, 27 Jul 2018 10:20:39 +0800
Peng Fan peng@nxp.com wrote:
> This is to test power_domain_on in device_probe.
> If the device has a power-domain property, enable it
> when probe the device. So add the test to check
> whether it is powered on or not.
>
> Signed-off-by: Peng Fan
> Reviewe
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: Patrick Delaunay
Signed-off-by: Patrice Chotard
---
arch/arm/dts/stm32429i-eval.dts
Hi,
Ping.
> -Original Message-
> From: Peng Fan
> Sent: 2018年7月17日 20:39
> To: h...@denx.de
> Cc: u-boot@lists.denx.de; Peng Fan
> Subject: [PATCH 1/2] i2c-mux: pca954x: support pca9646 i2c switch
>
> Add the PCA9646 support, which is 2-wire bus switch and buffered 4-channel.
>
> Signe
Add new drivers
Add Christophe Kerello and myself as maintainers
Signed-off-by: Patrice Chotard
---
MAINTAINERS | 10 ++
1 file changed, 10 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 1bd583c9753d..a3548e2c8044 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -224,11 +224,2
From: Peng Fan
Add dummy functions when CONFIG_POWER_DOMAIN not defined.
Signed-off-by: Peng Fan
Reviewed-by: Simon Glass
Signed-off-by: Anatolij Gustschin
---
V3:
- add 'static inline' to fix build breakage
- use -ENOSYS as we do elsewhere to indicate not implemented functionality
V2: Us
On Mon, 6 Aug 2018 11:09:27 +0200
Anatolij Gustschin ag...@denx.de wrote:
...
> Applied to u-boot-staging/ag...@denx.de, thanks!
Dropped, it breaks building.
--
Anatolij
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 08/06/2018 05:25 AM, Joel Stanley wrote:
> Hello,
>
> I am attempting to boot evb-ast2500 in Qemu before flashing it to a
> system. It doesn't get past the DRAM step, due to getting stuck
> endlessly looping in some libfdt code.
>
> With some debugging turned on, I get this:
>
> OF: translati
On Mon, 6 Aug 2018 at 19:39, Cédric Le Goater wrote:
>
> On 08/06/2018 05:25 AM, Joel Stanley wrote:
> > Hello,
> >
> > I am attempting to boot evb-ast2500 in Qemu before flashing it to a
> > system. It doesn't get past the DRAM step, due to getting stuck
> > endlessly looping in some libfdt code.
Hi Dennis,
Thanks for taking the time to look into this series.
Dennis Gilmore writes:
> this patch needs to be rebased on git master as it does not apply.
The conflict is trivial for git to handle automatically on rebase
(remove, remove). I assume 'git am -3' can do the same. Would you like
me
On 08/06/2018 12:11 PM, Joel Stanley wrote:
> On Mon, 6 Aug 2018 at 19:39, Cédric Le Goater wrote:
>>
>> On 08/06/2018 05:25 AM, Joel Stanley wrote:
>>> Hello,
>>>
>>> I am attempting to boot evb-ast2500 in Qemu before flashing it to a
>>> system. It doesn't get past the DRAM step, due to getting
On Mon, 6 Aug 2018 12:02:45 +0200
Anatolij Gustschin ag...@denx.de wrote:
> From: Peng Fan
>
> Add dummy functions when CONFIG_POWER_DOMAIN not defined.
>
> Signed-off-by: Peng Fan
> Reviewed-by: Simon Glass
> Signed-off-by: Anatolij Gustschin
> ---
>
> V3:
> - add 'static inline' to fix
On 14.9.2017 23:34, Paul Burton wrote:
> In python 3.x the configparser module is named with all lower case.
> Import it as such in order to avoid errors when running on python 3.x,
> and fall back to the CamelCase version in order to keep working with
> python 2.x.
>
> Signed-off-by: Paul Burton
The default bootdelay of 3 seconds is good enough and there is no need
to duplicate it in CONFIG_EXTRA_ENV_SETTINGS.
Signed-off-by: Evgeni Dobrev
---
include/configs/nas220.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/nas220.h b/include/configs/nas220.h
index b37705e26e..
In int-ll64.h, we always use the following typedefs:
typedef unsigned int u32;
typedef unsigned longuintptr_t;
typedef unsigned long long u64;
This does not need to match to the compiler's .
Do not include it.
The use of PRI* makes the code super-ugly. You can simply use
You do not need to use the typedefs provided by compiler.
Our compilers are either IPL32 or LP64. Hence, U-Boot can/should
always use int-ll64.h typedefs like Linux kernel, whatever the
typedefs the compiler internally uses.
Signed-off-by: Masahiro Yamada
---
README
Ping. Any objections to this change?
--
Kristian
On 10/07/18 15:29, Kristian Amlie wrote:
> loadaddr is configurable in Kconfig using CONFIG_LOADADDR, while
> kernel_addr_r is not. Hence, loadaddr is the future. Provide the
> existing kernel_addr_r as a fallback if loadaddr is not set.
>
> Sign
All architectures have the same definition for s8/16/32/64
and u8/16/32/64.
Factor out the duplicated code into .
BTW, Linux unified the kernel space definition into int-ll64.h
a few years ago as you see in Linux commit 0c79a8e29b5f
("asm/types.h: Remove include/asm-generic/int-l64.h").
Signed-o
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: Patri
On Tue, 17 Jul 2018 20:38:32 +0800
Peng Fan peng@nxp.com wrote:
> Add the PCA9646 support, which is 2-wire bus switch and buffered 4-channel.
>
> Signed-off-by: Peng Fan
Reviewed-by: Anatolij Gustschin
--
Anatolij
___
U-Boot mailing list
U-Boot@
From what I gathered over the weekend, the MMC_DAVINCI hasn't migrated
to DM_MMC nor does CONFIG_BLK successfully build on ARCH_DAVINCI
boards that enable MMC_DAVINCI.
I started work to attempt to make it DM_MMC and OF_CONTROL compliant
using the da850evm.
Before I go too far, I just want to make
Hi Chris,
On 29.06.2018 00:38, Chris Packham wrote:
Now that there is DM support in the RTC_MV driver update board configs
to use it.
Signed-off-by: Chris Packham
I'm a bit late this time in the release cycle. This one does not apply
any more to master. Could you please rebase this patch and
Hi Baruch,
On 06.08.2018 12:12, Baruch Siach wrote:
Hi Dennis,
Thanks for taking the time to look into this series.
Dennis Gilmore writes:
this patch needs to be rebased on git master as it does not apply.
The conflict is trivial for git to handle automatically on rebase
(remove, remove). I
On Tue, 17 Jul 2018 20:38:33 +0800
Peng Fan peng@nxp.com wrote:
> Use uclass clk api to get per clk when CONFIG_CLK enabled.
>
> Signed-off-by: Peng Fan
> ---
> drivers/i2c/imx_lpi2c.c | 47 ---
> include/imx_lpi2c.h | 3 +++
> 2 files change
Hi Tom
On 08/06/2018 02:07 PM, Tom Rini wrote:
> 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 "range
Tom / Jagan,
Per MIGRATION.txt, (dated 14 March 2018) it shows the deadline for
CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH to be 2018.09 which is already
in RC1 status.
This document also lists some boards which were partially converted
and some boards which have not yet started.
Is there an update o
On Tue, 17 Jul 2018 20:38:32 +0800
Peng Fan peng@nxp.com wrote:
> Add the PCA9646 support, which is 2-wire bus switch and buffered 4-channel.
>
> Signed-off-by: Peng Fan
> ---
> drivers/i2c/muxes/pca954x.c | 9 -
> 1 file changed, 8 insertions(+), 1 deletion(-)
Applied to u-boot-st
On Tue, 17 Jul 2018 20:38:33 +0800
Peng Fan peng@nxp.com wrote:
> Use uclass clk api to get per clk when CONFIG_CLK enabled.
>
> Signed-off-by: Peng Fan
> ---
> drivers/i2c/imx_lpi2c.c | 47 ---
> include/imx_lpi2c.h | 3 +++
> 2 files change
On 02/08/2018 22:36, Simon Glass wrote:
> Hi Neil,
>
> On 26 July 2018 at 07:54, Neil Armstrong wrote:
>> The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the
>> Video Processing Unit.
>> This patch implements support for this power domain in preparation of the
>> future support
The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the
Video Processing Unit.
The first patch implements support for this power domain in preparation of the
future support for the Video display support in U-Boot.
The second patch adds changes in the clock driver to handle the setup
The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the
Video Processing Unit.
This patch implements support for this power domain in preparation of the
future support for the Video display support in U-Boot.
This driver will depend on changes in the clock driver to handle the setup
This patch adds support for :
- Rate calculation through muxes and generic dividers
- Basic gate setting propagation
- Reparenting for muxes
- Clock rate setting through generic dividers without reparenting
Support is only added to the Composite VPU and VAPB clocks in order
to support the Video Pr
On Fri, 3 Aug 2018 10:01:06 +0200
Mario Six mario@gdsys.cc wrote:
> The upcoming changes to the regmap interface will contain a proper check
> for plausibility when reading/writing from/to a register map. To still
> have the current tests pass, increase the size of the memory region for
> the
Signed-off-by: Alexey Brodkin
---
configs/emdk_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/emdk_defconfig b/configs/emdk_defconfig
index e3bccd234fcd..f283a9c9b3c6 100644
--- a/configs/emdk_defconfig
+++ b/configs/emdk_defconfig
@@ -10,7 +10,6 @@ CONFIG_VERSION_VARIABLE=y
On Fri, 3 Aug 2018 10:01:07 +0200
Mario Six mario@gdsys.cc wrote:
> The documentation in regmap.h is not in kernel-doc format. Correct this.
>
> Reviewed-by: Anatolij Gustschin
> Reviewed-by: Simon Glass
> Signed-off-by: Mario Six
>
> ---
>
> v3 -> v4:
> No changes
>
> v2 -> v3:
> New
On Fri, 3 Aug 2018 10:01:08 +0200
Mario Six mario@gdsys.cc wrote:
> Document the regmap_alloc() function.
>
> Reviewed-by: Anatolij Gustschin
> Reviewed-by: Simon Glass
> Signed-off-by: Mario Six
>
> ---
>
> v3 -> v4:
> No changes
>
> v2 -> v3:
> New in v3
>
> ---
> drivers/core/regm
This fixes the board's dts to supply SPL with QSPI info.
The EBV Socrates board has DIP switches to boot from SD card or
QSPI, so let's fix its defconfig to work for both cases.
Signed-off-by: Simon Goldschmidt
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 ++
1 file changed, 2 insertion
On Fri, 3 Aug 2018 10:01:09 +0200
Mario Six mario@gdsys.cc wrote:
> ofnode_read_simple_addr_cells may fail and return a negative error code.
> Check for this when initializing regmaps.
>
> Also check if both_len is zero, since this is perfectly possible, and
> would lead to a division-by-zer
On Fri, 3 Aug 2018 10:01:10 +0200
Mario Six mario@gdsys.cc wrote:
> Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with
> an error, which is not currently checked during regmap initialization.
>
> Since the indentation depth is already quite deep, extract a new
> 'init_r
On Fri, 3 Aug 2018 10:01:11 +0200
Mario Six mario@gdsys.cc wrote:
> Add some debug output in cases where the initialization of a regmap
> fails.
>
> Reviewed-by: Anatolij Gustschin
> Reviewed-by: Simon Glass
> Signed-off-by: Mario Six
>
> ---
>
> v3 -> v4:
> No changes
>
> v2 -> v3:
>
On Fri, 3 Aug 2018 10:01:12 +0200
Mario Six mario@gdsys.cc wrote:
> The regmap functions currently assume that all register map accesses
> have a data width of 32 bits, but there are maps that have different
> widths.
>
> To rectify this, implement the regmap_raw_read and regmap_raw_write
>
On Fri, 3 Aug 2018 10:01:13 +0200
Mario Six mario@gdsys.cc wrote:
...
> ---
> drivers/core/regmap.c | 49 -
> include/regmap.h | 31 +++
> 2 files changed, 75 insertions(+), 5 deletions(-)
Applied to u-boot-stag
On Fri, 3 Aug 2018 10:01:13 +0200
Mario Six mario@gdsys.cc wrote:
...
> ---
> drivers/core/regmap.c | 49 -
> include/regmap.h | 31 +++
> 2 files changed, 75 insertions(+), 5 deletions(-)
Applied to u-boot-stag
On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> There were some NULL pointers dereferenced because DM was used
> too early without correct initialization.
This needs better explanation, really.
> This fixes commit 73172753f4f3 ("ARM: socfpga: Convert to DM serial")
>
> Signed-off-by: Simon Go
On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> If CONFIG_DEBUG_UART is enabled, correctly initialize
> the debug uart before console is initialized to debug
> early boot problems in SPL.
>
> This also changes a printf in reset_manager_gen5 to
> a debug to prevent calling into debug uart before
On 08/06/2018 03:05 PM, Simon Goldschmidt wrote:
> This fixes the board's dts to supply SPL with QSPI info.
>
> The EBV Socrates board has DIP switches to boot from SD card or
> QSPI, so let's fix its defconfig to work for both cases.
>
> Signed-off-by: Simon Goldschmidt
>
> ---
>
> arch/arm/
On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> 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
This should be upstreamed to Linux too ?
> ---
>
>
On 08/05/2018 09:35 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
> ---
>
> common/malloc_simple.c | 3 ++-
> 1 file changed, 2
On Mon, Aug 6, 2018 at 2:47 PM, Masahiro Yamada
wrote:
> The use of PRI* makes the code super-ugly. You can simply use
> "l" for printing uintptr_t, "ll" for u64, and no modifier for u32.
This is not always the case. I dunno what exact usage of PRIx in
U-Boot, but this is correct way for some s
On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> board_init_f_init_reserve() sets gd->malloc_base but does
> not set gd->malloc_limit. This results in malloc_simple()
> failing, so let's set this here.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> common/init/board_init.c | 1 +
> 1 file cha
On Tue, Mar 6, 2018 at 6:02 PM Tom Rini wrote:
>
> This converts the following to Kconfig:
>CONFIG_CONS_INDEX
>
> We have existing entries for this option in a number of places, with
> different guards on them. They're also sometimes used for things not
> directly inside of the serial driver.
On Fri, 3 Aug 2018 10:01:15 +0200
Mario Six mario@gdsys.cc wrote:
...
> ---
> test/dm/regmap.c | 28
> 1 file changed, 28 insertions(+)
Applied to u-boot-staging/ag...@denx.de, thanks!
--
Anatolij
___
U-Boot mailing li
Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19:
> On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> > board_init_f_init_reserve() sets gd->malloc_base but does
> > not set gd->malloc_limit. This results in malloc_simple()
> > failing, so let's set this here.
> >
> > Signed-off-by: Simon Goldsch
Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19:
> On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> > If CONFIG_DEBUG_UART is enabled, correctly initialize
> > the debug uart before console is initialized to debug
> > early boot problems in SPL.
> >
> > This also changes a printf in reset_manag
Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:18:
> On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> > There were some NULL pointers dereferenced because DM was used
> > too early without correct initialization.
>
> This needs better explanation, really.
>
Ok.
> This fixes commit 73172753f4f3
Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19:
> On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> > 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 Gold
Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19:
> On 08/06/2018 03:05 PM, Simon Goldschmidt wrote:
> > This fixes the board's dts to supply SPL with QSPI info.
> >
> > The EBV Socrates board has DIP switches to boot from SD card or
> > QSPI, so let's fix its defconfig to work for both cases.
> >
From: Mario Six
Makefile entries should be sorted.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
Signed-off-by: Anatolij Gustschin
---
v4 -> v5:
Drop re-ordered entries that are not in mainline
(e.g. CONFIG_GDSYS_IOEP, CONFIG_MPC83XX_SERDES, misc_sandbox.o
Hi Mario,
On Fri, 3 Aug 2018 10:01:16 +0200
Mario Six mario@gdsys.cc wrote:
...
> ---
> drivers/misc/Makefile | 60
> +++
> 1 file changed, 32 insertions(+), 28 deletions(-)
this one doesn't apply on git/master, I've sent rebased patch v5.
-
This patch adds support for 2 new XMC (Wuhan Xinxin Semiconductor
Manufacturing Corp) SPI NOR chips.
This support can be enabled by selecting the SPI_FLASH_XMC Kconfig
option.
Signed-off-by: Stefan Roese
Cc: Jagan Teki
---
drivers/mtd/spi/Kconfig | 6 ++
drivers/mtd/spi/spi_flash_i
Some SPI NOR chips only support 4-byte mode addressing. Here the default
3-byte mode does not work and leads to incorrect accesses. Setting this
option enables the use of such SPI NOR chips, that only support this
4-byte mode.
This was noticed on the LinkIt Smart 7688 modul, which is equipped with
Emmanuel Vadot schrieb am Mo., 6. Aug. 2018, 15:48:
> On Mon, 6 Aug 2018 15:42:01 +0200
> Simon Goldschmidt wrote:
>
> > Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19:
> >
> > > On 08/05/2018 09:34 PM, Simon Goldschmidt wrote:
> > > > Device trees need to have the serial console device availa
1 - 100 of 235 matches
Mail list logo