Re: [U-Boot] [PATCH] dm: core: Show driver name with 'dm tree'

2017-07-22 Thread Bin Meng
Hi Simon, On Sun, Jul 16, 2017 at 7:40 AM, Simon Glass wrote: > It is often useful to see which driver was actually selected for each > device. Add a new 'Driver' column to provide this information. Sample > output: > > Class Probed Driver Name > -

Re: [U-Boot] [PATCH v2 12/15] dm: scsi: Don't scan the SCSI bus when probing

2017-07-22 Thread Bin Meng
Hi Simon, On Wed, Jul 5, 2017 at 3:31 AM, Simon Glass wrote: > The 'scsi scan' function handles this at present and we don't want to > do it twice. With driver model we want to adopt U-Boot's lazy init > approach where possible. > > Drop the automatic scan when probing a SCSI bus. > > Signed-off-

Re: [U-Boot] [PATCH 4/5] bootstage: Drop unused options

2017-07-22 Thread Bin Meng
On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass wrote: > The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now > support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now. > > Drop these unused options. > > Signed-off-by: Simon Glass > --- > > common/Kconfig

Re: [U-Boot] [PATCH 5/5] bootstage: Provide a separate record count setting for SPL

2017-07-22 Thread Bin Meng
On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass wrote: > With SPL we often have limited memory and do not need very many bootstage > records. Add a separate Kconfig option for SPL. > > Signed-off-by: Simon Glass > --- > > common/Kconfig | 7 +++ > common/bootstage.c | 6 +++--- > 2 files ch

Re: [U-Boot] [PATCH 2/5] dm: x86: Allow TSC timer to be used before DM is ready

2017-07-22 Thread Bin Meng
Hi Simon, On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass wrote: > With bootstage we need access to the timer before driver model is set up. > To handle this, put the required state in global_data and provide a new > function to set up the device, separate from the driver's probe() method. > > Signe

Re: [U-Boot] [PATCH 1/5] board_f: Drop the timer after relocation

2017-07-22 Thread Bin Meng
Hi Simon, On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass wrote: > Once U-Boot relocates itself the existing driver-model timer (if any) is > no-longer valid until the device is reinitialised. Any use of the device > may cause a crash. To handle this, set the timer to NULL after relocation. > > Sign

