[U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2015-12-13 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Please note, that this board setup files need the function mxs_power_switch_dcdc_clocksource() as introduced in my patch "ARM: mxs: allow boards to select DC-DC switching clock source" Changes in v2: - added autoboot stuff - reworked

[U-Boot] how to specify a URL to keep up with u-boot git repo files?

2015-12-13 Thread Robert P. J. Day
trivial gitweb(?) question -- given the gitweb interface to the u-boot source code here: http://git.denx.de/?p=u-boot.git;a=summary i want to write some u-boot tutorial pages for my wiki that link to various files and directories in the source, and i want those links to track the master

[U-Boot] [PATCH v3] ARM: mxs: allow boards to select DC-DC switching clock source

2015-12-13 Thread Michael Heimpold
For some board designs, it might be useful to switch the DC-DC clock source to something else rather the default 24 MHz, e.g. for EMI reasons. For this, override the mxs_power_setup_dcdc_clocksource function in your board support files. Example: void mxs_power_setup_dcdc_clocksource(void) {

Re: [U-Boot] help - u-boot on powerpc qemu

2015-12-13 Thread Miao Yan
2015-12-13 20:29 GMT+08:00 吴红青 : > hello,i am using u-boot on powerpc qemu,my u-boot version is > u-boot-2016.01-rc2,i make uboot as below: > > cd u-boot-2016.01-rc2 > make clean > make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- qemu-ppce500_defconfig > make ARCH=powerpc

Re: [U-Boot] [PATCH 6/7] mmc: mmc: Don't use sprintf when using tiny-printf

2015-12-13 Thread Simon Glass
Applied to u-boot-rockchip, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/7] lib: split out strtoxxxx functions out of vsprintf.c

2015-12-13 Thread Simon Glass
Applied to u-boot-rockchip, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/26] dm: pci: Add a dm_ prefix to pci_get_bdf()

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 01/26] dm: pci: Mark legacy files as such

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 7/7] rockchip: firefly: Use tiny-printf

2015-12-13 Thread Simon Glass
Applied to u-boot-rockchip, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/26] dm: pci: scsi: Use driver-model PCI API

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 07/26] dm: pci: Add a driver-model version of pci_find_class()

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 04/26] dm: pci: Use driver model PCI API in auto-config

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 05/26] dm: pci: Add a driver-model version of pci_find_device()

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 03/26] dm: pci: Add a dm_ prefix to pci_bus_find_bdf()

2015-12-13 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-12-13 Thread York Sun
Shaohui, Please comment/confirm. York On 12/09/2015 10:25 PM, 李远正 wrote: > The value TBIANA_SETTINGS is also work on the p2041rdb board, so it can work > on the both phy and phyless connections. > > > > At 2015-11-26 12:17:42, "Shaohui Xie" wrote: >>>

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-13 Thread Chin Liang See
On Sun, 2015-12-13 at 04:14 +0100, Marek Vasut wrote: > On Sunday, December 13, 2015 at 01:49:06 AM, Chin Liang See wrote: > > On Sun, 2015-12-13 at 01:01 +0100, Marek Vasut wrote: > > > On Sunday, December 13, 2015 at 12:59:48 AM, Chin Liang See > > > wrote: > > > > On Sat, 2015-12-12 at 16:36

Re: [U-Boot] [PATCH 57/57] x86: fdt: Drop the unused compatible strings in fdtdec

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > We have drivers for several more devices now, so drop the strings which are > no-longer used. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 56/57] x86: ivybridge: Use syscon for the GMA device

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Until we have a proper video uclass we can use syscon to handle the GMA > device, and avoid the special device tree and PCI searching. Update the code > to work this way. > > Signed-off-by: Simon Glass >

Re: [U-Boot] [PATCH 42/57] x86: ivybridge: Use the I2C driver to perform SMbus init

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Move the init code into the I2C driver. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 44/57] x86: ivybridge: Convert dram_init() to use DM PCI API

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert the top part of the DRAM init to use the driver model PCI API. > Further work will complete the transformation. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 41/57] x86: i2c: Add a stub driver for Intel I2C/SMbus

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > This is used on most Intel platforms. We don't have a driver for it yet, but > add a stub to handle the init. For now this targets ivybridge so we may want > to add a device tree binding and generalise it when other

