Re: [U-Boot] [Patch v2 7/7] armv8: ls1046ardb: Add LS1046ARDB board support

2016-08-31 Thread Qianyu Gong
Hi York, > -Original Message- > From: york sun > Sent: Thursday, September 01, 2016 5:43 AM > To: Qianyu Gong ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Mingkai Hu > ; Shaohui Xie ; Zhiqiang Hou > ; Wenbin Song ; Shengzhou Liu > > Subject: Re: [Patch v2 7/7] armv8: ls1046ardb: Add

Re: [U-Boot] Q on expected u-boot behavior on ping response

2016-08-31 Thread John Rama
Thanks, Chris !! Understood. John On 2016/09/01 10:42, Chris Packham wrote: > On Tue, Aug 30, 2016 at 10:19 PM, John Rama wrote: >> Dear u-boot network experts, >> >> I'm now working on NXP MX6Q Sabreauto board with AR8031 network card. >> I'm using rel_imx_4.1.15_1.2.0_ga. >> >> Basically, the

[U-Boot] [PATCH V4 2/2] mmc: sd: optimize erase

2016-08-31 Thread Peng Fan
To SD, there is no erase group, then the value erase_grp_size will be default 1. When erasing SD blocks, the blocks will be erased one by one, which is time consuming. We use AU_SIZE as a group to speed up the erasing. Erasing 4MB with a SD2.0 Card with AU_SIZE 4MB. `time mmc erase 0x10 0x200

[U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status

2016-08-31 Thread Peng Fan
Add function to read SD_STATUS information. According to the information, get erase_timeout/erase_size/erase_offset. Add a structure sd_ssr to include the erase related information. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Simon Glass Cc: Bin Meng Cc: Stefan Wahren Cc: Clemens Gruber Cc

Re: [U-Boot] [Patch v2 0/7] Add LS1046ARDB board support

2016-08-31 Thread Zhiqiang Hou
> -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@nxp.com] > Sent: 2016年8月31日 18:04 > To: u-boot@lists.denx.de; york sun > Cc: Prabhakar Kushwaha ; Mingkai Hu > ; Shaohui Xie ; Zhiqiang Hou > ; Wenbin Song ; > Shengzhou Liu ; Qianyu Gong > > Subject: [Patch v2 0/7] Add LS1046

Re: [U-Boot] [PATCH v3 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-31 Thread Kever Yang
On 08/31/2016 08:32 PM, Marek Vasut wrote: On 08/31/2016 10:40 AM, Kever Yang wrote: The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, add one variable in dwc3/dwc3_device struct to support 16 bit UTMI+ interface on some SoCs like Rockchip rk3399. Signed-off-by: Kever Yang --

Re: [U-Boot] [PATCH v3 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-31 Thread Kever Yang
Hi Marek, On 08/31/2016 08:30 PM, Marek Vasut wrote: On 08/31/2016 10:40 AM, Kever Yang wrote: This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v3: - remove utmi width DT parse from borad init OK Changes in v2: - parse dt for

Re: [U-Boot] [PATCH V3 1/2] mmc: sd: extracting erase timeout information from sd status

2016-08-31 Thread Peng Fan
Hi Jaehoon, On Wed, Aug 31, 2016 at 09:50:24PM +0900, Jaehoon Chung wrote: >Hi Peng, > >On 08/30/2016 06:34 PM, Jaehoon Chung wrote: >> Hi Peng, >> >> On 08/23/2016 05:12 PM, Peng Fan wrote: >>> Add function to read SD_STATUS information. >>> According to the information, get erase_timeout/erase_si

[U-Boot] [PATCH v4 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-31 Thread Kever Yang
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, add one variable in dwc3/dwc3_device struct to support 16 bit UTMI+ interface on some SoCs like Rockchip rk3399. Signed-off-by: Kever Yang --- Changes in v4: - use 1 bit for usb2_phyif_utmi_width instead of 5bit Changes in v3: -

[U-Boot] [PATCH v4 4/4] config: rk3399: add support for dwc3 gadget

2016-08-31 Thread Kever Yang
To support fastboot, we need to enable the controller first. rk3399 is using dwc3 as usb device controller, this patch enable the configs for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v4: None Changes in v3: - move the config into Kconfig file. Changes in v2: - remove config for US

[U-Boot] [PATCH v4 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-31 Thread Kever Yang
This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v4: - parse DT for quirk, base address and maximum speed Changes in v3: - remove utmi width DT parse from borad init Changes in v2: - parse dt for utmi width board/rockchip/evb_rk

[U-Boot] [PATCH v4 1/4] rk3399: add a empty "sys_proto.h" header file

2016-08-31 Thread Kever Yang
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a empty one to make compile success. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++ 1 file changed, 1

[U-Boot] [PATCH v4 0/4] rk3399: enable dwc3 gadget and fastboot

2016-08-31 Thread Kever Yang
This patch set enable rk3399 dwc3 controller and gadget driver for fastboot. Changes in v4: - parse DT for quirk, base address and maximum speed - use 1 bit for usb2_phyif_utmi_width instead of 5bit Changes in v3: - remove utmi width DT parse from borad init - Parse the DT for utmi+ interface w

Re: [U-Boot] [PATCH v1] mtd: nand: pxa3xx: use nand_set_controller_data

2016-08-31 Thread Chris Packham
On Mon, Aug 29, 2016 at 3:20 PM, Chris Packham wrote: > In commit 17cb4b8f327e ("mtd: nand: Add+use mtd_to/from_nand and > nand_get/set_controller_data") the assignment of mtd->priv was removed > but was not replaced. This adds the required nand_set_controller_data() > call. > > Signed-off-by: Chr

Re: [U-Boot] is there really a "CONFIG_RAMBOOT" config option?

2016-08-31 Thread Chris Packham
On Wed, Aug 31, 2016 at 11:24 PM, Robert P. J. Day wrote: > > just tripped across this in master branch: > > $ grep -rw CONFIG_RAMBOOT * > doc/README.ramboot-ppc85xx: #ifdef CONFIG_RAMBOOT > include/configs/at91rm9200ek.h:#ifdef CONFIG_RAMBOOT > README: CONFIG_RAMBOOT and CONFIG_NFSBOO

Re: [U-Boot] Q on expected u-boot behavior on ping response

2016-08-31 Thread Chris Packham
On Tue, Aug 30, 2016 at 10:19 PM, John Rama wrote: > Dear u-boot network experts, > > I'm now working on NXP MX6Q Sabreauto board with AR8031 network card. > I'm using rel_imx_4.1.15_1.2.0_ga. > > Basically, the network works fine. u-boot can send ping to other device, do > the tftp boot as well.

[U-Boot] [PATCH v4 06/13] ext4: scan all directory blocks when looking up an entry

2016-08-31 Thread Stefan Brüns
Scanning only the direct blocks of the directory file may falsely report an existing file as nonexisting, and worse can also lead to creation of a duplicate entry on file creation. Signed-off-by: Stefan Brüns Reviewed-by: Lukasz Majewski --- fs/ext4/ext4_common.c | 84 --

Re: [U-Boot] [PATCH v3 3/4] ext4: fix endianess problems in ext4 write support

2016-08-31 Thread Stefan Bruens
Hi Michael, found two more errors, see below. Kind regards, Stefan On Montag, 29. August 2016 10:46:45 CEST Michael Walle wrote: > All fields were accessed directly instead of using the proper byte swap > functions. Thus, ext4 write support was only usable on little-endian > architectures. Fix

Re: [U-Boot] [Patch v2 7/7] armv8: ls1046ardb: Add LS1046ARDB board support

2016-08-31 Thread york sun
On 08/31/2016 03:17 AM, Gong Qianyu wrote: > From: Mingkai Hu > > LS1046ARDB Specification: > - > Memory subsystem: > * 8GByte DDR4 SDRAM (64bit bus) > * 512 Mbyte NAND flash > * Two 64 Mbyte high-speed SPI flash > * SD connector to interface with the SD memory card >

Re: [U-Boot] what means "extra-" versus "obj-" in Makefiles

2016-08-31 Thread Masahiro Yamada
2016-09-01 4:09 GMT+09:00 Robert P. J. Day : > > really a Kbuild question, i realize, but i'm looking at > common/Makefile, and i'm having trouble understanding the flipping > back and forth, as in: > > obj-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o > obj-$(CONFIG_ENV_IS_IN_EEPROM) += e

[U-Boot] what means "extra-" versus "obj-" in Makefiles

2016-08-31 Thread Robert P. J. Day
really a Kbuild question, i realize, but i'm looking at common/Makefile, and i'm having trouble understanding the flipping back and forth, as in: obj-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o obj-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o extra-$(CONFIG_ENV_IS_EMBEDDED) += env_embe

Re: [U-Boot] [PATCH] pbl: use "wait" command instead of "flush" command

2016-08-31 Thread york sun
On 08/31/2016 01:11 AM, Zhao Qiang wrote: > FLUSH command is restricted to CCSR space. So use WAIT > command in case of non-CCSR board. I guess you mean non-CCSR space, right? > And split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg > and txxx_nand_rcw.cfg for SPI/NAND/SD boot. It may be be

Re: [U-Boot] mx7: ums command does not mount SD card partitions

2016-08-31 Thread Fabio Estevam
Hi Ye Li, On Tue, Aug 30, 2016 at 9:16 AM, Ye Li wrote: > I tried with 20 times, no issue found. Could you change a USB cable and try > again. Thanks for testing. Just want to make sure we are using the same method to test this. When I run "ums 0 mmc 0" on mx7d sabresd I do see the "/dev/sd

Re: [U-Boot] [PATCH v4 01/10] Kconfig: Separate AM33XX SOC config from target board config

2016-08-31 Thread Hannes Schmelzer
mfG Schmelzer Hannes On 08/31/2016 06:16 PM, Andrew F. Davis wrote: On 08/31/2016 11:06 AM, Hannes Schmelzer wrote: On 08/30/2016 09:06 PM, Andrew F. Davis wrote: The config option AM33XX is used in several boards and should be defined as a stand-alone option for this SOC. We break this out f

Re: [U-Boot] [u-boot-release] [PATCH] fsl_sfp : Modify macros as per changes in SFP v3.4

2016-08-31 Thread york sun
On 08/30/2016 11:34 PM, Sumit Garg wrote: > In SFP v3.4 support for 8 keys in SRK table has been added which leads I guess you mean "SFP v3.4 supports 8 keys ...". > to corresponding changes in OSPR key revocation field. So modify > OSPR_KEY_REVOC_XXX macros accordingly. > > Signed-off-by: Sumit

[U-Boot] ext4write fails when writing into directory

2016-08-31 Thread Thomas Schaefer
Hi Stefan, I have applied your set of 13 patches to fix ext4 into my 2016.07 u-boot tree. Endianess fixes as provided by Michael Walle are also applied. I'm building for a Freescale T1024RDB eval system. When trying to write into a directory on MMC/SD card using ext4write, I get error message

[U-Boot] [PATCH] common/Kconfig: Fix various innocuous typos.

2016-08-31 Thread Robert P. J. Day
Correct a small number of spelling mistakes. Signed-off-by: Robert P. J. Day --- noticed one typo in this file so figured i might as well just do the whole thing. diff --git a/common/Kconfig b/common/Kconfig index 46e7173..4494112 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -9,13 +9

Re: [U-Boot] [PATCH v4 01/10] Kconfig: Separate AM33XX SOC config from target board config

2016-08-31 Thread Andrew F. Davis
On 08/31/2016 11:06 AM, Hannes Schmelzer wrote: > On 08/30/2016 09:06 PM, Andrew F. Davis wrote: >> The config option AM33XX is used in several boards and should be >> defined as a stand-alone option for this SOC. We break this out >> from target boards that use this SoC and common headers then ena

Re: [U-Boot] [PATCH v4 01/10] Kconfig: Separate AM33XX SOC config from target board config

2016-08-31 Thread Hannes Schmelzer
On 08/30/2016 09:06 PM, Andrew F. Davis wrote: The config option AM33XX is used in several boards and should be defined as a stand-alone option for this SOC. We break this out from target boards that use this SoC and common headers then enable AM33XX on in all the boards that used these targets t

Re: [U-Boot] SZ_* errors compiling mmc master branch

2016-08-31 Thread Stephen Warren
On 08/30/2016 07:02 PM, Jaehoon Chung wrote: Hi Stephen, On 08/31/2016 01:11 AM, Stephen Warren wrote: Jaehoon, When building git://git.denx.de/u-boot-mmc.git master for sandbox, I see the following error, and many more like it: Thanks for pointing out. I'm testing the building with buildma

[U-Boot] what's the proper use (if any) of [CONFIG_]ENV_IS_EMBEDDED?

2016-08-31 Thread Robert P. J. Day
still crawling through environment manipulation code, and noticed: ... # ifdef CONFIG_ENV_IS_EMBEDDED # error "do not define CONFIG_ENV_IS_EMBEDDED in your board config" # error "it is calculated automatically for you" # endif ... but it seems there are a number of boards that ar

Re: [U-Boot] [PATCH v3 3/4] ext4: fix endianess problems in ext4 write support

2016-08-31 Thread Michael Walle
Am 2016-08-29 10:46, schrieb Michael Walle: [..snip..] @@ -149,10 +169,10 @@ static void delete_double_indirect_block(struct ext2_inode *inode) int i; short status; static int prev_bg_bmap_idx = -1; - long int blknr; + uint32_t blknr; int remainder;

Re: [U-Boot] SZ_* errors compiling mmc master branch

2016-08-31 Thread Jaehoon Chung
Hi Stephen, On 08/31/2016 10:02 AM, Jaehoon Chung wrote: > Hi Stephen, > > On 08/31/2016 01:11 AM, Stephen Warren wrote: >> Jaehoon, >> >> When building git://git.denx.de/u-boot-mmc.git master for sandbox, I see the >> following error, and many more like it: > > Thanks for pointing out. I'm tes

Re: [U-Boot] [PATCH V3 1/2] mmc: sd: extracting erase timeout information from sd status

2016-08-31 Thread Jaehoon Chung
Hi Peng, On 08/30/2016 06:34 PM, Jaehoon Chung wrote: > Hi Peng, > > On 08/23/2016 05:12 PM, Peng Fan wrote: >> Add function to read SD_STATUS information. >> According to the information, get erase_timeout/erase_size/erase_offset. >> Add a structure sd_ssr to include the erase related informatio

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-08-31 Thread Marek Vasut
On 08/30/2016 04:01 PM, Nikolaus Schulz wrote: > With the ethernet driver model enabled, reset the device before reading > the MAC address, just like it's done for the non-device-model code path. > This avoids a timeout when the interface is first used. > > Signed-off-by: Nikolaus Schulz I'd lik

Re: [U-Boot] [PATCH v3 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-31 Thread Marek Vasut
On 08/31/2016 10:40 AM, Kever Yang wrote: > This patch add board_usb_init() and interrupt callback > for dwc3 gadget. > > Signed-off-by: Kever Yang > --- > > Changes in v3: > - remove utmi width DT parse from borad init OK > Changes in v2: > - parse dt for utmi width > > board/rockchip/evb_r

Re: [U-Boot] [PATCH v3 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-31 Thread Marek Vasut
On 08/31/2016 10:40 AM, Kever Yang wrote: > The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, > add one variable in dwc3/dwc3_device struct to support 16 bit > UTMI+ interface on some SoCs like Rockchip rk3399. > > Signed-off-by: Kever Yang > --- > > Changes in v3: > - Parse the

Re: [U-Boot] [PATCH] ARM: dts: dra72-evm: fix broken ethernet

2016-08-31 Thread Tom Rini
On Wed, Aug 31, 2016 at 05:22:19PM +0530, Mugunthan V N wrote: > With commit ceec08f50b6, phy is connected to slave 0, but > changing the phy node was missed, fix it by populating the > phy node to proper cpsw slave node. > > Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac

[U-Boot] [PATCH] ARM: dts: dra72-evm: fix broken ethernet

2016-08-31 Thread Mugunthan V N
With commit ceec08f50b6, phy is connected to slave 0, but changing the phy node was missed, fix it by populating the phy node to proper cpsw slave node. Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac node") Signed-off-by: Mugunthan V N Cc: Vignesh R --- arch/arm/dts/dra7

[U-Boot] [RFC] board/liteboard: Add support for liteSOM and liteBoard

2016-08-31 Thread Marcin Niestroj
liteSOM is a System On Module (http://grinn-global.com/litesom/). It can't exists on its own, but will be used as part of other boards. Hardware specification: * NXP i.MX6UL processor * 256M or 512M DDR3 memory * optional eMMC (uSDHC2) liteBoard is a development board which uses liteSOM as its

[U-Boot] is there really a "CONFIG_RAMBOOT" config option?

2016-08-31 Thread Robert P. J. Day
just tripped across this in master branch: $ grep -rw CONFIG_RAMBOOT * doc/README.ramboot-ppc85xx: #ifdef CONFIG_RAMBOOT include/configs/at91rm9200ek.h:#ifdef CONFIG_RAMBOOT README: CONFIG_RAMBOOT and CONFIG_NFSBOOT $ i have looked no further than this, so it might be perfectly val

[U-Boot] Q on expected u-boot behavior on ping response

2016-08-31 Thread John Rama
Dear u-boot network experts, I'm now working on NXP MX6Q Sabreauto board with AR8031 network card. I'm using rel_imx_4.1.15_1.2.0_ga. Basically, the network works fine. u-boot can send ping to other device, do the tftp boot as well. But, I just realized that u-boot never respond on ping command

[U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-08-31 Thread Nikolaus Schulz
With the ethernet driver model enabled, reset the device before reading the MAC address, just like it's done for the non-device-model code path. This avoids a timeout when the interface is first used. Signed-off-by: Nikolaus Schulz --- drivers/usb/eth/asix88179.c | 4 1 file changed, 4 inse

[U-Boot] [Patch v2 6/7] armv8: ls1046a: disable SATA ECC in DCSR

2016-08-31 Thread Gong Qianyu
From: Shaohui Xie This is a workaround to fix SATA CRC error. Once the root cause is found the ECC disabling will be removed. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2: - Use values directly instead of macros. - Revise commit message. arch/arm/cpu/armv8/fsl-layerscape/s

[U-Boot] [Patch v2 5/7] armv8: ls1046a: Enable DDR erratum for ls1046a

2016-08-31 Thread Gong Qianyu
From: Shengzhou Liu Enable ERRATUM_A008511, ERRATUM_A009801, ERRATUM_A009803, ERRATUM_A009942, ERRATUM_A010165 Signed-off-by: Shengzhou Liu Signed-off-by: Gong Qianyu --- v2: - Add ERRATUM_A008511. arch/arm/include/asm/arch-fsl-layerscape/config.h | 6 ++ 1 file changed, 6 insertions(+)

[U-Boot] [Patch v2 2/7] armv8: fsl-layerscape: Increase L2 Data RAM latency and L2 Tag RAM latency

2016-08-31 Thread Gong Qianyu
From: Mingkai Hu According to design specification, the L2 cache operates at the same frequency as the A72 CPUs in the cluster with a 3-cycle latency, so increase the L2 Data RAM and Tag RAM latency to 3 cycles, or else, will run into different call trace issues. Signed-off-by: Mingkai Hu Signe

[U-Boot] [Patch v2 1/7] ddr: fsl: fix a compile issue

2016-08-31 Thread Gong Qianyu
From: Shaohui Xie When CONFIG_SYS_FSL_ERRATUM_A009801 is defined but CONFIG_SYS_FSL_ERRATUM_A008511 not defined, there is compile error that temp32 undeclared, this patch fixes it. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2: - No change. drivers/ddr/fsl/fsl_ddr_gen4.c | 7

[U-Boot] [Patch v2 7/7] armv8: ls1046ardb: Add LS1046ARDB board support

2016-08-31 Thread Gong Qianyu
From: Mingkai Hu LS1046ARDB Specification: - Memory subsystem: * 8GByte DDR4 SDRAM (64bit bus) * 512 Mbyte NAND flash * Two 64 Mbyte high-speed SPI flash * SD connector to interface with the SD memory card * On-board 4G eMMC Ethernet: * Two XFI 10G ports * Two SGMI

[U-Boot] [Patch v2 3/7] Export memset for standalone AQ FW load apps

2016-08-31 Thread Gong Qianyu
From: Shaohui Xie The 'commit 95279315076c ("board/ls2085rdb: Export functions for standalone AQ FW load apps")' mentioned memset was exported but it was not, this patch exports the memset. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2: - Revise commmit message. include/_expo

[U-Boot] [Patch v2 4/7] armv8: fsl-layerscape: add define CONFIG_STANDALONE_LOAD_ADDR for standalone app

2016-08-31 Thread Gong Qianyu
From: Shaohui Xie The CONFIG_STANDALONE_LOAD_ADDR is set to 0x8030 by default. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- v2: - No change. arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl

[U-Boot] [Patch v2 0/7] Add LS1046ARDB board support

2016-08-31 Thread Gong Qianyu
Hi all, This is version 2 patchset mainly to add support for LS1046ARDB board. It should be based on two DDR patches to work well on LS1046ARDB. The two patches are: http://patchwork.ozlabs.org/patch/663534/ http://patchwork.ozlabs.org/patch/663535/ PCIe and USB are not supported yet due to lack

[U-Boot] what means the "CONFIG_SYS_USE_PPCENV" config setting?

2016-08-31 Thread Robert P. J. Day
currently pawing my way through the mechanics of u-boot environment, and noticed that a small number of boards support: $ grep -r PPCENV * common/env_embedded.c:#if defined(CONFIG_SYS_USE_PPCENV) && \ common/env_embedded.c:# define __PPCENV__ __attribute__ ((section(".ppcenv"))) common/e

Re: [U-Boot] Ethernet on FDI3250 board

2016-08-31 Thread Vladimir Zapolskiy
Hi Jonatan, On 13.04.2016 22:50, Jonatan Personal wrote: > Hi everyone, I'm working on a FDI3250 board (after a long time I purchased > this board, I finally found time to work on it) and I'm facing a problem > with uboot and ethernet. I know from commit logs that Vladimir Zapolskiy is > working o

Re: [U-Boot] [PATCH 00/12] sh: change arch and boards code to generic board

2016-08-31 Thread Vladimir Zapolskiy
On 06.08.2016 21:21, Vladimir Zapolskiy wrote: > The changeset implements initial support of relocatable U-Boot code > for SH2/SH3/SH4 architectures and boards, as weel as it restores > a possibility to boot U-Boot on SH boards, which has not been converted > to generic board in time (for more deta

[U-Boot] [PATCH] fsl_sfp : Modify macros as per changes in SFP v3.4

2016-08-31 Thread Sumit Garg
In SFP v3.4 support for 8 keys in SRK table has been added which leads to corresponding changes in OSPR key revocation field. So modify OSPR_KEY_REVOC_XXX macros accordingly. Signed-off-by: Sumit Garg --- include/fsl_sfp.h | 23 +++ 1 file changed, 15 insertions(+), 8 deletio

[U-Boot] [PATCH] pbl: use "wait" command instead of "flush" command

2016-08-31 Thread Zhao Qiang
FLUSH command is restricted to CCSR space. So use WAIT command in case of non-CCSR board. And split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg and txxx_nand_rcw.cfg for SPI/NAND/SD boot. Signed-off-by: Zhao Qiang --- .../t102xqds/{t1024_rcw.cfg => t1024_nand_rcw.cfg} | 0 .../t102xqds/{t

[U-Boot] [PATCH v3 4/4] config: rk3399: add support for dwc3 gadget

2016-08-31 Thread Kever Yang
To support fastboot, we need to enable the controller first. rk3399 is using dwc3 as usb device controller, this patch enable the configs for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v3: - move the config into Kconfig file. Changes in v2: - remove config for USB2PHY UTMI BITS co

[U-Boot] [PATCH v3 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-31 Thread Kever Yang
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, add one variable in dwc3/dwc3_device struct to support 16 bit UTMI+ interface on some SoCs like Rockchip rk3399. Signed-off-by: Kever Yang --- Changes in v3: - Parse the DT for utmi+ interface width in dwc3 driver Changes in v2:

[U-Boot] [PATCH v3 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-31 Thread Kever Yang
This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang --- Changes in v3: - remove utmi width DT parse from borad init Changes in v2: - parse dt for utmi width board/rockchip/evb_rk3399/evb-rk3399.c | 23 +++ 1 file changed, 23 in

[U-Boot] [PATCH v3 1/4] rk3399: add a empty "sys_proto.h" header file

2016-08-31 Thread Kever Yang
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a empty one to make compile success. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++ 1 file changed, 10 insertions(+) cre

[U-Boot] [PATCH v3 0/4] rk3399: enable dwc3 gadget and fastboot

2016-08-31 Thread Kever Yang
This patch set enable rk3399 dwc3 controller and gadget driver for fastboot. Changes in v3: - remove utmi width DT parse from borad init - Parse the DT for utmi+ interface width in dwc3 driver - move the config into Kconfig file. Changes in v2: - parse dt for utmi width - use a variable to iden