Re: [U-Boot] [U-Boot, RESEND, 10/10] usb: ehci-generic: support reset control for generic EHCI

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:02AM +0900, Masahiro Yamada wrote: > This driver is designed in a generic manner, so resets should be > handled generically as well. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, RESEND, 08/10] errno.h: sync error macros with linux 4.8-rc7

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:00AM +0900, Masahiro Yamada wrote: > For synchronization, import macros from > - include/uapi/asm-generic/errno-base.h > - include/uapi/asm-generic/errno.h > - include/linux/errno.h > > of Linux 4.8-rc7. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, RESEND, 09/10] reset: add no-op stubs for optional reset control

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:01AM +0900, Masahiro Yamada wrote: > My motivation for this patch is to make reset control handling > optional for generic drivers. > > I want to add reset control to drivers/usb/host/ehci-generic.c, > but it is used by several platforms, some will implement a reset

Re: [U-Boot] [U-Boot, RESEND, 05/10] treewide: replace #include with

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:57AM +0900, Masahiro Yamada wrote: > Now, include/linux/errno.h is a wrapper of . > Replace all include directives for with > . > > is supposed to be included from when > arch-headers fall back into generic implementation. Generally, they > should not be directly

Re: [U-Boot] [U-Boot, RESEND, 03/10] treewide: replace #include with

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:55AM +0900, Masahiro Yamada wrote: > Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have > the same content. (both just wrap ) > > Replace all include directives for with . > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, RESEND, 06/10] Move error macros from to

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:58AM +0900, Masahiro Yamada wrote: > There are no files that include any more. > Move error macro defines to include/linux/errno.h and remove > include/asm-generic/errno.h. > > Going forward, please include when you need error > macros. > > Signed-off-by:

Re: [U-Boot] [U-Boot, RESEND, 07/10] Move ENOTSUPP defines to include/linux/errno.h

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:59AM +0900, Masahiro Yamada wrote: > Collect a couple of duplicated defines into a single place. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, RESEND, 04/10] Remove arch/${ARCH}/include/asm/errno.h

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:56AM +0900, Masahiro Yamada wrote: > Unlike Linux, nothing about errno.h is arch-specific in U-Boot. > As you see, all of arch/${ARCH}/include/asm/errno.h is just a > wrapper of . Actually, U-Boot does not > export headers to user-space, so we just have to care

Re: [U-Boot] [U-Boot, RESEND, 02/10] Add as a wrapper of

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:54AM +0900, Masahiro Yamada wrote: > This will be used to consolidate errno.h variants. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, RESEND, 01/10] treewide: use #include <...> to include public headers

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:53AM +0900, Masahiro Yamada wrote: > We are supposed to use #include <...> to include headers in the > public include paths. We should use #include "..." only for headers > in local directories. > > Signed-off-by: Masahiro Yamada >

Re: [U-Boot] [U-Boot, v3, 8/8] drivers: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:39PM +0900, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 7/8] arch, board: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:38PM +0900, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Minkyu Kang > Reviewed-by: Angelo Dureghello Applied to

Re: [U-Boot] [U-Boot, v3, 5/8] x86: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:36PM +0900, Masahiro Yamada wrote: > arch_cpu_init() can be simpler by this refactoring. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v3, 3/8] usb: replace ehci_*_remove() with usb_deregister()

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:34PM +0900, Masahiro Yamada wrote: > The remove callbacks of EHCI drivers are often just a wrapper of > ehci_deregister. > > Signed-off-by: Masahiro Yamada > Acked-by: Stephen Warren Applied to u-boot/master,

Re: [U-Boot] [U-Boot,v3,6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:37PM +0900, Masahiro Yamada wrote: > The variable "err" is unneeded. > > [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] > > Signed-off-by: Masahiro Yamada > Signed-off-by: David Gibson

Re: [U-Boot] [U-Boot, v3, 4/8] usb: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:35PM +0900, Masahiro Yamada wrote: > This makes functions much simpler. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 2/8] video: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:33PM +0900, Masahiro Yamada wrote: > For vidconsole_post_probe(), it is common coding style to let a > probe method return the value of a register function. > > The others will become simple wrapper functions. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, v3, 1/8] mmc: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:32PM +0900, Masahiro Yamada wrote: > These functions can be much simpler by squashing lines for immediate > return. > > For *_bind() callbacks, they will be a simple wrapper function of an > upper-level bind API. > > For mmc_set_{boot_bus_width,part_conf}, they