Re: [U-Boot] [PATCH 43/57] x86: ivybridge: Convert enable_usb_bar() to use DM PCI API

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert this function over to use the driver model PCI API. In this case > we want to avoid using the real PCI devices since they have not yet been > probed. Instead, write directly to their PCI configuration

Re: [U-Boot] [PATCH 46/57] x86: chromebook_link: Enable the syscon uclass

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > We will use a system controller to model the Intel Management Engine. Enable > this for link. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 45/57] x86: ivybridge: Convert sdram_initialise() to use DM PCI API

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert this function to use the the driver model PCI API. We just need > to pass in the northbridge device. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 20/57] x86: ivybridge: Move CPU init code into the driver

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Use the CPU driver's probe() method to perform the CPU init. This will happen > automatically when the first CPU is probed. > > Signed-off-by: Simon Glass > --- Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 21/57] x86: ivybridge: Set up the thermal target correctly

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This uses a non-existent node at present. It should use the first CPU node. > The referenced property does not exist (the correct value is the default of > 0), but this allows the follow-on init to complete. > >

Re: [U-Boot] [PATCH 17/57] x86: ivybridge: Move sandybridge init to the lpc init() method

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > The watchdog can be reset later in the LPC init() call. Move it. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot

Re: [U-Boot] [PATCH 14/57] x86: ivybridge: Rename lpc_init() to lpc_init_extra()

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > In preparation for adding an init() method to the LPC uclass, rename this > existing function so that it will not conflict. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 19/57] x86: ivybridge: Use common CPU init code

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > The existing ivybridge code predates the normal multi-core CPU init, and > it is not used. Remove it and add CPU nodes to the device tree so that all > four CPUs are set up. Also enable the 'cpu' command. > > Signed-off-by:

Re: [U-Boot] [PATCH 16/57] x86: ivybridge: Move graphics init much later

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > We don't need to init the graphics controller so early. Move it alongside > the other graphics setup, just before we run the ROM. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 15/57] x86: ivybridge: Add an init() method for the bd82x6x LPC

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add an empty method for now. We will add more to it in future patches. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/cpu.c | 11 ++- > arch/x86/cpu/ivybridge/lpc.c |

Re: [U-Boot] [PATCH 18/57] x86: ivybridge: Move GPIO init to the LPC init() method

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This init can happen in the driver also. Move it. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 12/57] x86: ivybridge: Move northbridge init into the probe() method

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Now that we have a proper driver for the nortbridge, set it up in by probing > it, and move the early init code into the probe() method. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 13/57] x86: ivybridge: Move LPC and PCH init into northbridge probe()

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Move more code into the northbridge probe() function. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 11/57] x86: ivybridge: Add a driver for the bd82x6x northbridge

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add a driver with an empty probe function where we can move init code in > follow-on patches. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 52/57] x86: ivybridge: Convert EHCI init to use the DM PCI API

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert this code over to use the driver model PCI API. The easiest way to > do this is to iterate through the valid USB devices in the device tree. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 51/57] x86: ivybridge: Sort out the calls to bridge_silicon_revision()

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > This function is called all over the place. Convert it use the driver model > PCI API, and rationalise the calls. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/gma.c

Re: [U-Boot] [PATCH 47/57] x86: ivybridge: Convert SDRAM init to use driver model

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > SDRAM init needs access to the Northbridge controller and the Intel > Management Engine device. Add the latter to the device tree and convert all > of this code to driver model. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 48/57] x86: ivybridge: Convert report_platform to DM PCI API

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert these functions to use the driver model PCI API. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing

Re: [U-Boot] [PATCH 49/57] x86: ivybridge: Convert pch.c to use DM PCI API

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Convert this file to use the driver model PCI API. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 54/57] x86: ivybridge: Drop the SMM-locking code

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > U-Boot does not support SMM yet, so we can drop this code. It is easy to > bring back when needed. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 55/57] x86: Set up a shared syscon numbering schema

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > Each system controller can have a number to identify it. It can then be > accessed using syscon_get_by_driver_data(). Put this in a shared header > file and update the only current user. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 53/57] x86: ivybridge: Drop XHCI support

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > This is not used on link which is the only ivybridge board. Drop this code. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 50/57] x86: ivybridge: Move code from pch.c to bd82x6x.c

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: > This code relates to the PCH, so we should move it into the same file. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-13 Thread Robert P. J. Day
On Thu, 10 Dec 2015, Fabio Estevam wrote: > On Thu, Dec 10, 2015 at 6:19 PM, Robert P. J. Day > wrote: > > > well, the contract i'm working on will be using it for porting > > linux to a *lot* of older platforms so, technically, i'm that > > user. :-) > > What I meant

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 02:03:02 PM, Chin Liang See wrote: > On Sun, 2015-12-13 at 04:14 +0100, Marek Vasut wrote: > > On Sunday, December 13, 2015 at 01:49:06 AM, Chin Liang See wrote: > > > On Sun, 2015-12-13 at 01:01 +0100, Marek Vasut wrote: > > > > On Sunday, December 13, 2015 at

Re: [U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 01:38:41 PM, Mateusz Kulikowski wrote: > Hi, > > Thanks for quick review; > > On 11.12.2015 00:22, Marek Vasut wrote: > > On Thursday, December 10, 2015 at 10:41:41 PM, Mateusz Kulikowski wrote: > [...] > > >> + > >> +#ifndef CONFIG_USB_ULPI_VIEWPORT > >> +#error

Re: [U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 12:09:58 PM, Michael Heimpold wrote: Commit message describing the board would be real nice. > Signed-off-by: Michael Heimpold > --- > > Please note, that this board setup files need the function > mxs_power_switch_dcdc_clocksource() as

Re: [U-Boot] [PATCH v3] ARM: mxs: allow boards to select DC-DC switching clock source

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 12:08:37 PM, Michael Heimpold wrote: > For some board designs, it might be useful to switch the DC-DC > clock source to something else rather the default 24 MHz, e.g. > for EMI reasons. > > For this, override the mxs_power_setup_dcdc_clocksource function > in your

Re: [U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-13 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Thanks for quick review; On 11.12.2015 00:22, Marek Vasut wrote: > On Thursday, December 10, 2015 at 10:41:41 PM, Mateusz Kulikowski wrote: [...] >> + >> +#ifndef CONFIG_USB_ULPI_VIEWPORT >> +#error Please enable CONFIG_USB_ULPI_VIEWPORT >>

Re: [U-Boot] [PATCH 29/57] x86: ivybridge: Use driver model PCI API in bd82x6x.c

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Adjust most of the remaining functions in this file to use the driver model > PCI API. The one remaining function is bridge_silicon_revision() which will > need a little more work. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 32/57] x86: ivybridge: Do the SATA init before relocation

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > The SATA device needs to set itself up so that it appears correctly on the > PCI bus. The easiest way to do this is to set it up to probe before > relocation. This can do the early setup. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 28/57] x86: ivybridge: Use driver model PCI API in bd82x6x_pci_init()

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Adjust bd82x6x_pci_init() to use the driver model PCI API. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing

Re: [U-Boot] [PATCH 30/57] x86: ivybridge: Move northbridge setup to the northbridge driver

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This init can be done in the northbridge's probe() method. Move it. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/northbridge.c | 17 + >

Re: [U-Boot] [PATCH 23/57] x86: ivybridge: Move early init code into northbridge.c

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This code is now part of the northbridge driver, so move it into the same > place. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 25/57] x86: Don't show an error when the MRC cache is up to date

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > When the final MRC cache record is the same as the one we want to write, we > skip writing since there is no point. This is normal behaviour. > > Avoiding printing an error when this happens. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 22/57] x86: ivybridge: Drop the dead MTRR code

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This is not used and MTRRs are set up elsewhere now. Drop it. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot

Re: [U-Boot] [PATCH 24/57] x86: Make x86_init_cpus() static

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > There are no other implementations of this function, and baords that need it typo of 'baords' > can implement a CPU driver. > > Signed-off-by: Simon Glass > --- > Other than that,

Re: [U-Boot] [PATCH 26/57] x86: Bring up northbridge, pch and lpc after the CPUs

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > These devices currently need to be inited early in boot. Once we have the > init in the right places (with each device doing its own init and no > problems with ordering) we should be able to remove this. For now

