Hi Peng,
On 10/11/2016 03:37 PM, Peng Fan wrote:
> Hi Jaehoon,
> On Mon, Oct 10, 2016 at 01:19:41PM +0900, Jaehoon Chung wrote:
>> Hi Peng,
>>
>> On 10/08/2016 07:07 PM, Peng Fan wrote:
>>> In device tree, there is vmmc-supply property for SD/MMC.
>>> Introduce mmc_power_init function to handle vm
Hi Jaehoon,
On Mon, Oct 10, 2016 at 01:19:41PM +0900, Jaehoon Chung wrote:
>Hi Peng,
>
>On 10/08/2016 07:07 PM, Peng Fan wrote:
>> In device tree, there is vmmc-supply property for SD/MMC.
>> Introduce mmc_power_init function to handle vmmc-supply.
>
>As i know, vqmmc-supply should be optional. Do
Add defconfig file to use plugin code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
V4:
None
V3:
None
V2:
New
configs/mx6ull_14x14_evk_plugin_defconfig | 31 +++
1 file changed, 31 insertions(+)
create mode 100644 configs/mx6ull_14x14_evk_plugin_defconfig
d
Correct boot device macro according to kconfig entry
in common/Kconfig
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
V3:
None
V2:
None
board/freescale/mx6ullevk/imximage.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mx6ullevk/imximage.cfg
b/bo
Introduce USE_IMXIMG_PLUGIN Kconfig
Signed-off-by: Peng Fan
Cc: Stefano Babic
Reviewed-by: Tom Rini
---
V4:
Typo fix.
V3:
None
V2:
New
arch/arm/imx-common/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
index 1
Add mx7_plugin.S which calls boot rom setup function, generate the second ivt,
and jump back to boot rom.
Signed-off-by: Peng Fan
Signed-off-by: Ye Li
Cc: Stefano Babic
Reviewed-by: Tom Rini
---
V3:
None
V2:
None
arch/arm/include/asm/arch-mx7/mx7_plugin.S | 111 ++
If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be
generated under board/$(BOARDDIR)/.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Reviewed-by: Tom Rini
---
V4:
None
V3:
None
V2:
New. Make this common to all i.MX6/7, but not duplicated in board makefile.
arch/arm/imx-common/Make
Add plugin code for mx6ullevk.
Define CONFIG_USE_IMXIMG_PLUGIN in defconfig file to use plugin code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
V3:
Update commit log
V2:
None
board/freescale/mx6ullevk/imximage.cfg | 2 +-
board/freescale/mx6ullevk/plugin.S | 139 ++
Introduce USE_IMXIMG_PLUGIN Kconfig
Signed-off-by: Peng Fan
Cc: Stefano Babic
Reviewed-by: Tom Rini
---
arch/arm/imx-common/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
index 1b7da5a..fb93981 100644
--- a/arch/arm/
Add mx6_plugin.S which calls boot rom setup function, generate the second ivt,
and jump back to boot rom.
Signed-off-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Utkarsh Gupta
Reviewed-by: Tom Rini
Acked-by: Utkarsh Gupta
---
V3:
None
V2:
None
arch/arm/include/asm/arch-mx6/mx6_plugi
Add plugin support for imximage.
Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Eric Nelson
Cc: Ye Li
Reviewed-by: Tom Rini
---
V4:
Max 64KB for plugin code.
V3:
Fix compile error.
V2:
Drop the CONFIG_USE_PLUGIN, ma
From: Yuan Yao
Add the address value and size value name for QSPI dts node.
Signed-off-by: Yuan Yao
---
arch/arm/dts/ls1021a.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 119b1af..37be169 100644
--- a/arch/arm/dts/ls1021a.d
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> At present U-Boot runs entirely in 32-bit mode on x86, except for the
> initial switch from 16-bit mode. On 64-bit machines it is possible to run
> in 64-bit mode. This series starts the process of adding this support.
>
> The main
From: Yuan Yao
There is the stmicro DSPI flash on LS12080ARDB.
Enable DSPI flash related configure options.
Signed-off-by: Yuan Yao
---
include/configs/ls2080ardb.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index b93e919..90
On Tue, Oct 11, 2016 at 11:17 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> This should return normal errors, not device-tree errors. Fix it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> arch/x86/lib/mrccache.c | 8 +---
>> 1 file changed, 5 insertions(+), 3
On Tue, Oct 11, 2016 at 11:17 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Drop init_bd_struct_r() which is no-longer used. Also drop the declaration
>> for init_func_spi() since this is now handled by generic board init.
>>
>> Signed-off-by: Simon Glass
>> ---
>
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> Hi Simon,
>
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Fix the hex case and remove unused brackets. Use -0U instead of ~0UL to
>
> Should be: ~0U
Fixed this, and
>
>> allow compilation on 64-bit machines.
>>
>> Signed-off-by: Si
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> At present pch_power_options() has the arguments to writel() around the
>> wrong way. Fix this and update it to compile on 64-bit machines.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> a
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> We don't have a way of adjusting these at present so it is best to refuse to
>> export these functions. This can be implemented later if the API is required.
>>
>> Signed-off-by: Simon Glas
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> We should cast an address to unsigned long, not u32.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> arch/x86/cpu/interrupts.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> We should cast an address to unsigned long, not u32.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> arch/x86/cpu/cpu.c | 10 --
>> 1 file changed, 4 insertions(+), 6 deletions(-)
>
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Update the code to support both 32-bit and 64-bit modes.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> arch/x86/cpu/interrupts.c | 5 -
>> 1 file changed, 4 insertions(+), 1 deletion(
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Fix a cast that causes warnings on 64-bit machines.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/usb/host/ehci-pci.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> This gives a build warning on 64-bit x86. Fix it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/i2c/intel_i2c.c | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>
On Tue, Oct 11, 2016 at 11:16 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> We should consistently use %z with size_t, and avoid passing a uint32_t as
>> a size_t value. Fix these issues to avoid warnings on 64-bit machines.
>>
>> Signed-off-by: Simon Glass
>> ---
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
>> the definition, but let's use CONFIG_X86 to be sure.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> This is already called earlier, from fdtdec_setup(), so drop this unnecessary
>> call from the init sequence.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> common/board_f.c | 3 ---
>> 1
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Fix a cast that causes warnings on 64-bit machines.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/bios_emulator/atibios.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Add this so that we can support 64-bit relocation on x86.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> include/elf.h | 6 ++
>> 1 file changed, 6 insertions(+)
>>
>
> Reviewed-by: Bi
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> This is used in some link scripts, so add a declaration for it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> include/asm-generic/sections.h | 1 +
>> 1 file changed, 1 insertion(+)
>>
>
Hi Stefano,
On Thu, Oct 6, 2016 at 4:25 PM, Jagan Teki wrote:
> From: Jagan Teki
>
> This series convert fec_mxc to DM and tested both dm and
> non-dm code and it is on top of u-boot-imx/master
>
> Changes for v5:
> - Add stub fec calls to minimize the #ifdef's
> - Use same func names on eth_ops
Hi Stefano,
On Sun, Oct 9, 2016 at 8:15 PM, Jagan Teki wrote:
> Hi Stefano,
>
> On Sat, Oct 8, 2016 at 6:00 PM, Jagan Teki wrote:
>> From: Jagan Teki
>>
>> This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master
>> and test on the respective starter kits as well.
>>
>> Tes
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix various compiler warnings in the x86 library code.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/lib/bios.c | 4 ++--
> arch/x86/lib/pinctrl_ich6.c | 2 +-
> arch/x86/lib/pirq_routing.c | 4 ++--
> arch/x86/lib/sfi
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> This should return normal errors, not device-tree errors. Fix it.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/lib/mrccache.c | 8 +---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/arch/x86/lib/mrccache.c b/arc
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix a cast in get_next_hob() that causes warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/include/asm/fsp/fsp_hob.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
W
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Drop init_bd_struct_r() which is no-longer used. Also drop the declaration
> for init_func_spi() since this is now handled by generic board init.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/include/asm/init_helpers.h | 2 --
> arch/x8
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> We almost always need the serial port before relocation, so mark it as such.
> This will ensure that it appears in the device tree for SPL, if used.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/dts/serial.dtsi | 1 +
> 1 file
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> At present pch_power_options() has the arguments to writel() around the
> wrong way. Fix this and update it to compile on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/ivybridge/lpc.c | 8
> 1 file changed,
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix the hex case and remove unused brackets. Use -0U instead of ~0UL to
Should be: ~0U
> allow compilation on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/ivybridge/lpc.c | 8
> 1 file changed,
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Add various debug() messages in places where errors occur. This aids with
> debugging.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/ivybridge/cpu.c | 4 +++-
> arch/x86/cpu/ivybridge/sdram.c | 36 ++
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix a few types that causes warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/ivybridge/gma.c | 2 +-
> arch/x86/cpu/ivybridge/sata.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> We don't have a way of adjusting these at present so it is best to refuse to
> export these functions. This can be implemented later if the API is required.
>
> Signed-off-by: Simon Glass
> ---
>
> include/_exports.h | 2 +-
> 1 file changed
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Some files are missing this declaration. Add it to avoid build errors when
> we actually need the declaration.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/ivybridge/bd82x6x.c | 2 ++
> arch/x86/cpu/ivybridge/gma.c | 2 +
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> This gives a build warning on 64-bit x86. Fix it.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/i2c/intel_i2c.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Bin Meng
__
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> We should cast an address to unsigned long, not u32.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/interrupts.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng
___
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> We should cast an address to unsigned long, not u32.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/cpu.c | 10 --
> 1 file changed, 4 insertions(+), 6 deletions(-)
>
Reviewed-by: Bin Meng
___
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix a cast that causes warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/usb/host/ehci-pci.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng
__
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Update the code to support both 32-bit and 64-bit modes.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/interrupts.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
___
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Change this type from int to ulong to avoid warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> include/video_fb.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/video_fb.h b/include/video_
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Add this so that we can support 64-bit relocation on x86.
>
> Signed-off-by: Simon Glass
> ---
>
> include/elf.h | 6 ++
> 1 file changed, 6 insertions(+)
>
Reviewed-by: Bin Meng
___
U-Boot m
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> We should consistently use %z with size_t, and avoid passing a uint32_t as
> a size_t value. Fix these issues to avoid warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/tpm/tpm_tis_lpc.c | 4 ++--
> 1 file changed
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
> the definition, but let's use CONFIG_X86 to be sure.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/rtc/mc146818.c | 2 +-
> 1 file changed, 1 insertion(+), 1 d
Hi Simon,
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> This currently fails silently. Add a debug message to aid debugging.
>
> Signed-off-by: Simon Glass
> ---
>
> common/spl/spl_spi.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/common/spl/spl_spi.c b/
Hi Simon,
Typo of CONFIG-CONSOLE_MUX in the commit title.
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> CONFIG_CONSOLE_MUX and CONFIG_SYS_CONSOLE_IS_IN_ENV are not applicable
> for SPL. Update the console code to use CONFIG_IS_ENABLED(), so that these
> options will be inactive in SPL.
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> This is used in some link scripts, so add a declaration for it.
>
> Signed-off-by: Simon Glass
> ---
>
> include/asm-generic/sections.h | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Bin Meng
___
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> Fix a cast that causes warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/bios_emulator/atibios.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
__
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
> This is already called earlier, from fdtdec_setup(), so drop this unnecessary
> call from the init sequence.
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 3 ---
> 1 file changed, 3 deletions(-)
>
Reviewed-by: Bin Meng
__
Dear Jim,
Thank you very much.
I read the Wiki page.
I was running to load the standalone application program.
CPU is so ARM, there is instruction and data caches.
As in the Wiki of example, a program that was loaded with 'loads' command
was able to run.
However, when I loaded in the same progra
On Tue, Oct 11, 2016 at 2:58 AM, George McCollister
wrote:
> Winbond parts such as W25Q64FV and Spansion parts such as S25FL128S
> support two status register protection bits. Implement sr_protect for
> Winbond and Spansion devices.
>
> ---
> |
On Tue, Oct 11, 2016 at 2:58 AM, George McCollister
wrote:
> Add an sf sub-command named sr-protect which allows the status register
> protection method to be changed.
>
> Valid settings are software, hardware, power and otp.
>
> Signed-off-by: George McCollister
> ---
> cmd/sf.c | 28 ++
On Tue, Oct 11, 2016 at 2:57 AM, George McCollister
wrote:
> STMICRO parts such as M25PX64 and SST parts such as SST26VF032B support
> a single status register protect bit. When set this bit cause writes to
> the status register to be blocked when the write protect signal is low.
>
> Implement sr_
On Tue, Oct 11, 2016 at 2:57 AM, George McCollister
wrote:
> Spansion parts such as S25FL128S and Winbond parts such as W25Q64FV
> support the block protection mechanism implemented as
> stm_lock() and stm_unlock(). Use stm_lock() and stm_unlock() for
> Spansion and Winbond devices.
>
> Signed-off
On Tue, Oct 11, 2016 at 2:57 AM, George McCollister
wrote:
> Many SPI NOR flash devices support status register protection through
> one or two status register protection bits. Status register protection
> enables protection of block protect and other bits from manipulation.
>
> So far, four diffe
On Mon, Oct 10, 2016 at 11:47 PM, Ding, ChiX wrote:
> Hi there
> I disabled CONFIG_DM_PCI in menuconfig because I have problem detecting AHCI
> SCSI controller on X86 board
> with CONFIG_DM_PCI enabled and the older code in drivers/pci/pci.c works for
> me in the previous U-boot version.
> Then
On 4 October 2016 at 18:08, Moritz Fischer wrote:
> Move crosec commands from drivers/misc/cros_ec.c to
> cmd/cros_ec.c
>
> Acked-by: Simon Glass
> Signed-off-by: Moritz Fischer
> Cc: Simon Glass
> Cc: Heiko Schocher
> Cc: Bin Meng
> Cc: Miao Yan
> Cc: Masahiro Yamada
> Cc: Stefan Roese
>
On 1 October 2016 at 14:42, Simon Glass wrote:
> At present these functions do not touch addr, which can raising warnings
> about unused variables.
>
> This fixes the following warnings:
>
> sandbox_spl defconfig
> drivers/core/regmap.c: In function ‘regmap_read’:
> drivers/core/regmap.c:125:12: w
On 3 October 2016 at 15:50, Simon Glass wrote:
> On 1 October 2016 at 12:41, Stefan Brüns wrote:
>> The readdir linux manpage explicitly states (quoting POSIX.1) that
>> sizeof(d_name) is not correct for determining the required size, but to
>> always use strlen. Grow the buffer if needed.
>>
>>
On 3 October 2016 at 15:49, Simon Glass wrote:
> On 1 October 2016 at 12:41, Stefan Brüns wrote:
>> Previously, after reading/creating the second dirent, the second entry
>> would be chained to the first entry and the first entry would be linked
>> to head. Instead, immediately link the first ent
On 3 October 2016 at 15:50, Simon Glass wrote:
> On 1 October 2016 at 12:41, Stefan Brüns wrote:
>> Using readdir_r limits the maximum file name length and may even be
>> unsafe, and is thus deprecated in since glibc 2.24.
>>
>> Signed-off-by: Stefan Brüns
>> ---
>> arch/sandbox/cpu/os.c | 19 +
On 4 October 2016 at 13:46, Stefan Brüns wrote:
> The "hostfs ls" command prefixes each directory entry with either DIR,
> LNK or " " if it is a directory, symlink resp. regular file, or
> "???" for any other or unknown type.
> The latter only works if the type is set correctly, as the entry def
On 30 September 2016 at 20:17, Tom Rini wrote:
> On Fri, Sep 30, 2016 at 09:20:47AM +0530, Keerthy wrote:
>
>> Enable CMD_REG option.
>>
>> Signed-off-by: Keerthy
>
> Reviewed-by: Tom Rini
Applied to u-boot-dm, thanks!
___
U-Boot mailing list
U-Boot@l
\On 3 October 2016 at 15:49, Simon Glass wrote:
> On 1 October 2016 at 12:41, Stefan Brüns wrote:
>> Signed-off-by: Stefan Brüns
>> ---
>> fs/sandbox/sandboxfs.c | 1 +
>> include/os.h | 11 ++-
>> 2 files changed, 11 insertions(+), 1 deletion(-)
>
> Acked-by: Simon Glass
A
On 29 September 2016 at 22:04, Keerthy wrote:
> The driver provides regulator set/get voltage
> enable/disable functions for lp873x family of PMICs.
>
> Signed-off-by: Keerthy
> Reviewed-by: Simon Glass
> ---
> Changes in v2:
>
> * Used pmic_reg_read/pmic_reg_write instead of direct i2c
>
On 29 September 2016 at 21:50, Keerthy wrote:
> Enable palmas PMIC config options.
>
> Signed-off-by: Keerthy
> Reviewed-by: Tom Rini
> ---
> configs/dra7xx_evm_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
Applied to u-boot-dm, thanks!
___
U-
On 29 September 2016 at 21:50, Keerthy wrote:
> Enable palmas PMIC config options.
>
> Signed-off-by: Keerthy
> Reviewed-by: Tom Rini
> ---
> configs/am57xx_evm_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
Applied to u-boot-dm, thanks!
___
U-
On 29 September 2016 at 22:04, Keerthy wrote:
> Add support to bind the regulators/child nodes with the pmic.
>
> Signed-off-by: Keerthy
> Reviewed-by: Simon Glass
> ---
>
> Changes in v3:
>
> * Used dm_i2c_write and dm_i2c_read in place of dm_i2c_reg_write
> dm_i2c_reg_read respectively.
On 29 September 2016 at 21:50, Keerthy wrote:
> The driver provides regulator set/get voltage
> enable/disable functions for palmas family of PMICs.
>
> Signed-off-by: Keerthy
> Reviewed-by: Simon Glass
> Reviewed-by: Tom Rini
> ---
>
> Changes in v5:
>
> * Used pmic_reg_read pmic_reg_write f
On 29 September 2016 at 21:50, Keerthy wrote:
> Add support to bind the regulators/child nodes with the pmic.
> Also adds the pmic i2c based read/write funtions to access pmic
> registers.
>
> Signed-off-by: Keerthy
> Reviewed-by: Simon Glass
> Reviewed-by: Tom Rini
> ---
> Changes in v6:
>
>
On 6 October 2016 at 08:28, Przemyslaw Marczak wrote:
> Hello,
>
>
> On 10/05/2016 06:50 PM, Simon Glass wrote:
>>
>> Hi Keerthy,
>>
>> On 5 October 2016 at 05:58, Keerthy wrote:
>>>
>>>
>>> On Monday 19 September 2016 06:29 AM, Simon Glass wrote:
On 15 September 2016 at 05:34, Keerthy
On 29 September 2016 at 21:50, Keerthy wrote:
> The ctrl reg contains bit fields to enable and disable regulators,
> and volt_reg has the bit fields to configure the voltage values.
> The registers are frequently accessed hence make them part
> of dm_regulator_uclass_platdata structure.
>
> Signed
Hi Keerthy,
On 15 September 2016 at 05:16, Keerthy wrote:
>
>
> On Thursday 15 September 2016 04:38 PM, Keerthy wrote:
>>
>>
>>
>> On Thursday 15 September 2016 04:26 PM, Przemyslaw Marczak wrote:
>>>
>>> Hello Keerthy,
>>>
>>> On 09/15/2016 10:54 AM, Keerthy wrote:
Currently the specif
Dear Tom,
Could you these patches on u-boot/master?
The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf:
Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-10-08
09:33:37 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-mmc.git
On 10/10/2016 03:56 PM, Bin Meng wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote:
>> Fix a cast that causes warnings on 64-bit machines.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/mmc/pci_mmc.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Reviewed-by:
Tom,
Please pull u-boot-tegra/master into U-Boot/master. Thanks!
All Tegra builds are OK, and Stephen's automated test system reports that
all tests pass.
The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf:
Merge branch 'master' of git://www.denx.de/git/u-boot-imx (20
On 10/05/2016 10:12 AM, Stefan Agner wrote:
On 2016-10-05 08:53, Stephen Warren wrote:
On 10/03/2016 02:27 PM, Stefan Agner wrote:
On 03.10.2016 10:28, Stephen Warren wrote:
On 09/30/2016 04:00 AM, Marcel Ziswiler wrote:
On Wed, 2016-09-28 at 12:00 -0600, Stephen Warren wrote:
On 09/28/2016
Add an sf sub-command named sr-protect which allows the status register
protection method to be changed.
Valid settings are software, hardware, power and otp.
Signed-off-by: George McCollister
---
cmd/sf.c | 28
1 file changed, 28 insertions(+)
diff --git a/cmd/sf.
Winbond parts such as W25Q64FV and Spansion parts such as S25FL128S
support two status register protection bits. Implement sr_protect for
Winbond and Spansion devices.
---
| SRP1 | SRP0 | Method | Description|
---
Many SPI NOR flash devices support status register protection through
one or two status register protection bits. Status register protection
enables protection of block protect and other bits from manipulation.
So far, four different status register protection methods have been
observed:
Softwar
STMICRO parts such as M25PX64 and SST parts such as SST26VF032B support
a single status register protect bit. When set this bit cause writes to
the status register to be blocked when the write protect signal is low.
Implement sr_protect for these devices.
Signed-off-by: George McCollister
---
d
Many SPI NOR flash devices support status register protection through
one or two status register protection bits. Protection of the status
register is essential in defending the device from rogue software which
may attempt to modify block protection bits in order to make malicious
modifications to
Spansion parts such as S25FL128S and Winbond parts such as W25Q64FV
support the block protection mechanism implemented as
stm_lock() and stm_unlock(). Use stm_lock() and stm_unlock() for
Spansion and Winbond devices.
Signed-off-by: George McCollister
---
drivers/mtd/spi/spi_flash.c | 11
On 2016-10-07, Kever Yang wrote:
> Add support for rk3288 dram capacity auto detect, support DDR3 and
> LPDDR3, DDR2 is not supported.
> The program will automatically detect:
> - channel number
> - rank number
> - column address number
> - row address number
>
> The dts file do not need to describ
On 09/23/2016 11:43 AM, Joe Hershberger wrote:
On Fri, Sep 23, 2016 at 11:31 AM, Stephen Warren wrote:
On 09/15/2016 01:20 PM, Joe Hershberger wrote:
On Thu, Sep 15, 2016 at 1:53 PM, Stephen Warren
wrote:
From: Stephen Warren
eth-uclass.c expects DM-capable Ethernet adapters to implement
Hi there
I disabled CONFIG_DM_PCI in menuconfig because I have problem detecting AHCI
SCSI controller on X86 board
with CONFIG_DM_PCI enabled and the older code in drivers/pci/pci.c works for me
in the previous U-boot version.
Then I got the build error :
u-boot/arch/x86/cpu/irq.c:29: undefined r
From: Stephen Warren
ARM CPUs can architecturally (speculatively) prefetch completely arbitrary
normal memory locations, as defined by the current translation tables. The
current MMU configuration for 64-bit Tegras maps an extremely large range
of addresses as DRAM, well beyond the actual physica
From: Dinh Nguyen
In order for SDRAM ECC to work correctly, the SDRAM needs to get zero'd which
enables the ECC bit. By using the PL330 DMA to fill the SDRAM with zeroes,
the operation is completed in ~1.2 seconds, versus ~14 seconds with a memset.
Signed-off-by: Dinh Nguyen
---
arch/arm/mach-
From: Dinh Nguyen
Add DMA_SUPPORTS_DEV_TO_MEM type to the DMA uclass.
Signed-off-by: Dinh Nguyen
---
drivers/dma/dma-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c
index ea21fd9..a021395 100644
--- a/drivers/dm
From: Dinh Nguyen
Adopted from the Linux kernel PL330 DMA driver.
Signed-off-by: Dinh Nguyen
---
arch/arm/include/asm/pl330.h | 105 +
drivers/dma/pl330.c | 942 +++
2 files changed, 1047 insertions(+)
create mode 100644 arch/arm/include/as
From: Dinh Nguyen
Add PL330_DMA entry.
Signed-off-by: Dinh Nguyen
---
drivers/dma/Kconfig | 4
drivers/dma/Makefile | 1 +
2 files changed, 5 insertions(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 1b92c77..d95f959 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kc
Hi,
This patchset adds the PL330 DMA driver to U-Boot. The SoCFPGA platform makes
use of the PL330 to transfer zereos to the SDRAM which enables the ECC bit.
This is only an RFC because after rebasing to v2016.11-rc1, I had to revert
the following patch "a78cd8613204 ARM: Rework and correct barri
1 - 100 of 134 matches
Mail list logo