Re: [U-Boot] [PATCH 1/2] Makefile: use if_change_dep for u-boot.cfg

2016-09-23 Thread Simon Glass
Hi Masahiro, On 23 September 2016 at 03:32, Masahiro Yamada wrote: > 2016-09-23 13:16 GMT+09:00 Simon Glass : >> On 19 September 2016 at 12:20, Stephen Warren wrote: >>> From: Stephen Warren >>> >>>

Re: [U-Boot] [PATCH] rockchip: miniarm: remove eMMC support

2016-09-23 Thread Simon Glass
On 18 September 2016 at 18:57, Simon Glass wrote: > On 9 September 2016 at 07:44, Ziyuan Xu wrote: >> The latest rk3288-miniarm board doesn't have eMMC device, so remove it. >> >> Signed-off-by: Ziyuan Xu >> --- >> >>

Re: [U-Boot] [PATCH v3 3/7] power: regulator: add pwm regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > add driver support for pwm regulator. > > Signed-off-by: Elaine Zhang > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in

Re: [U-Boot] [PATCH v3 7/7] config: evb-rk3399: enable pwm regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Enable the pwm regulator for evb-rk3399. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 6/7] dts: evb-rk3399: add init voltage node for vdd-center

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Add a regulator-init-microvolt for vdd_center regulator > so that we can get a init value for driver probe. > Not like pmic regulator, the PWM regulator do not have a > known default output value, so we would like to

Re: [U-Boot] [PATCH v3 5/7] Kconfig: rockchip: enable DM_PWM and DM_REGULATOR

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Enable DM_PWM and DM_REGULATOR on rockchip SoCs. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 2/7] rockchip: rkpwm: fix the register sequence

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Reference to kernel source code, rockchip pwm has three > type, we are using v2 for rk3288 and rk3399, so let's > update the register to sync with pwm_data_v2 in kernel. > > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH v3 4/7] rockchip: evb_rk3399: init vdd_center regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Add vdd_center pwm regulator get_device to > enable this regulator. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: >

Re: [U-Boot] [PATCH v3 2/2] Enable ROCKCHIP_SPL_BACK_TO_BROM for rock2 board

2016-09-23 Thread Simon Glass
On 5 September 2016 at 19:02, Simon Glass wrote: > On 29 August 2016 at 05:31, Sandy Patterson wrote: >> Rock2 has been tested with back to brom feature. The tricky part is that >> with this feature the default environment is inside u-boot, and it's

Re: [U-Boot] [PATCH 2/3] rockchip: add usb mass storage feature support for rk3036

2016-09-23 Thread Simon Glass
On 8 September 2016 at 20:59, 陈豪 wrote: > Hi, > > > 2016-09-06 9:03 GMT+08:00 Simon Glass : >> On 29 August 2016 at 11:26, Jacob Chen wrote: >>> From: "jacob2.chen" >>> >>> Enable ums feature for

Re: [U-Boot] [PATCH v3 1/2] Disable SPL_MMC_SUPPORT if ROCKCHIP_SPL_BACK_TO_BROM is enabled.

2016-09-23 Thread Simon Glass
On 5 September 2016 at 19:02, Simon Glass wrote: > On 29 August 2016 at 05:31, Sandy Patterson wrote: >> Default SPL_MMC_SUPPORT to false when ROCKCHIP_SPL_BACK_TO_BROM is enabled. >> >> Acked-by: Ziyuan Xu >> Signed-off-by:

Re: [U-Boot] [PATCH v3 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Update PPLL to 676MHz and PMU_PCLK to 48MHz, because: > 1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz > can not, > 2. We think 48MHz is fast enough for pmu pclk and it is lower power cost > than

Re: [U-Boot] [PATCH] rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled

2016-09-23 Thread Simon Glass
On 22 September 2016 at 20:28, Simon Glass wrote: > Acked-by: Simon Glass > > On 13 August 2016 at 05:08, Ziyuan Xu wrote: >> Acked-by: Ziyuan Xu >> >> >> On 2016年08月11日 19:08, Sandy Patterson wrote: >>> >>>

Re: [U-Boot] [PATCH] rockchip: rk3288: sdram: fix DDR address range

2016-09-23 Thread Simon Glass
On 22 September 2016 at 20:54, Ziyuan Xu wrote: > Hi Simon, > > > On 2016年09月23日 10:39, Simon Glass wrote: >> >> Hi, >> >> On 4 September 2016 at 19:39, Ziyuan Xu wrote: >>> >>> The all current Rockchip SoCs supporting 4GB of ram have problems >>>

[U-Boot] [PATCH] ARM: tegra: flush caches via SMC call

2016-09-23 Thread Stephen Warren
From: Stephen Warren On Tegra186, it is necessary to perform an SMC to fully flush all caches; flushing/cleaning by set/way is not enough. Implement the required hook to make this happen. Signed-off-by: Stephen Warren ---

[U-Boot] [PATCH] ARM: tegra: fix clock_get_periph_rate() for UART clocks

2016-09-23 Thread Stephen Warren
From: Stephen Warren Make clock_get_periph_rate() return the correct value for UART clocks. This change needs to be applied before the patches that enable CONFIG_CLK for Tegra SoCs before Tegra186, since enabling that option causes ns16550_serial_ofdata_to_platdata() to rely

Re: [U-Boot] [PATCH 1/2] at91: video: Support driver-model for the HLCD driver

2016-09-23 Thread Anatolij Gustschin
On Fri, 23 Sep 2016 23:05:00 +0200 Anatolij Gustschin ag...@denx.de wrote: ... > applied to u-boot-video/master, thanks! this patch breaks building for at91 boards, so I drop it. Please fix and resubmit. Thanks. -- Anatolij ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-09-23 Thread Joe Hershberger
Hi Stephen, Thanks for sending this! I have some comments below. Cheers, -Joe On Mon, Sep 12, 2016 at 12:48 PM, Stephen Warren wrote: > From: Stephen Warren > > This driver supports the Synopsys Designware Ethernet QoS (Quality of > Service) a/k/a

Re: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 03:09:53PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 12:42, Tom Rini wrote: > > On Thu, Sep 22, 2016 at 10:14:01PM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 19 September 2016 at 13:14, Tom Rini

Re: [U-Boot] [PATCH 04/28] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 03:09:49PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 13:58, Tom Rini wrote: > > On Mon, Sep 19, 2016 at 04:32:48PM -0600, Simon Glass wrote: > > > >> This converts the following to Kconfig: > >>CONFIG_SYS_CONSOLE_IS_IN_ENV >

Re: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 12:42, Tom Rini wrote: > On Thu, Sep 22, 2016 at 10:14:01PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 19 September 2016 at 13:14, Tom Rini wrote: >> > On Sun, Sep 18, 2016 at 04:48:31PM -0600, Simon Glass wrote: >> > >>

Re: [U-Boot] [PATCH 04/28] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 13:58, Tom Rini wrote: > On Mon, Sep 19, 2016 at 04:32:48PM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_SYS_CONSOLE_IS_IN_ENV >>CONFIG_CONSOLE_MUX >> >> Signed-off-by: Simon Glass

Re: [U-Boot] U-boot Driver Model - MMC - missing uclass implementation?

2016-09-23 Thread Simon Glass
Hi Philipp, On 23 September 2016 at 11:33, Philipp Rossak wrote: > > Hi Simon, > > I missed the CONFIG_GENERIC_MMC option. > Thank you very much !! Thanks for your follow-up. Good to hear that fixed it. > > Regards, > Philipp Regards, Simon [...]

Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver

2016-09-23 Thread Simon Glass
Hi Paul, On 23 September 2016 at 10:12, Paul Burton wrote: > On Thursday, 22 September 2016 22:15:48 BST Simon Glass wrote: > >> Hi, > >> > >> On 8 September 2016 at 00:47, Paul Burton wrote: > >> > Provide a trivial syscon driver matching the

Re: [U-Boot] [PATCH v2 2/2] Sync config_whitelist.txt

2016-09-23 Thread Simon Glass
On 23 September 2016 at 10:00, Masahiro Yamada wrote: > It is a good practice to drop a option from the whitelist when we > convert it to Kconfig, but we may sometimes forget to do that. > > So, it might be a good idea to sync the whitelist from time to time. > >

Re: [U-Boot] [PATCH v2 1/2] build-whitelist: do not add new options to whitelist when update

2016-09-23 Thread Simon Glass
On 23 September 2016 at 10:00, Masahiro Yamada wrote: > If somebody adds references to new CONFIG options in source files, > they will be added in the whitelist when we sync it. (For example, > if we run scripts/build-whitelist.sh against commit 201c9d884dca, > new

Re: [U-Boot] [PATCH 2/2] at91: video: DT binding for HLCDC driver

2016-09-23 Thread Anatolij Gustschin
On Mon, 8 Aug 2016 15:34:48 +0800 Songjun Wu songjun...@microchip.com wrote: > DT binding documentation for atmel HLCDC driver. > > Signed-off-by: Songjun Wu > --- > > doc/device-tree-bindings/video/atme-hlcdc.txt | 38 > +++ > 1 file

Re: [U-Boot] [PATCH 1/2] at91: video: Support driver-model for the HLCD driver

2016-09-23 Thread Anatolij Gustschin
On Mon, 8 Aug 2016 15:34:47 +0800 Songjun Wu songjun...@microchip.com wrote: > Add driver-model support to this driver. > > Signed-off-by: Songjun Wu > --- > > drivers/video/Kconfig| 7 + > drivers/video/Makefile | 2 +- >

Re: [U-Boot] [PATCH v3] net: Fix cache misalignment message after network load operations

2016-09-23 Thread Joe Hershberger
On Tue, Sep 13, 2016 at 10:49 PM, wrote: > After any operation that downloads a file (e.g., pxe get, or dhcp), the > buffer containing the downloaded data is flushed. This is unnecessary > and annoying. Unnecessary, because > the network driver should already have

Re: [U-Boot] [PATCH 02/28] Convert SILENT_CONSOLE options to Kconfig

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 02:47:49PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 13:58, Tom Rini wrote: > > On Mon, Sep 19, 2016 at 04:32:46PM -0600, Simon Glass wrote: > > > >> Move these option to Kconfig and tidy up existing uses. > >> > >> The Power PC

Re: [U-Boot] [PATCH] test: add NFS download test

2016-09-23 Thread Joe Hershberger
On Wed, Sep 14, 2016 at 3:29 AM, Guillaume GARDET wrote: > Add a NFS download test, based on TFTP test. > Tested on i.MX6 SabreLite board. > > Signed-off-by: Guillaume GARDET > > Cc: Tom Rini > Cc: Joe Hershberger

Re: [U-Boot] Patch v1 - Update to support MSCC VSC8530/31 and VSC8540/41 PHY's

2016-09-23 Thread Joe Hershberger
Hi John, On Wed, Sep 21, 2016 at 11:16 AM, John Haechten wrote: > Tom, > I have added support for the "MINI" Phy family of devices. This includes > VSC8530/VSC8531, VSC8540/VSC8541. > The VSC8530/VSC8540 are PHY's capable of 10/100, so the only difference is in >

Re: [U-Boot] [PATCH 02/28] Convert SILENT_CONSOLE options to Kconfig

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 13:58, Tom Rini wrote: > On Mon, Sep 19, 2016 at 04:32:46PM -0600, Simon Glass wrote: > >> Move these option to Kconfig and tidy up existing uses. >> >> The Power PC boards don't have a suitable common element: the common header >> files don't

Re: [U-Boot] ad-hoc config error

2016-09-23 Thread york sun
On 09/23/2016 11:23 AM, Tom Rini wrote: > On Fri, Sep 23, 2016 at 04:42:24PM +, york sun wrote: >> Tom, >> >> Following this thread, I have different macros to resolve. Please take a >> look at this patch http://patchwork.ozlabs.org/patch/660787/. >> >> It adds CONFIG_SYS_DCSR_RCPM_ADDR and

Re: [U-Boot] [Patch v6 8/9] armv8: ls1046ardb: Add LS1046ARDB board support

2016-09-23 Thread Mingkai Hu
> -Original Message- > From: york sun > Sent: Saturday, September 17, 2016 4:14 AM > To: Q.Y. Gong ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Mingkai Hu > ; S.H. Xie ; Z.Q. Hou >

[U-Boot] Curses from u-boot

2016-09-23 Thread Daniel.
Hi everybody, I was wondering what would be the difficult to run some curses based menu from u-boot. I've been search for curses porting and found this: http://frank.harvard.edu/~coldwell/ncurses/hackguide.html. The big problem here is that u-boot is not a operating system. The motivation is

[U-Boot] [PATCH] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

2016-09-23 Thread Sudeep Holla
Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting to nonsec booting") added support to check if the firmware on TC2 is configured appropriately before booting in nonsec/hyp mode. However when booting in non-secure/hyp mode, CCI control must be done in secure firmware

Re: [U-Boot] [PATCH] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

2016-09-23 Thread Sudeep Holla
On 23/09/16 17:03, Jon Medhurst (Tixy) wrote: On Fri, 2016-09-23 at 16:10 +0100, Sudeep Holla wrote: +#ifdef CONFIG_OF_BOARD_SETUP +int ft_board_setup(void *fdt, bd_t *bd) +{ + int offset, tmp, len; + const struct fdt_property *prop; + const char *cci_compatible =

[U-Boot] U-boot Driver Model - MMC - missing uclass implementation?

2016-09-23 Thread Philipp Rossak
Hi, I would like to develop an mmc driver for the STM32 boards with the new driver model. I already built up the basic structure and I discovered some strange behaviour compared to net or serial drivers: When I place only the following statement in the driver .c file:

Re: [U-Boot] U-boot Driver Model - MMC - missing uclass implementation?

2016-09-23 Thread Philipp Rossak
Hi Simon, I missed the CONFIG_GENERIC_MMC option. Thank you very much !! Regards, Philipp 2016-09-23 17:37 GMT+02:00 Simon Glass : > Hi Phllipp, > > On 23 September 2016 at 09:30, Philipp Rossak wrote: > > Hi, > > > > I would like to develop an mmc driver

[U-Boot] [PATCH v2] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

2016-09-23 Thread Sudeep Holla
Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting to nonsec booting") added support to check if the firmware on TC2 is configured appropriately before booting in nonsec/hyp mode. However when booting in non-secure/hyp mode, CCI control must be done in secure firmware

Re: [U-Boot] [PATCH v2 2/4] ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI

2016-09-23 Thread Jon Masters
On 09/23/2016 01:09 AM, Jon Masters wrote: > On 08/30/2016 03:22 AM, Masahiro Yamada wrote: >> If CONFIG_ARMV7_NONSEC is enabled, the linker script requires >> CONFIG_ARMV7_PSCI_NR_CPUS regardless of CONFIG_ARMV7_PSCI. >> >> Signed-off-by: Masahiro Yamada >> --- >>

Re: [U-Boot] [PATCH v2 2/4] ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI

2016-09-23 Thread Jon Masters
On 08/30/2016 03:22 AM, Masahiro Yamada wrote: > If CONFIG_ARMV7_NONSEC is enabled, the linker script requires > CONFIG_ARMV7_PSCI_NR_CPUS regardless of CONFIG_ARMV7_PSCI. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: None > >

[U-Boot] Patch v1 - Update to support MSCC VSC8530/31 and VSC8540/41 PHY's

2016-09-23 Thread John Haechten
Tom, I have added support for the "MINI" Phy family of devices. This includes VSC8530/VSC8531, VSC8540/VSC8541. The VSC8530/VSC8540 are PHY's capable of 10/100, so the only difference is in the Advertisements. The other differences are the MAC Interface capabilities that get configured. I have

Re: [U-Boot] [PATCH] getting ubifs to run

2016-09-23 Thread Travis Waters
Hello, I am working to enable UBIFS for use on the sparc platform and I am running into the same linking trouble flagged in this thread: uboot/fs/ubifs/lpt_commit.c:1232: undefined reference to `dbg_chk_lpt_free_spc' uboot/fs/ubifs/lpt_commit.c:1235: undefined reference to `dbg_check_ltab'

Re: [U-Boot] [PATCH 13/28] video: Drop the imx25lcdc driver

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:57PM -0600, Simon Glass wrote: > This is not used anywhere in U-Boot. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 24/28] Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:08PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CONSOLE_SCROLL_LINES > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 00/28] Kconfig: Move console options to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:44PM -0600, Simon Glass wrote: > This series moves a number of console-related CONFIG options to Kconfig. > Those that are not currently used are removed. > > A few unused video drivers are also removed and there are a few minor > adjustments to improve the code.