Re: [U-Boot] [PATCH 27/57] x86: ivybridge: Move northbridge and PCH init into drivers

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Instead of calling the northbridge and PCH init from bd82x6x_init_extra() > when the PCI bus is probed, call it from the respective drivers. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 34/57] x86: ivybridge: Use the SATA driver to do the init

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Instead of manually initing the device, probe the SATA device and move the > init there. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/bd82x6x.c | 13 + >

Re: [U-Boot] [PATCH 35/57] x86: ivybridge: Use driver model PCI API in sata.c

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Adjust the functions in this file to use the driver model PCI API. > > Signed-off-by: Simon Glass Duplicated "Signed-off-by" > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 33/57] x86: ivybridge: Drop the unused bd82x6x_init_extra()

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This function does nothing now so can be dropped. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 38/57] x86: ivybridge: Drop the special PCI driver

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > There is nothing special about the ivybridge pci driver now, so just use > the generic one. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/Makefile | 1 - >

Re: [U-Boot] [PATCH 36/57] x86: ivybridge: Move lpc_enable() into gma.c

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This graphics init code is best placed in the gma init code. Move the code > and drop the function. > > Signed-off-by: Simon Glass > --- Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 37/57] x86: ivybridge: Move LPC init into LPC init() method

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Drop the lpc_init_extra() function and just use the post-relocation LPC > init instead. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 31/57] ahci: Add an AHCI uclass

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add a uclass ID for AHCI/SATA. There are no operations and no interface so > far, but it is possible to probe a SATA device. I think we should create an ATA or disk controller uclass, instead of AHCI class. AHCI

Re: [U-Boot] [PATCH 40/57] x86: Enable DM_USB for link and panther

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Move these two boards to use driver model for USB. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH 39/57] x86: ivybridge: Convert lpc init code to DM PCI API

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Adjust this code to use the driver model PCI API. This is all called through > lpc_init_extra(). > > Signed-off-by: Simon Glass > --- Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 10/57] dm: x86: Add a northbridge uclass

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add a uclass for the northbridge / SDRAM controller found on some older > Intel chipsets. > > Signed-off-by: Simon Glass > --- > > arch/x86/lib/Makefile | 1 + >

Re: [U-Boot] [PATCH 06/57] x86: ivybridge: Set up the LPC device using driver model

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Find the LPC device in arch_cpu_init_dm() as a first step to converting > this code to use driver model. Probing the LPC will probe its parent (the > PCH) automatically, so make sure that probing the PCH does

Re: [U-Boot] [PATCH 05/57] dm: pci: Convert bios_emu to use the driver model PCI API

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > At present this BIOS emulator uses a bus/device/function number. Change > it to use a device if CONFIG_DM_PCI is enabled. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 04/57] dm: syscon: Allow finding devices by driver data

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > We have a way to find a regmap by its syscon driver data value. Add the same > for syscon itself. > > Signed-off-by: Simon Glass > --- > > drivers/core/syscon-uclass.c | 31

Re: [U-Boot] [PATCH 07/57] x86: ivybridge: Move lpc_early_init() to probe()

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Move this code to the LPC's probe() method so that it will happen > automatically when the LPC is probed before relocation. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 09/57] x86: ivybridge: Set up the PCH init

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Set up a PCH init() method where we will put init code. Rename the existing > bd82x6x_init() to bd82x6x_init_extra(). > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/bd82x6x.c

Re: [U-Boot] [PATCH 03/57] dm: usb: Add a compatible string for PCI EHCI controller

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add a compatible string to allow this to be specified in the device tree > if needed. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/ehci-pci.c | 5 + > 1 file changed, 5

Re: [U-Boot] [PATCH 08/57] x86: ivybridge: Move more init to the probe() function

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Move SPI and port80 init to lpc_early_init(), called from the LPC's probe() > method. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 02/57] dm: core: Display the error number when driver binding fails

2015-12-13 Thread Bin Meng
On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > This is often -96 (-EEPFNOSUPPORT) which indicates that the uclass is not -EPFNOSUPPORT > compiled in. Display the error number to make this easier to spot. > > Signed-off-by: Simon Glass > --- > Other