Re: [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ZFS > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 11 +++ > include/config_cmd_all.h | 1 - > scripts/config_whitelist.txt | 1 - > 3 files change

Re: [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ZBOOT > > Signed-off-by: Simon Glass > --- > > arch/Kconfig | 1 + > cmd/Kconfig | 12 > include/configs/x86-common.h | 2 -- > scripts/co

Re: [U-Boot] [PATCH 40/41] Drop config_cmd_all.h

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This file does not include all commands and has not for a while. Let's > drop it. > > Signed-off-by: Simon Glass > --- > > README | 5 - > include/config_cmd_all.h | 19 --- > 2 files changed, 24 deletio

Re: [U-Boot] [PATCH 41/41] README: Drop information about commands

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > Most of this is duplicated in Kconfig help. Add some of that which is not, > and remove the help from the README. > > Signed-off-by: Simon Glass > --- > > README | 131 > +-- > cm

Re: [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_UUID > > Signed-off-by: Simon Glass > --- > > README | 1 - > cmd/Kconfig | 11 +++ > scripts/config_whitelist.txt | 1 - > 3 files chang

Re: [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_UNIVERSE > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 6 ++ > include/config_cmd_all.h | 1 - > scripts/config_whitelist.txt | 1 - > 3 files changed,

Re: [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_TSI148 > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 6 ++ > configs/caddy2_defconfig | 1 + > configs/vme8349_defconfig| 1 + > include/configs/vme

Re: [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_YAFFS2 > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 11 +++ > cmd/Makefile | 2 +- > fs/Kconfig| 2 ++ > fs/yaffs2/Kconfig | 7 +++ > 4 files

Re: [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_TRACE > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 9 + > include/configs/exynos5-common.h | 1 - > include/configs/sandbox.h| 1 - > scrip

Re: [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_THOR_DOWNLOAD > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 8 > configs/odroid-xu3_defconfig | 1 + > configs/

Re: [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This is not a valid CONFIG option. Drop it. > > Signed-off-by: Simon Glass > --- > > include/configs/dragonboard410c.h | 1 - > scripts/config_whitelist.txt | 1 - > 2 files changed, 2 deletions(-) > Reviewed-by: Bin Meng _

Re: [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_TERMINAL > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 8 > include/config_cmd_all.h | 1 - > include/configs/vct.h| 2 -- > scripts/config

Re: [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This driver is not used in U-Boot. Drop it and its associated CONFIG > options. > > Signed-off-by: Simon Glass > --- > > drivers/gpio/Makefile| 1 - > drivers/gpio/sx151x.c| 242 >

Re: [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_TCA642X > > Signed-off-by: Simon Glass > --- > > configs/omap5_uevm_defconfig | 1 + > drivers/gpio/Kconfig | 9 + > include/configs/omap5_uevm.h | 1 - > scripts/config_

Re: [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_STRINGS > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 8 > include/configs/vct.h| 1 - > scripts/config_whitelist.txt | 1 - > 3 files changed,

Re: [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SPL_WRITE_SIZE > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 9 + > configs/am43xx_evm_defconfig | 1 + > configs/am43xx_evm_e

Re: [U-Boot] [PATCH 2/2] usb: kbd: add missing \n

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:13 AM, Rob Clark wrote: > Signed-off-by: Rob Clark > --- > common/usb_kbd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] [PATCH 1/2] usb: kbd: don't fail with iomux

2017-07-22 Thread Bin Meng
Hi Rob, On Sat, Jul 22, 2017 at 3:13 AM, Rob Clark wrote: > stdin might not be set, which would cause iomux_doenv() to fail > therefore causing probe_usb_keyboard() to fail. Furthermore if we do > have iomux enabled, the sensible thing (in terms of user experience) > would be to simply add ourse

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-22 Thread Bin Meng
Hi Andy, On Sun, Jul 23, 2017 at 12:43 AM, Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 4:45 PM, Bin Meng wrote: >> Hi Andy, >> >> On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko >> wrote: >>> If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware >>> communications. >>>

Re: [U-Boot] [u-boot-denx-usb] Build break on current u-boot-usb master

2017-07-22 Thread Łukasz Majewski
On 07/22/2017 08:36 PM, Marek Vasut wrote: On 07/22/2017 08:18 PM, Łukasz Majewski wrote: Hi Marek, When I was "cleaning up" my patchwork todo list I've found following problem (s): A lot of boards are broken with message: LD u-boot drivers/usb/host/built-in.o: In function `xhci_dwc3_r

Re: [U-Boot] [u-boot-denx-usb] Build break on current u-boot-usb master

2017-07-22 Thread Marek Vasut
On 07/22/2017 08:18 PM, Łukasz Majewski wrote: > Hi Marek, > > When I was "cleaning up" my patchwork todo list I've found following > problem (s): > > A lot of boards are broken with message: > > LD u-boot > drivers/usb/host/built-in.o: In function `xhci_dwc3_remove': > /home/lukma/work/e

[U-Boot] [u-boot-denx-usb] Build break on current u-boot-usb master

2017-07-22 Thread Łukasz Majewski
Hi Marek, When I was "cleaning up" my patchwork todo list I've found following problem (s): A lot of boards are broken with message: LD u-boot drivers/usb/host/built-in.o: In function `xhci_dwc3_remove': /home/lukma/work/embedded/u-boot-denx/drivers/usb/host/xhci-dwc3.c:161: undefined

Re: [U-Boot] [PATCH 00/39] dm: sata: Complete driver-model support for SATA

2017-07-22 Thread Simon Glass
Hi Jaehoon, On 22 July 2017 at 11:15, Simon Glass wrote: > (pruning the cc list a bit) > > Hi Jaehoon, > > On 4 July 2017 at 13:48, Simon Glass wrote: >> This series completes the conversion of SATA to driver model. >> >> Previous work converted SCSI including the SCSI-based SATA driver. This >>

Re: [U-Boot] [PATCH 00/39] dm: sata: Complete driver-model support for SATA

2017-07-22 Thread Simon Glass
(pruning the cc list a bit) Hi Jaehoon, On 4 July 2017 at 13:48, Simon Glass wrote: > This series completes the conversion of SATA to driver model. > > Previous work converted SCSI including the SCSI-based SATA driver. This > series converts the AHCI uclass itself, adding operations and adjustin

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-22 Thread Bin Meng
Hi Andy, On Sun, Jul 23, 2017 at 12:43 AM, Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 4:45 PM, Bin Meng wrote: >> Hi Andy, >> >> On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko >> wrote: >>> If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware >>> communications. >>>

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 4:46 PM, Bin Meng wrote: > On Sat, Jul 22, 2017 at 6:45 PM, Andy Shevchenko > wrote: >> On Sat, Jul 22, 2017 at 8:15 AM, Bin Meng wrote: >>> On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng wrote: >> Btw, have you seen my ACPI related series? (No hurry with that at all, >> ju

Re: [U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-22 Thread Bin Meng
Hi Andy, On Sun, Jul 23, 2017 at 12:38 AM, Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 3:59 PM, Bin Meng wrote: >> Hi Andy, >> >> On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko >> wrote: >>> If ASL compiler failed by any reason do not produce output C file. >>> Otherwise sequential run o

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 4:45 PM, Bin Meng wrote: > Hi Andy, > > On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko > wrote: >> If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware >> communications. >> >> Signed-off-by: Andy Shevchenko >> --- >> arch/x86/lib/acpi_table.c | 4 +

Re: [U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 3:59 PM, Bin Meng wrote: > Hi Andy, > > On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko > wrote: >> If ASL compiler failed by any reason do not produce output C file. >> Otherwise sequential run of make will shadow the actual error in ASL, >> i.e. >> >> CC board/in

Re: [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-07-22 Thread LEROY Christophe
Simon Glass a écrit : This converts the following to Kconfig: CONFIG_CMD_REGINFO Signed-off-by: Simon Glass --- README | 1 - arch/powerpc/cpu/mpc85xx/Kconfig | 11 +++ cmd/Kconfig|

Re: [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SPL_NAND_OFS > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig| 10 ++ > configs/am335x_boneblack_defconfig | 1 + > configs/am335x_bo

Re: [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SPL > > Signed-off-by: Simon Glass > --- > > arch/arm/Kconfig | 1 + > arch/arm/mach-imx/mx6/Kconfig | 1 + > arch/arm/mach-omap2/am33xx/K

Re: [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SH_ZIMAGEBOOT > > Signed-off-by: Simon Glass > --- > > arch/sh/Kconfig | 2 ++ > arch/sh/lib/Kconfig | 5 + > configs/r2dplus_defconfig

Re: [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SF_TEST > > Signed-off-by: Simon Glass > --- > > README | 6 -- > arch/Kconfig | 1 + > arch/x86/cpu/baytra

Re: [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SDRAM > > Signed-off-by: Simon Glass > --- > > README | 2 -- > cmd/Kconfig | 7 +++ > configs/MPC8349ITXGP_defconfi

Re: [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SCSI > > Signed-off-by: Simon Glass > --- > > arch/arm/Kconfig | 3 +++ > cmd/Kconfig | 9 + > cmd/Makefile

Re: [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SAVES > > Signed-off-by: Simon Glass > --- > > README | 1 - > arch/arm/Kconfig | 6 ++ > cmd/Kconfig

Re: [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-07-22 Thread Tom Rini
On Sat, Jul 22, 2017 at 11:53:57PM +0800, Bin Meng wrote: > Hi Simon, > > On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > > This converts the following to Kconfig: > >CONFIG_CMD_REGINFO > > > > Signed-off-by: Simon Glass [snip] > > @@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TL

Re: [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This is no-longer used. Drop it. > > Signed-off-by: Simon Glass > --- > > README | 1 - > include/config_cmd_all.h | 1 - > include/configs/sandbox.h| 2 -- > scripts/config_whitelist.txt | 1 - > 4 files changed

Re: [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_REISER > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 9 + > include/config_cmd_all.h | 1 - > include/configs/ethernut5.h | 1 - > scripts/config_w

Re: [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_REGINFO > > Signed-off-by: Simon Glass > --- > > README | 1 - > arch/powerpc/cpu/mpc85xx/Kconfig | 11 +++ >

Re: [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > Convert this option and enable it in sandbox. Also correct a bug which > was introduced with the block-device driver model conversion. > > Signed-off-by: Simon Glass > --- > > README | 2 -- > cmd/Kconfig

Re: [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This command is not used by any board. It also looks quite similar to the > 'iod' and 'iow' commands which use the correct I/O macros. > > Drop it. > > Signed-off-by: Simon Glass > --- > > cmd/portio.c | 145 >

Re: [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_PCMCIA > > Signed-off-by: Simon Glass > --- > > README | 1 - > cmd/Kconfig | 8 > configs/ms7720se_defconfig | 1 + > include/config_cm

Re: [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This driver is not used by any board. Drop it. > > Signed-off-by: Simon Glass > --- > > drivers/pcmcia/Makefile | 1 - > drivers/pcmcia/ti_pci1410a.c | 623 > --- > 2 files changed, 624 deletion

Re: [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This option enables the 'pci enum' command. It is only enabled by a few > board and these have not yet been converted to driver model, which always > enables this command. It seems easiest to just remove this option. > > The affected boards can

Re: [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > It does not seem worth having an option to enable another sub-command in > this legacy driver. Drop this option so that the sub-command is always > available. > > Signed-off-by: Simon Glass > --- > > README | 1

Re: [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_PCI > > Signed-off-by: Simon Glass > --- > > README | 1 - > arch/arm/cpu/armv7/ls102xa/Kconfig | 1 + > arch/arm

Re: [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_PCA953X > > Signed-off-by: Simon Glass > --- > > README | 1 - > arch/powerpc/cpu/mpc83xx/Kconfig| 1 + > configs/cl-som-am57x_defconfig

Re: [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ONENAND > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 8 > configs/igep0020_defconfig | 1 + > configs/igep0030

Re: [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_MTDPARTS_SPREAD > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 10 ++ > configs/sandbox_defconfig| 1 + > scripts/config_whitelist.txt | 1 - > 3 f

Re: [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS to Kconfig

2017-07-22 Thread Bin Meng
Hi Simon, On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_MTDPARTS > > Signed-off-by: Simon Glass > --- > > README | 1 - > arch/arm/Kconfig| 3 +++ > arch/arm/

Re: [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_MMC_SPI > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig| 9 + > configs/UCP1020_SPIFLASH_defconfig | 1 + > configs/UCP1020_defconfig | 1 +

Re: [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This is not actually used in U-Boot. Most likely it means > CONFIG_CMD_MEMORY so change all occurences to that. > > Signed-off-by: Simon Glass > --- > > README| 4 ++-- > include/configs/stm32f429-discovery.h |

Re: [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_MFSL > > Signed-off-by: Simon Glass > --- > > README | 1 - > cmd/Kconfig | 7 +++ > configs/microblaze-generic_defconfig | 1 +

Re: [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 to Kconfig

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_MAX6957 > > Signed-off-by: Simon Glass > --- > > board/work-microwave/work_92105/Kconfig | 7 +++ > configs/work_92105_defconfig| 1 + > include/configs/work_92105.h

[U-Boot] [PATCH] x86: minnowmax: Remove CONFIG_SMSC_LPC47M

2017-07-22 Thread Bin Meng
There is no SMSC LPC47M Super I/O chipset on the MinnowMax board. Signed-off-by: Bin Meng --- include/configs/minnowmax.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 6ea607d..5b24c2b 100644 --- a/include/configs/minnowmax.h

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-22 Thread Bin Meng
Hi Andy, On Sat, Jul 22, 2017 at 6:45 PM, Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 8:15 AM, Bin Meng wrote: >> On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng wrote: >>> From: Andy Shevchenko >>> >>> Kbuild complains if USB is not selected before any of host driver. >>> >>> warning: (X86) s

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-22 Thread Bin Meng
Hi Andy, On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware > communications. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/lib/acpi_table.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/x8

Re: [U-Boot] [PATCH v1 6/7] x86: acpi: Export acpi_fill_mcfg() with __weak attribute

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > Some platforms might require different approach when filling memory > mappings configuration table. > > Allow them to override the common method. > > At the same time export acpi_create_mcfg_mmconfig(). > > Signed-off-by: Andy Shevchenko >

Re: [U-Boot] [PATCH v1 5/7] x86: acpi: Deduplicate acpi_fill_madt() implementation

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > In Baytrail and Quark support code acpi_fill_madt() is identical. > > Deduplicate its implementation by moving to lib/acpi_tables.c. > > At the same time mark acpi_fill_madt() with __weak attribute to keep a > possibility to override it in

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-22 Thread Jeroen Hofstee
Hello Siarhei, On 07/21/2017 08:46 PM, Siarhei Siamashka wrote: On Wed, 19 Jul 2017 20:26:54 +0200 Jeroen Hofstee wrote: Hi, On 07/18/2017 08:10 PM, Joe Hershberger wrote: Hi Maxime, On Wed, Jul 12, 2017 at 9:34 AM, Maxime Ripard wrote: The -mno-unaligned-access flag used on ARM to pre

Re: [U-Boot] [PATCH v1 4/7] x86: acpi: Name fields in FADT in accordance with specification

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > ACPI specification defines FADT fields marked as reserved in U-Boot. > > Name these fields in accordance with ACPI specification. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/include/asm/acpi_table.h | 5 ++--- > 1 file changed, 2

Re: [U-Boot] [PATCH v1 3/7] x86: acpi: Fill OEM revision

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > Fill OEM revision field in the tables by U-Boot build date. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/lib/acpi_table.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Bin Meng _

Re: [U-Boot] [PATCH v1 2/7] Makefile: Export build date as integer

2017-07-22 Thread Bin Meng
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > In some cases we would need build date as integer value. > Export U_BOOT_BUILD_DATE as %Y%m%d integer value. > > Signed-off-by: Andy Shevchenko > --- > Makefile | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Bin Meng _

Re: [U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-22 Thread Bin Meng
Hi Andy, On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko wrote: > If ASL compiler failed by any reason do not produce output C file. > Otherwise sequential run of make will shadow the actual error in ASL, > i.e. > > CC board/intel/edison/dsdt.o > board/intel/edison/dsdt.c:1:1: error: unte

Re: [U-Boot] [PATCH 10/11 v2] x86: conga-qeval20-qa3-e3845.dts: Enable xHCI support in dts

2017-07-22 Thread Bin Meng
On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > Signed-off-by: Stefan Roese > Cc: Simon Glass > Reviewed-by: Bin Meng > --- > - Added Bin's reviewed-by > > arch/x86/dts/conga-qeval20-qa3-e3845.dts | 3 +++ > 1 file changed, 3 insertions(+) > applied to u-boot-x86, thanks! _

Re: [U-Boot] [PATCH 09/11 v2] x86: dfi-bt700: Add xHCI USB support

2017-07-22 Thread Bin Meng
On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > Change from EHCI to xHCI on the DFI BayTrail SoM. > > The xHCI USB hub is connected to an GPIO on the DFI BayTrail SoM. For > correct operation, it needs to get reset upon power-up. Otherwise it > may happen that the hub is not detected after

Re: [U-Boot] [PATCH 05/11 v2] x86: conga-qeval20-qa3-e3845: Select CONFIG_BOARD_LATE_INIT

2017-07-22 Thread Bin Meng
On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > This config option is needed on the congatec x86 BayTrail board, as > otherwise the USB hub will not get initialized correctly. This > patch selects this Kconfig option again. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Reviewed-by:

Re: [U-Boot] [PATCH 03/11 v2] x86: conga: Add option to select different config headers for baseboards

2017-07-22 Thread Bin Meng
Hi Stefan, On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x8

Re: [U-Boot] [PATCH 02/11 v2] x86: dfi: Add option to select different config headers for baseboards

2017-07-22 Thread Bin Meng
Hi Stefan, On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x8

Re: [U-Boot] [PATCH 01/11 v2] x86: theadorable-x86-dfi-bt700: Add Spansion SPI support and move VIDEO blob

2017-07-22 Thread Bin Meng
On Tue, Jul 18, 2017 at 8:10 PM, Stefan Roese wrote: > To support the Spansion SPI NOR flashes, this patch enables the support in > defconfig. This increases the U-Boot binary too much so that it does > not fit into its area in the ROM. So also move the VIDEO BIOS blob > a bit to make some space h

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 8:15 AM, Bin Meng wrote: > On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng wrote: >> From: Andy Shevchenko >> >> Kbuild complains if USB is not selected before any of host driver. >> >> warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB) >> warning: (

[U-Boot] [PATCH] tools/env: fix allocation of the lock file name in fw_printenv

2017-07-22 Thread sgerwk
[resending with a signed-off-by field...] sizeof(env_opts.lockname) is the size of the pointer, not of the string; this patch changes it to strlen(...) --- tools/env/fw_env_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.