Re: [U-Boot] [PATCH 28/28] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:12PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_STDIO_DEREGISTER > > This option should never be enabled in SPL, so use > CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 25/28] Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:09PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_ENV_OVERWRITE > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 27/28] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:11PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_INFO_QUIET > > Signed-off-by: Simon Glass [snip] > 251 files changed, 217 insertions(+), 88 deletions(-) [snip] > diff --git a/common/Kconfig

Re: [U-Boot] [PATCH 26/28] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:10PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 20/28] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:04PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CONSOLE_EXTRA_INFO > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 23/28] Convert CONFIG_LCD to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:07PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_LCD > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 16/28] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:00PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_VGA_AS_SINGLE_DEVICE > > Once we migrate to driver model for video, we should be able to drop this > option. > > Signed-off-by: Simon Glass This feels like it

Re: [U-Boot] [PATCH 18/28] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:02PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_VIDEO_SW_CURSOR > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 22/28] video: Drop CONFIG_CONSOLE_INFO_QUIET

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:06PM -0600, Simon Glass wrote: > This is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 21/28] video: Move video_get_info_str() prototype to a header file

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:05PM -0600, Simon Glass wrote: > This should be defined in a header file so that arguments are checked. > Move it to video.h. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 19/28] video: Drop CONFIG_VIDEO_SW_CURSOR

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:03PM -0600, Simon Glass wrote: > Since all boards enable this, we may as well drop the option. > > This is a separate patch from the previous one, so it can be skipped if > someone identifies a need. > > Signed-off-by: Simon Glass Reviewed-by:

Re: [U-Boot] [PATCH 17/28] video: Drop CONFIG_VIDEO_HW_CURSOR

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:33:01PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH 12/28] video: Drop the smiLynxEM driver

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:56PM -0600, Simon Glass wrote: > This is not used in U-Boot anymore. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 14/28] video: Drop the s3c-fb driver

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:58PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH 10/28] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:54PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_VIDEO_CT69000 > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 15/28] video: Drop the sed13806 driver

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:59PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH 11/28] Convert CONFIG_SYS_CONSOLE_BG_COL et al to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:55PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_BG_COL >CONFIG_SYS_CONSOLE_FG_COL > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH 09/28] Convert CONFIG_CFB_CONSOLE_ANSI to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:53PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CFB_CONSOLE_ANSI > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 08/28] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:52PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CFB_CONSOLE [snip] > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig > index bc246c5..33d85e7 100644 > --- a/drivers/video/Kconfig > +++ b/drivers/video/Kconfig > @@

Re: [U-Boot] [PATCH 04/28] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:48PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_IS_IN_ENV >CONFIG_CONSOLE_MUX > > Signed-off-by: Simon Glass When is CONSOLE_MUX useful? VIDEO==y and anything else? -- Tom signature.asc

Re: [U-Boot] [PATCH 07/28] Convert CONFIG_VIDEO to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:51PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_VIDEO > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 02/28] Convert SILENT_CONSOLE options to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:46PM -0600, Simon Glass wrote: > Move these option to Kconfig and tidy up existing uses. > > The Power PC boards don't have a suitable common element: the common header > files don't appear to line up with the Kconfig files as far as I can tell. > This results in a