Re: [U-Boot] [PATCH 01/57] dm: Add an init() method to the LPC uclass

2015-12-13 Thread Bin Meng
Hi Simon, On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: > Add a method for setting up the LPC device after it has been probed. This > is needed because the device cannot fully init until other parts of the > system are ready. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH 3/4] spi: Rename SPI_TX_BP|QPP to SPI_TX_BYTE|QUAD

2015-12-13 Thread Jagan Teki
Since SPI_TX_* are spi_slave{} members so use spi protocol notation instead spi flash programming, like SPI_TX_BP => SPI_TX_BYTE SPI_TX_QPP => SPI_TX_QUAD Cc: Bin Meng Cc: Simon Glass Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 2/4] spi: Use mode instead of op_mode_tx

2015-12-13 Thread Jagan Teki
Used mode member from spi_slave{} instead of op_mode_tx. Cc: Bin Meng Cc: Simon Glass Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 2 +- drivers/mtd/spi/spi_flash.c | 4 ++-- drivers/spi/ich.c | 2 +-

[U-Boot] [PATCH 1/4] sf: Get spi locally from spi_flash

2015-12-13 Thread Jagan Teki
For better code readabilty, get the spi pointer from spi_flash{} locally and use it instead of direct dereferring spi pinter as flash->spi->* Signed-off-by: Jagan Teki --- drivers/mtd/spi/spi_flash.c | 48 - 1 file changed, 26

[U-Boot] [PATCH 4/4] sf: Move spi_read_cmds_array locally

2015-12-13 Thread Jagan Teki
Since spi_read_cmds_array is used locally in spi_flash_scan, so move array to locally used function instead of defining global array. Signed-off-by: Jagan Teki --- drivers/mtd/spi/spi_flash.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff

Re: [U-Boot] [linux-sunxi] Mainline U-Boot, EHCI, usbkbd not working (workaround)

2015-12-13 Thread John Morelli
apt-get install gcc-4.7-arm-linux-gnueabihf ncurses-dev uboot-mkimage build-essential git http://lists.denx.de/pipermail/u-boot/2015-January/200162.html ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 07:35:19 PM, Stefan Bruens wrote: > On Sunday 13 December 2015 05:49:24 Marek Vasut wrote: > > On Sunday, December 13, 2015 at 05:47:18 AM, Stefan Brüns wrote: > > > The configuration descriptor includes all interface, endpoint and > > > auxiliary descriptors (e.g.

Re: [U-Boot] [PATCH 1/8] m68k: move CONFIG_SYS_TEXT_BASE to defconfig files

2015-12-13 Thread Angelo Dureghello
On 11/12/2015 04:22, Masahiro Yamada wrote: For historical reason, CONFIG_SYS_TEXT_BASE has been specified in various ways: [1] by board/${VENDOR}/${BOARD}/config.mk [2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion) [3] by

Re: [U-Boot] [PATCH 2/8] m68k: M54418TWR: drop board/freescale/m54418twr/config.mk

2015-12-13 Thread Angelo Dureghello
On 11/12/2015 04:22, Masahiro Yamada wrote: The board/freescale/m54418twr/config.mk defined TEXT_BASE, which has the same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referenced by two files: - arch/m68k/cpu/mcf5445x/start.S and include/ - include/configs/M54418TWR.h Replace the

Re: [U-Boot] [PATCH v3] dm: Add timeline and guide for porting serial drivers

2015-12-13 Thread Marek Vasut
On Friday, November 20, 2015 at 06:48:47 PM, Simon Glass wrote: > Add a README with a brief guide to porting serial drivers over to use > driver model. > > Add a timeline also. All serial drivers should be converted by the end > of January 2016. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 0/8] m68k, mips, powerpc, kbuild: move CONFIG_SYS_TEXT_BASE

2015-12-13 Thread Angelo Dureghello
On 11/12/2015 04:22, Masahiro Yamada wrote: Currently, CONFIG_SYS_TEXT_BASE is defined in various ways: [1] by board/${VENDOR}/${BOARD}/config.mk [2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion) [3] by include/configs/${BOARD}.h [4] by

