Convert cfi flash to driver model.
Signed-off-by: Thomas Chou
---
v2
add dts binding.
add more help to Kconfig.
move struct platdata to top of file as Simon suggested.
v3
change to MTD uclass.
v4
fix fdt addr and size cells in cfi_flash_probe().
move probe uclass to cfi_flash_dm_init(
Use cfi flash driver model.
Signed-off-by: Thomas Chou
---
configs/nios2-generic_defconfig | 2 ++
include/configs/nios2-generic.h | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig
index e42a15e..0a6de6f 1006
Implement a Memory Technology Device (MTD) uclass. It should
include most flash drivers in the future. Though no uclass ops
are defined yet, the MTD ops could be used.
The NAND flash driver is based on MTD. The CFI flash and SPI
flash support MTD, too. It should make sense to convert them
to MTD u
On 6 November 2015 at 02:04, Bin Meng wrote:
> Move to driver model for ETH (e1000) on QEMU.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - Rebase on top of u-boot/master
> - New patch to convert to use driver model eth
>
> board/emulation/qemu-x86/Makefile | 2 +-
> board/emulati
Hi Thomas,
On 6 November 2015 at 05:25, Thomas Chou wrote:
> Hi Simon,
>
> On 2015年11月06日 20:06, Simon Glass wrote:
>>>
>>> diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
>>> index e3d3fc7..0ab6128 100644
>>> --- a/include/linux/mtd/mtd.h
>>> +++ b/include/linux/mtd/mtd.h
>>> @@ -
Hi Lin,
On 6 November 2015 at 01:53, Lin Huang wrote:
> add rk3036 sdram driver so we can set up sdram in SPL
>
> Signed-off-by: Lin Huang
> ---
> Changes in v1: None
> Changes in v2: None
> Changes in v3: fix some code style error
>
> arch/arm/include/asm/arch-rockchip/sdram_rk3036.h | 336 +++
On 30 October 2015 at 00:35, Thomas Chou wrote:
> Add a sandbox timer which get time from host os and a basic
> test.
>
> Signed-off-by: Thomas Chou
> Reviewed-by: Simon Glass
> ---
> v2
> split board_f.c to another patch as suggested by Simon.
> drop the penultimate comma in of_match ids.
>
Hi,
On 6 November 2015 at 08:40, 蔡枫(Eddie) wrote:
>
>
> Eddie
> 2015年11月6日 下午8:08于 Simon Glass 写道:
>>
>> Hi Lin,
>>
>> On 6 November 2015 at 01:53, Lin Huang wrote:
>> > show how to packet rk3036 uboot image and boot from SD
>> >
>> > Signed-off-by: Lin Huang
>> > ---
>> > doc/README.rockchip
Hi,
On 6 November 2015 at 10:23, Nishanth Menon wrote:
> On 11:10-20151106, Nishanth Menon wrote:
>> On 11/05/2015 10:50 PM, Masahiro Yamada wrote:
>> > 2015-11-06 12:30 GMT+09:00 Nishanth Menon :
>> >> On Thu, Nov 5, 2015 at 6:15 PM, Simon Glass wrote:
>>
On 5 November 2015 at 20:08, Thomas Chou wrote:
> Hi Simon,
>
>
> On 2015年11月06日 11:15, Simon Glass wrote:
>>
>> On 30 October 2015 at 01:35, Thomas Chou wrote:
>>>
>>> As mark_bootstage() uses timer, it should go after driver model
>>> is initialized.
>>>
>>> Signed-off-by: Thomas Chou
>>> Revi
On 6 November 2015 at 06:28, Bin Meng wrote:
> Hi Simon,
>
> On Fri, Nov 6, 2015 at 8:08 PM, Simon Glass wrote:
>> Hi Bin,
>>
>> On 5 November 2015 at 06:02, Bin Meng wrote:
>>> Convert all x86 boards to use driver model tsc timer.
>>>
>>> Signed-off-by: Bin Meng
>>> ---
>>>
>>> arch/x86/cpu/b
On 6 November 2015 at 05:15, Daniel Schwierzeck
wrote:
> Building with gcc-5.2 raises this warning:
>
> drivers/misc/cros_ec_sandbox.c: In function cros_ec_sandbox_packet:
> drivers/misc/cros_ec_sandbox.c:483:5: warning: len may be used uninitialized
> in this function [-Wmaybe-uninitialized]
>
Hi Thomas,
On 5 November 2015 at 20:34, Thomas Chou wrote:
> Hi Simon,
>
> On 2015年11月06日 11:15, Simon Glass wrote:
>>>
>>> +config CFI_FLASH
>>> + bool "Enable Driver Model for CFI Flash driver"
>>> + depends on MTD
>>> + help
>>> + The Common Flash Interface specificat
On 6 November 2015 at 02:04, Bin Meng wrote:
> CONFIG_SYS_EARLY_PCI_INIT is not needed any more since with driver
> model, PCI enumeration is automatically triggered.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2: None
>
> include/configs/bayleybay.h | 1 -
> include/configs/crownba
On 6 November 2015 at 02:04, Bin Meng wrote:
> Move to driver model for USB on QEMU.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2: None
>
> configs/qemu-x86_defconfig | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Simon Glass
___
U-Boot
On 6 November 2015 at 02:04, Bin Meng wrote:
> Now that we have converted all x86 boards to use driver model pci,
> remove these legacy pci codes.
>
> Signed-off-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/pci.c| 45
> ---
> ar
On 6 November 2015 at 02:04, Bin Meng wrote:
> These are leftover when converted to use driver model pci.
>
> Signed-off-by: Bin Meng
> ---
>
> Changes in v2: None
>
> include/configs/crownbay.h | 12
> 1 file changed, 12 deletions(-)
Acked-by: Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote:
> Move to driver model for pci on QEMU.
>
> Signed-off-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/qemu/Makefile | 1 -
> arch/x86/cpu/qemu/pci.c| 49
> --
> configs/qemu-x86_defconfig
On 6 November 2015 at 02:04, Bin Meng wrote:
> Move chipset-specific codes such as PAM init, PCIe ECAM and MP table
> from pci.c to qemu.c, to prepare for DM PCI conversion.
>
> Signed-off-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/qemu/pci.c| 72
On Fri, Nov 06, 2015 at 08:43:37PM -0200, Fabio Estevam wrote:
> On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling wrote:
> > So I added the following lines to my board_phy_config function and the
> > problem
> > seems to be fixed:
It appears that I spoke to soon. Occassionally the autonegiotation
On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling wrote:
> So I added the following lines to my board_phy_config function and the problem
> seems to be fixed:
> .
> .
> ctl = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMCR);
> if (ctl & BMCR_PDOWN) {
> ctl &= ~BMCR_PDOWN;
Hi Bin,
On 2015年11月06日 22:35, Bin Meng wrote:
Hi Thomas,
On Fri, Nov 6, 2015 at 3:14 PM, Thomas Chou wrote:
Hi Bin,
On 2015年11月05日 22:02, Bin Meng wrote:
There are timers with a 64-bit counter value but current timer
uclass driver assumes a 32-bit one. Introduce a device tree
property "cou
Albert,
I am trying to separate secure memory and non-secure memory for ARMv8. Before I
go too far, I'd like to check with you to see if there is already some code
implemented.
Basically what I am trying to do is to mark most DDR memory non-secure because
we have some non-secure masters such as S
On Fri, Nov 06, 2015 at 07:22:00PM -0200, Fabio Estevam wrote:
> On Fri, Nov 6, 2015 at 6:22 PM, Michael Welling wrote:
> > Lets try this again with list membership.
> >
> > I have run into an issue with a KSZ9031 Gigabit Ethernet PHY on an IMX6
> > module.
> >
> > After booting into Linux and re
On Fri, Nov 06, 2015 at 07:22:00PM -0200, Fabio Estevam wrote:
> On Fri, Nov 6, 2015 at 6:22 PM, Michael Welling wrote:
> > Lets try this again with list membership.
> >
> > I have run into an issue with a KSZ9031 Gigabit Ethernet PHY on an IMX6
> > module.
> >
> > After booting into Linux and re
On Fri, Nov 6, 2015 at 6:22 PM, Michael Welling wrote:
> Lets try this again with list membership.
>
> I have run into an issue with a KSZ9031 Gigabit Ethernet PHY on an IMX6
> module.
>
> After booting into Linux and rebooting the ethernet fails consistently.
>
> With a bit of investigation I fo
Eddie
2015年11月6日 下午8:08于 Simon Glass 写道:
>
> Hi Lin,
>
> On 6 November 2015 at 01:53, Lin Huang wrote:
> > show how to packet rk3036 uboot image and boot from SD
> >
> > Signed-off-by: Lin Huang
> > ---
> > doc/README.rockchip | 7 +++
> > 1 file changed, 7 insertions(+)
> >
> > d
Lets try this again with list membership.
I have run into an issue with a KSZ9031 Gigabit Ethernet PHY on an IMX6 module.
After booting into Linux and rebooting the ethernet fails consistently.
With a bit of investigation I found that the power-down bit in the PHY control
register is being set o
Jagan,
> -Original Message-
> From: Jagan Teki [mailto:jt...@openedev.com]
> Sent: Friday, November 06, 2015 11:34 AM
> To: Tom Warren
> Cc: u-boot@lists.denx.de; Stephen Warren ;
> tomcwarren3...@gmail.com
> Subject: Re: [U-Boot] [PATCH v5] Tegra: T210: Add QSPI driver
>
> On 6 November
On 10/26/2015 04:47 AM, Gong Qianyu wrote:
> From: Mingkai Hu
>
> LS1043ARDB Specification:
> -
> Memory subsystem:
> * 2GByte DDR4 SDRAM (32bit bus)
> * 128 Mbyte NOR flash single-chip memory
> * 512 Mbyte NAND flash
> * 16 Mbyte high-speed SPI flash
> * SD connect
On 6 November 2015 at 23:08, Tom Warren wrote:
> Jagan,
>
>> -Original Message-
>> From: Jagan Teki [mailto:jt...@openedev.com]
>> Sent: Friday, November 06, 2015 9:40 AM
>> To: Tom Warren
>> Cc: u-boot@lists.denx.de; Stephen Warren ;
>> tomcwarren3...@gmail.com
>> Subject: Re: [U-Boot] [
On 11:10-20151106, Nishanth Menon wrote:
> On 11/05/2015 10:50 PM, Masahiro Yamada wrote:
> > 2015-11-06 12:30 GMT+09:00 Nishanth Menon :
> >> On Thu, Nov 5, 2015 at 6:15 PM, Simon Glass wrote:
> >>> Hi,
> >>>
> >>> On 5 November 2015 at 00:32
BIST test code has a typo, resulting the binding registers not
maintained as expected. This typo results BIST runs twice on
the covered memory.
Signed-off-by: York Sun
Reported-by: Shengzhou Liu
---
drivers/ddr/fsl/fsl_ddr_gen4.c | 24
1 file changed, 12 insertions(+
Jagan,
> -Original Message-
> From: Jagan Teki [mailto:jt...@openedev.com]
> Sent: Friday, November 06, 2015 9:40 AM
> To: Tom Warren
> Cc: u-boot@lists.denx.de; Stephen Warren ;
> tomcwarren3...@gmail.com
> Subject: Re: [U-Boot] [PATCH v5] Tegra: T210: Add QSPI driver
>
> On 6 November
On 11/06/2015 04:06 AM, Simon Glass wrote:
> Hi York,
>
> On 29 October 2015 at 11:21, York Sun wrote:
>>
>>
>> On 10/29/2015 10:16 AM, Simon Glass wrote:
>>> Hi York,
>>>
>>> On 19 October 2015 at 11:30, York Sun wrote:
On 10/18/2015 04:15 PM, Simon Glass wrote:
> Hi,
>
On 11/05/2015 10:50 PM, Masahiro Yamada wrote:
> 2015-11-06 12:30 GMT+09:00 Nishanth Menon :
>> On Thu, Nov 5, 2015 at 6:15 PM, Simon Glass wrote:
>>> Hi,
>>>
>>> On 5 November 2015 at 00:32, Nishanth Menon wrote:
On 11/05/2015 01:28 AM, Nishanth Menon wrote:
> When the vendor common lib
On Fri, 2015-11-06 at 16:52 +0530, Siva Durga Prasad Paladugu wrote:
> Add nand driver support for zynqmp. The Nand
> controller used in ZynqMP is Arasan Nand Flash
> controller.
>
> Signed-off-by: Siva Durga Prasad Paladugu
> ---
> Changes from v1:
> - Newly added in series
> ---
> arch/arm/cpu
On 6 November 2015 at 22:01, Tom Warren wrote:
> Jagan,
>
> Ping!
>
>> -Original Message-
>> From: Tom Warren
>> Sent: Thursday, October 29, 2015 12:33 PM
>> To: 'Jagan Teki'
>> Cc: u-boot@lists.denx.de; Stephen Warren ;
>> tomcwarren3...@gmail.com; Yen Lin
>> Subject: RE: [U-Boot] [PATC
Albert,
Ping!
> -Original Message-
> From: Tom Warren
> Sent: Tuesday, November 03, 2015 12:19 PM
> To: 'Albert ARIBAUD' ; 'Stephen Warren'
> ; Tom Rini (tr...@konsulko.com)
>
> Cc: 'u-boot@lists.denx.de' ; 'Simon Glass'
> ; Stephen Warren ; Thierry Reding
> ; 'York Sun' ; 'Michal Simek'
Jagan,
Ping!
> -Original Message-
> From: Tom Warren
> Sent: Thursday, October 29, 2015 12:33 PM
> To: 'Jagan Teki'
> Cc: u-boot@lists.denx.de; Stephen Warren ;
> tomcwarren3...@gmail.com; Yen Lin
> Subject: RE: [U-Boot] [PATCH v5] Tegra: T210: Add QSPI driver
>
> Jagan,
>
> > -Or
Hi Simon,
Am Freitag, 6. November 2015, 04:08:51 schrieb Simon Glass:
> Hi Lin,
>
> On 6 November 2015 at 01:53, Lin Huang wrote:
> > add rk3036 sdram driver so we can set up sdram in SPL
> >
> > Signed-off-by: Lin Huang
> > ---
> > Changes in v1: None
> > Changes in v2: None
> > Changes in v3:
2015-11-06 22:46 GMT+09:00 Tom Rini :
> On Fri, Nov 06, 2015 at 10:16:30PM +0900, Masahiro Yamada wrote:
>
>> The latest Linux can directly handle SMP operations for UniPhier SoCs
>> without any help of U-boot. Drop the relevant code from U-boot.
>>
>> See commit b1e4006aeda8c8784029de17d47987c21e
On 11/06/2015 05:19 AM, Stefan Roese wrote:
+Stephan Warren & Thomas Chou
On 06.11.2015 13:08, Simon Glass wrote:
+Stefan
Hi Mugunthan,
On 4 November 2015 at 07:25, Mugunthan V N wrote:
Based on the OF_TRANSLATE Kconfig description, this is required
only on platforms with complex "ranges" i
On Friday, November 06, 2015 at 08:00:01 AM, maitysancha...@gmail.com wrote:
> On 15-10-30 14:20:29, Marek Vasut wrote:
> > On Friday, October 30, 2015 at 01:26:59 PM, Sanchayan Maity wrote:
> > > Add board_usb_phy_mode function for detecting whether a port is
> > > being used as host or client usi
Hi Thomas,
On Fri, Nov 6, 2015 at 3:14 PM, Thomas Chou wrote:
> Hi Bin,
>
> On 2015年11月05日 22:02, Bin Meng wrote:
>>
>> There are timers with a 64-bit counter value but current timer
>> uclass driver assumes a 32-bit one. Introduce a device tree
>> property "counter-64bit", and modify timer_get_c
On Friday, November 06, 2015 at 09:11:20 AM, Jagan Teki wrote:
[...]
> >> all these are spi-nor controller which doesn't do any generic spi
> >> things but should be in spi-nor subsystem. Even Marek send altera_qspi
> >> as spi-nor controller [1]
> >
> > This is because that thing communicates l
On Friday, November 06, 2015 at 10:28:31 AM, Gregory CLEMENT wrote:
> Hi Marek,
>
> On jeu., nov. 05 2015, Marek Vasut wrote:
> > On Thursday, November 05, 2015 at 08:58:30 PM, Gregory CLEMENT wrote:
> >> Timing issue occurs on eMMC not only when modifying the frequency but
> >> also for all the
Hi Simon,
On Fri, Nov 6, 2015 at 8:08 PM, Simon Glass wrote:
> Hi Bin,
>
> On 5 November 2015 at 06:02, Bin Meng wrote:
>> Convert all x86 boards to use driver model tsc timer.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/cpu/baytrail/valleyview.c | 3 ---
>> arch/x86/cpu/coreboot/tim
On Fri, Nov 06, 2015 at 10:16:30PM +0900, Masahiro Yamada wrote:
> The latest Linux can directly handle SMP operations for UniPhier SoCs
> without any help of U-boot. Drop the relevant code from U-boot.
>
> See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
> rework SMP operati
Hi Simon,
On 2015年11月06日 20:06, Simon Glass wrote:
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index e3d3fc7..0ab6128 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -18,6 +18,7 @@
#include
#else
+#include
I'm not keen on adding this header here.
Hi Jagan,
On 2015年11月06日 19:48, Jagan Teki wrote:
My intention is not to hold this, but once spi-nor is ready will you
able to move it from here?
Sure, I will look at the new spi-nor interface then. And I will think
again if it is good to move. Thanks a lot for your help.
Best regards,
Thom
The latest Linux can directly handle SMP operations for UniPhier SoCs
without any help of U-boot. Drop the relevant code from U-boot.
See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
rework SMP operations to use trampoline code") in Linux Kernel.
Signed-off-by: Masahiro Yamad
Building with gcc-5.2 raises this warning:
drivers/misc/cros_ec_sandbox.c: In function cros_ec_sandbox_packet:
drivers/misc/cros_ec_sandbox.c:483:5: warning: len may be used uninitialized in
this function [-Wmaybe-uninitialized]
if (len < 0)
^
If the function process_cmd() is called with
Hi Tom,
please pull the MIPS bootm fixes, thanks.
The following changes since commit ed02c532be690b3d0c3e15c81531785a788fd949:
Merge branch 'master' of git://git.denx.de/u-boot-video (2015-11-05 07:47:21
-0500)
are available in the git repository at:
git://git.denx.de/u-boot-mips.git mas
A number of headers define functions as "extern inline" which is
causing problems with gcc5. The reason is that starting with
version 5.1, gcc defaults to the standard C99 semantics for the
inline keyword.
Under the traditional GNU inline semantics, an "extern inline"
function would never create
Nathan Rossi writes:
> 'extern inline' is not portable across various C standards. To ensure
> compatiblity with various standards/compilers change the functions to
> static inline. This is a portable construct and serves as a comparable
> definition to 'extern inline' from the gnu90 standard.
>
On Thu, Nov 05, 2015 at 12:43:42PM -0200, Fabio Estevam wrote:
> Many SPI flashes have protection bits (BP2, BP1 and BP0) in the
> status register that can protect selected regions of the SPI NOR.
>
> Take these bits into account when performing erase operations,
> making sure that the protected
On Thu, Nov 05, 2015 at 12:43:41PM -0200, Fabio Estevam wrote:
> Add the SPI NOR protection mechanism from the kernel.
>
> This code is based on the work from
> Brian Norris
> Here is the commit details:
> "mtd: spi-nor: refactor block protection functions"
> (sha1: 62593cf40b23b523b9fc9334ca61b
On Thu, Nov 05, 2015 at 12:43:39PM -0200, Fabio Estevam wrote:
> Use the is_power_of_2() definition from log2.h to align with the
> kernel implementation.
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
With the minor fixup tha
On Thu, Nov 05, 2015 at 12:43:40PM -0200, Fabio Estevam wrote:
> Remove __ilog2_u64 and ffs4 from powerpc bitops to align with the
> kernel implementation.
>
> Use the generic __ffs64 instead of a custom powerpc implementation.
>
> Cc: York Sun
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom
On Thu, Nov 05, 2015 at 12:43:36PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Nov 05, 2015 at 12:43:38PM -0200, Fabio Estevam wrote:
> Add fls_long and __ffs64 support to align with the kernel bitops
> implementation.
>
> Signed-off-by: Fabio Estevam
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Nov 05, 2015 at 12:43:37PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Nov 05, 2015 at 12:43:34PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Acked-by: Thomas Chou
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
Tom
signa
On Thu, Nov 05, 2015 at 12:43:35PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Daniel Schwierzeck
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descript
On Thu, Nov 05, 2015 at 12:43:32PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Dig
On Thu, Nov 05, 2015 at 12:43:33PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Dig
On Thu, Nov 05, 2015 at 12:43:30PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
Applied to u-boot/m
On Thu, Nov 05, 2015 at 12:43:31PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Dig
On Thu, Nov 05, 2015 at 12:43:29PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Thu, Nov 05, 2015 at 12:43:28PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
Applied to u-boot/master, thanks!
--
Tom
s
On Thu, Nov 05, 2015 at 12:43:27PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
Applied to u-boot/m
On Thu, Nov 05, 2015 at 12:43:25PM -0200, Fabio Estevam wrote:
> Use the generic bitops and also add custom __ffs() implementation
> as per the kernel.
>
> Also align the ffs() implementation with the kernel.
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schoche
On Thu, Nov 05, 2015 at 12:43:26PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
Applied to u-boot/m
On Thu, Nov 05, 2015 at 12:43:22PM -0200, Fabio Estevam wrote:
> Use the log2 header files from the kernel.
>
> Imported from kernel 4.2.3.
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
On Thu, Nov 05, 2015 at 12:43:24PM -0200, Fabio Estevam wrote:
> The generic bitops headers are required when calling logarithmic
> functions, such as ilog2().
>
> Signed-off-by: Fabio Estevam
> Reviewed-by: Tom Rini
> Reviewed-by: Heiko Schocher
> Reviewed-by: Jagan Teki
Applied to u-boot/m
On Thu, Nov 05, 2015 at 12:43:23PM -0200, Fabio Estevam wrote:
> Use the generic bitops header files from the kernel.
>
> Imported from kernel 4.2.3.
>
> Signed-off-by: Fabio Estevam
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
_
+Stephan Warren & Thomas Chou
On 06.11.2015 13:08, Simon Glass wrote:
+Stefan
Hi Mugunthan,
On 4 November 2015 at 07:25, Mugunthan V N wrote:
Based on the OF_TRANSLATE Kconfig description, this is required
only on platforms with complex "ranges" in the DT nodes. For
simpler platforms using S
Otavio Salvador writes:
> Hello,
>
> At Yocto Project I sent the upgrade for the 2015.10 release, of
> U-Boot, however it is failing badly:
>
> http://errors.yoctoproject.org/Errors/Details/21468/
>
> Does someone has any idea how to fix it?
The problem is the use of "extern inline" function def
Added initial nand driver support for arasan nand flash
controller.This supports nand erase,nand read, nand write
This uses the hardware ECC for read and write operations
ZynqMP uses this driver.
Signed-off-by: Siva Durga Prasad Paladugu
---
Changes from v1:
- Made some variables global to files
Add nand driver support for zynqmp. The Nand
controller used in ZynqMP is Arasan Nand Flash
controller.
Signed-off-by: Siva Durga Prasad Paladugu
---
Changes from v1:
- Newly added in series
---
arch/arm/cpu/armv8/zynqmp/Kconfig | 3 +++
arch/arm/include/asm/arch-zynqmp/hardware.h | 2
Hi Sjoerd
2015-11-06 17:11 GMT+08:00 Sjoerd Simons :
> On Wed, 2015-11-04 at 20:53 +0800, Lin Huang wrote:
> > rk3036 only 4K size SRAM for SPL, so only support
> > timer, uart, sdram driver in SPL stage, when finish
> > initial sdram, back to bootrom.
> >
> > Signed-off-by: Lin Huang
> >
> >
>
'extern inline' is not portable across various C standards. To ensure
compatiblity with various standards/compilers change the functions to
static inline. This is a portable construct and serves as a comparable
definition to 'extern inline' from the gnu90 standard.
Additionally remove the function
Fix various style issues in MicroBlaze header files. Specifically fixing
style voilations including '__inline__', 'foo * bar' and 'void foo ('.
Signed-off-by: Nathan Rossi
Cc: Michal Simek
Cc: Tom Rini
---
arch/microblaze/include/asm/bitops.h | 66 ++--
arch/mic
Hi all,I have been using u-boot 2014.10 for a while on my beaglebone black with
two features I added.1. boot from a FAT file system on mmc partition.2. output
the MMC interface (0 or 1) just booted from.
Today I downloaded the version 2015.10 and modified it with the same features,
and it works.
I have run into an issue with a KSZ9031 Gigabit Ethernet PHY on an IMX6 module.
After booting into Linux and rebooting the ethernet fails consistently.
With a bit of investigation I found that the power-down bit in the PHY control
register is being set on reboot.
=> dhcp
BOOTP broadcast 1
BOOTP
This patch series fixes some issues with some MicroBlaze functions and
declarations that are not compatible with newer C standards (e.g. C99) this
includes the default C standard set by the GCC 5.x compiler (which is gnu11 by
default).
This series is split into two patches, the first patch being s
My u-boot version is 2015.10. I failed when I try to find a way to compile
u-boot-spl.
I've add the following configurations in configs/smdk2410_defconfig:
CONFIG_SPL=y
CONFIG_SPL_BUILD=y
CONFIG_FRAMEWORK=y
but the compiler doesn't recognize it. When I make the project, it still only
c
On 11/06/2015 04:15 AM, Simon Glass wrote:
> On 30 October 2015 at 08:56, Michal Simek wrote:
>> It is follow up patch based on
>> "dm: Add support for all targets which requires MANUAL_RELOC"
>> (sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
>> to update function pointers for DM.
>>
>> Using po
Hi Lin,
On 6 November 2015 at 01:53, Lin Huang wrote:
> show how to packet rk3036 uboot image and boot from SD
>
> Signed-off-by: Lin Huang
> ---
> doc/README.rockchip | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git a/doc/README.rockchip b/doc/README.rockchip
> index 87ce9d2..893f
Hi Lin,
On 6 November 2015 at 01:53, Lin Huang wrote:
> add rk3036 sdram driver so we can set up sdram in SPL
>
> Signed-off-by: Lin Huang
> ---
> Changes in v1: None
> Changes in v2: None
> Changes in v3: fix some code style error
>
> arch/arm/include/asm/arch-rockchip/sdram_rk3036.h | 336 +++
On 6 November 2015 at 01:53, Lin Huang wrote:
> some rockchip soc will not include lib/timer.c in SPL stage,
> so implement timer driver for some soc can use us delay function in SPL.
>
> Signed-off-by: Lin Huang
> ---
> Changes in v1: None
> Changes in v2:
> - add udelay function
> Changes in v3
On 5 November 2015 at 06:02, Bin Meng wrote:
> Now that we have converted all x86 boards to use driver model timer,
> remove these legacy timer codes in the tsc driver.
>
> Note this also removes the TSC_CALIBRATION_BYPASS Kconfig option,
> as it is not needed with driver model.
>
> Signed-off-by:
On 5 November 2015 at 06:02, Bin Meng wrote:
> To group all dm timer drivers together, move tsc timer to
> drivers/timer directory.
>
> Signed-off-by: Bin Meng
>
> ---
>
> arch/x86/lib/Makefile | 1 -
> drivers/timer/Kconfig | 7 +++
> drivers/time
Hi,
On 6 November 2015 at 01:33, Lin Huang wrote:
> since different rockchip SOC have different size of SRAM,
> So the size SYS_MALLOC_F_LEN may different, so move this
> config to rk3288 own Kconfig
>
> Signed-off-by: Lin Huang
> ---
> Changes in v1: None
> Changes in v2: None
> Changes in v3:
Hi Bin,
On 5 November 2015 at 06:02, Bin Meng wrote:
> Convert all x86 boards to use driver model tsc timer.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/cpu/baytrail/valleyview.c | 3 ---
> arch/x86/cpu/coreboot/timestamp.c | 22 --
> arch/x86/cpu/efi/efi.c
On 5 November 2015 at 07:02, Bin Meng wrote:
> Replace __attribute__((no_instrument_function)) with notrace from
> .
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/lib/tsc_timer.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Simon Glass
__
On 5 November 2015 at 07:02, Bin Meng wrote:
> This adds driver model timer support to x86 tsc timer driver.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/lib/tsc_timer.c | 65
>
> 1 file changed, 65 insertions(+)
Acked-by: Simon Glass
___
On 5 November 2015 at 07:02, Bin Meng wrote:
> This is not referenced anywhere. Remove it, as well as
> tsc_base_kclocks and tsc_prev in the global data.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/x86/cpu/cpu.c | 18 --
> arch/x86/include/asm/global_data.h | 2 --
On 6 November 2015 at 00:01, Thomas Chou wrote:
> Hi Bin,
>
>
> On 2015年11月05日 22:02, Bin Meng wrote:
>>
>> Since we have timer uclass to get clock frequency for us, remove
>> the custom version in the altera timer driver.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> drivers/timer/altera_timer.c
1 - 100 of 194 matches
Mail list logo