Re: [U-Boot] [PATCH 03/28] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:47PM -0600, Simon Glass wrote: > Move these option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass > --- > > README| 17 - > board/sunxi/Kconfig | 11 +++ >

Re: [U-Boot] [PATCH v2] common/xyzModem.c: Fix delay timeout calculation

2016-09-23 Thread Tom Rini
On Tue, Sep 20, 2016 at 10:39:49AM -0500, Andrew F. Davis wrote: > When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2 > seconds by incrementing and checking a counter variable every 20 > uSeconds. The overhead in the loop calling tstc() thousands of times > causes the timeout to be

Re: [U-Boot] [PATCH 06/28] config: Drop CONFIG_CONSOLE_DEV

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:50PM -0600, Simon Glass wrote: > This is not really a config. Rename it to avoid confusion. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 05/28] config: Drop CONFIG_CONSOLE

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:49PM -0600, Simon Glass wrote: > This is not really a config. Rename it to avoid confusion. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 01/28] Remove some merge markers

2016-09-23 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:32:45PM -0600, Simon Glass wrote: > These two files have patch merge markers in them, within comments or > strings. Remove then, so that a search for merge markers does not show up > matches in these files. > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v5, 16/16] ext4: Fix memory leak of journal buffer if block is updated multiple times

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:56AM +0200, Stefan Brüns wrote: > If the same block is updated multiple times in a row during a single > file system operation, gd_index is decremented to use the same journal > entry again. Avoid loosing the already allocated buffer. > > Signed-off-by: Stefan Brüns