Re: [U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2015-12-13 Thread Michael Heimpold
Hi Marek, thanks for your review. My comments inline below. Am Sunday 13 December 2015, 16:40:14 schrieb Marek Vasut: > On Sunday, December 13, 2015 at 12:09:58 PM, Michael Heimpold wrote: > > Commit message describing the board would be real nice. > Ok, I'll add it in v3. [...] > > > >

[U-Boot] help - u-boot on powerpc qemu

2015-12-13 Thread 吴红青
hello,i am using u-boot on powerpc qemu,my u-boot version is u-boot-2016.01-rc2,i make uboot as below: cd u-boot-2016.01-rc2 make clean make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- qemu-ppce500_defconfig make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- then ,t execute u-boot bay qemu

Re: [U-Boot] [PATCH] arm: mvebu: Add SolidRun ClearFog Armada 38x initial support

2015-12-13 Thread Dennis Gilmore
Trying to test this I have hit an error with CONFIG_PHY_ADDR not defined. I am guessing that I am missing some other sets of patches. digging through patchwork I am not able to figure it out. there is a bunch of patches in patchwork that say they are in NEW state however they are in the tree

[U-Boot] [PATCH 1/2] sf: Rename spi_flash_set_* functions

2015-12-13 Thread Jagan Teki
Since quad_mode functions are local to spi flash core, rename them to a meaningful and readable names. Signed-off-by: Jagan Teki --- drivers/mtd/spi/spi_flash.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c

[U-Boot] [PATCH 2/2] sf: Rename bank_end to bar_end in read_bar

2015-12-13 Thread Jagan Teki
bar_end gives more meaningfull compared to bank_end and spi_flash_write_bar uses bar_end so replaced bank_end with bar_end in spi_flash_read_bar Signed-off-by: Jagan Teki --- drivers/mtd/spi/spi_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size

2015-12-13 Thread Stefan Bruens
On Sunday 13 December 2015 05:49:24 Marek Vasut wrote: > On Sunday, December 13, 2015 at 05:47:18 AM, Stefan Brüns wrote: > > The configuration descriptor includes all interface, endpoint and > > auxiliary descriptors (e.g. report, union) so 512 may not be enough. > > > > Signed-off-by: Stefan

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-13 Thread Fabio Estevam
On Sun, Dec 13, 2015 at 11:37 AM, Robert P. J. Day wrote: > i can check with the higher-ups about their willingness to > contribute a new board definition and, if they have no objection, > would that be sufficient to submit a patch to add a new board so that > we don't

Re: [U-Boot] [PATCH] arm: mvebu: Add SolidRun ClearFog Armada 38x initial support

2015-12-13 Thread Luka Perkov
Hi Dennis, On Sun, Dec 13, 2015 at 11:33:46AM -0600, Dennis Gilmore wrote: > Trying to test this I have hit an error with CONFIG_PHY_ADDR not defined. > > I am guessing that I am missing some other sets of patches. digging through > patchwork I am not able to figure it out. there is a bunch

Re: [U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2015-12-13 Thread Marek Vasut
On Sunday, December 13, 2015 at 10:53:30 PM, Michael Heimpold wrote: > Hi Marek, Hi! > thanks for your review. My comments inline below. np :) > Am Sunday 13 December 2015, 16:40:14 schrieb Marek Vasut: > > On Sunday, December 13, 2015 at 12:09:58 PM, Michael Heimpold wrote: > > > > Commit

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-13 Thread Chin Liang See
On Sun, 2015-12-13 at 16:42 +0100, Marek Vasut wrote: > On Sunday, December 13, 2015 at 02:03:02 PM, Chin Liang See wrote: > > On Sun, 2015-12-13 at 04:14 +0100, Marek Vasut wrote: > > > On Sunday, December 13, 2015 at 01:49:06 AM, Chin Liang See > > > wrote: > > > > On Sun, 2015-12-13 at 01:01

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-13 Thread Marek Vasut
On Monday, December 14, 2015 at 01:11:27 AM, Chin Liang See wrote: > On Sun, 2015-12-13 at 16:42 +0100, Marek Vasut wrote: > > On Sunday, December 13, 2015 at 02:03:02 PM, Chin Liang See wrote: > > > On Sun, 2015-12-13 at 04:14 +0100, Marek Vasut wrote: > > > > On Sunday, December 13, 2015 at

  1   2   >