Re: [U-Boot] [U-Boot, v5, 15/16] ext4: Correct block number handling, empty block vs. error code

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:55AM +0200, Stefan Brüns wrote: > read_allocated block may return block number 0, which is just an indicator > a chunk of the file is not backed by a block, i.e. it is sparse. > > During file deletions, just continue with the next logical block, for other >

Re: [U-Boot] [U-Boot, v5, 14/16] ext4: remove duplicated block release code for extents

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:54AM +0200, Stefan Brüns wrote: > The data blocks are identical for files using traditional direct/indirect > block allocation scheme and extent trees, thus this code part can be > common. Only the code to deallocate the indirect blocks to record the > used blocks

Re: [U-Boot] [U-Boot, v5, 13/16] ext4: initialize full inode for inodes bigger than 128 bytes

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:53AM +0200, Stefan Brüns wrote: > Make sure the the extra_isize field (offset 128) is initialized to 0, to > mark any extra data as invalid. > > Signed-off-by: Stefan Brüns > Reviewed-by: Lukasz Majewski

Re: [U-Boot] [U-Boot, v5, 12/16] ext4: Use correct value for inode size even on revision 0 filesystems

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:52AM +0200, Stefan Brüns wrote: > fs->inodesz is already correctly (i.e. dependent on fs revision) > initialized in ext4fs_mount. > > Signed-off-by: Stefan Brüns > Reviewed-by: Lukasz Majewski Applied to

Re: [U-Boot] [U-Boot, v5, 11/16] ext4: Fix memory leak in case of failure

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:51AM +0200, Stefan Brüns wrote: > temp_ptr should always be freed, even if the function is left via > goto fail. > > Signed-off-by: Stefan Brüns > Reviewed-by: Lukasz Majewski Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v5, 10/16] ext4: Avoid out-of-bounds access of block bitmap

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:36:50AM +0200, Stefan Brüns wrote: > If the blocksize is 1024, count is initialized with 1. Incrementing count > by 8 will never match (count == fs->blksz * 8), and ptr may be > incremented beyond the buffer end if the bitmap is filled. Add the > startblock offset after

  1   2   >