[U-Boot] [PATCH v1] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-17 Thread Haikun Wang
Move the Freescale QSPI driver over to driver model. Signed-off-by: Haikun Wang haikun.w...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- This patch adds DM support for FSL QSPI driver. Now this driver can support both DM frame and old SPI frame. Driver structure like below

[U-Boot] [PATCH v2] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-09 Thread Haikun Wang
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Coding style cleanup - Add some comments - Use structures for I/O access - Handle timeout case in 'dspi_tx' and 'dspi_rx' - Move

[U-Boot] [PATCH 2/5] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-24 Thread Haikun Wang
From: haikun haikun.w...@freescale.com Bring in required device tree files for ls1021a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/Makefile| 3 + arch/arm/dts/ls1021a

[U-Boot] [PATCH 3/5 v1] dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1

2015-03-24 Thread Haikun Wang
this requirement now and u-boot fdtdec_get_xxx interfaces can't support property whose size is 'u64' completely. So make this change. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 6 ++-- arch/arm/dts/ls1021a-twr.dts | 2 +- arch/arm/dts/ls1021a.dtsi

[U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to support DM SPI

2015-03-24 Thread Haikun Wang
Update DSPI controller node in ls1021a.dtsi. Update flash device node in ls1021a-qds.dts. Ls1021a-twr board doesn't support DSPI, so remove DSPI node in ls1021a-twr.dts. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 3 ++- arch/arm/dts/ls1021a-twr.dts

[U-Boot] [PATCH 1/5 v1] dm: arm: Bring in skeleton64 device tree file from Linux

2015-03-24 Thread Haikun Wang
Backport of kernel commits: 7c14f6c719de092d69c81877786e83ce7ae1a860 35faad2a1563b3d4dc983a82ac41033fe053870c Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/skeleton64.dtsi | 13 + 1 file changed, 13 insertions(+) create mode 100644 arch/arm

[U-Boot] [PATCH 5/5 v1] dm: ls1021a: dts: Add QSPI dts node

2015-03-24 Thread Haikun Wang
Add QSPI controller dts node in ls1021a.dtsi. Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 14 ++ arch/arm/dts/ls1021a-twr.dts | 14 ++ arch/arm/dts

[U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-24 Thread Haikun Wang
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v3: - Coding style cleanup - Remove cur_slave_plat in structure fsl_dspi_priv - Change arguments of 'claim_bus' and 'release_bus' - Remove 'fsl_dspi_child_post_remove' - Add

[U-Boot] [PATCH 2/5 v2] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-25 Thread Haikun Wang
From: haikun haikun.w...@freescale.com Bring in required device tree files for ls1021a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Use CONFIG_LS102XA in arch/arm/dts

[U-Boot] [PATCH 2/2 v1] sf: Update AT45DB021D flash chip parameters

2015-03-25 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com AT45DB021D flash size is 1024*page_size, page_size is 256bytes or 264bytes. In current params_table its size is 64*1024*8, recorrect it. Add AT45DB_CMD flag for AT45DB021D. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v1: None

[U-Boot] [PATCH 1/2 v1] sf: probe: Add support Atmel AT45DB series devices special commands

2015-03-25 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Atmel AT45DB series devices commands is different from common spi flash commands. This patch add support for AT45DB special commands. Add a flag AT45DB_CMD to control whether use those commands. Signed-off-by: Haikun Wang haikun.w...@freescale.com

[U-Boot] [PATCH v2] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread Haikun Wang
Move the Freescale QSPI driver over to driver model. Signed-off-by: Haikun Wang haikun.w...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes in v2: - Fix build fail on mx6sxsabresd_spl issue - Add configure regmap endian in NO-DM model Changes in v1: None. drivers/spi

[U-Boot] [PATCH 1/3 v1] arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a

2015-03-26 Thread Haikun Wang
Define CONFIG_DEFAULT_DEVICE_TREE for ls1021a series boards. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- configs/ls1021aqds_ddr4_nor_defconfig| 1 + configs/ls1021aqds_nand_defconfig| 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 1 + configs

[U-Boot] [PATCH 2/3 v1] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-03-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- include/configs/ls1021aqds.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion

[U-Boot] [PATCH 3/3 v1] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-03-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- include/configs/ls1021atwr.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion

[U-Boot] [PATCH] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-23 Thread Haikun Wang
address-cells and size-cells of root node and 'soc' node from 2 to 1. 4. Add quadspi node. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/Makefile| 3 + arch/arm/dts/ls1021a-qds.dts | 47 arch/arm/dts/ls1021a-twr.dts | 31 + arch/arm/dts/ls1021a.dtsi

[U-Boot] [PATCH v2] dm: sf: Add Atmel DataFlash spi flash driver

2015-04-24 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Verified with AT45DB021B

[U-Boot] [PATCH 2/3 v2] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-04-21 Thread Haikun Wang
Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI is enabled only when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Move all changes inside of CONFIG_QSPI_BOOT Changes in v1: None

[U-Boot] [PATCH 3/3 v2] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-04-21 Thread Haikun Wang
Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Move all changes inside of CONFIG_QSPI_BOOT Changes in v1: None

[U-Boot] [PATCH v1 1/2] cmd_sf: Add command sf info to show current device info

2015-04-29 Thread Haikun Wang
Add command sf info to show the information of the current SPI flash device. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- In current sf driver, we show the debug information during the flash probe period. In case of without DM SPI, we need to run command sf probe to get the debug

[U-Boot] [PATCH v1 2/2] dm: sf: Update default name of spi flash in structure udevice

2015-04-29 Thread Haikun Wang
Default name of spi flash like this 0:0, update it to spi_flash@0:0. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sf-uclass.c b/drivers/mtd/spi/sf-uclass.c index 4b25902

[U-Boot] [PATCH v2] dm: sf: Update default name of spi flash in structure udevice

2015-05-05 Thread Haikun Wang
Default name of spi flash like this 0:0, update it to spi_flash@0:0. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Increase the size of array name to 30 Changes in v1: None drivers/mtd/spi/sf-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v3] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-05 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Verified with AT45DB021B

[U-Boot] [PATCH v5 1/4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-18 Thread Haikun Wang
byte(s) were the same Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Verified with AT45DB021B on LS1021AQDS. Changes in v5: - Change CONFIG_DM_SF_DATAFLASH to CONFIG_SF_DATAFLASH Changes in v4: - Use dev_get_priv and dev_get_uclass_priv - Add test log to commit message Changes in v3

[U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use spi_dataflash driver instead of spi_flash_std for DSPI flash

2015-05-18 Thread Haikun Wang
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail commands and page-size. Use the special spi flash driver instead of spi_flash_std driver. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/ls1021a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH v3 3/4] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-05-18 Thread Haikun Wang
Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI is enabled only when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v3: - Remove CONFIG_SPI_FLASH_ATMEL - IS_ENABLED(CONFIG_XXX) is only work

[U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-05-18 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com Change-Id

[U-Boot] [PATCH v4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-14 Thread Haikun Wang
byte(s) were the same Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Verified with AT45DB021B on LS1021AQDS. Changes in v4: - Use dev_get_priv and dev_get_uclass_priv - Add test log to commit message Changes in v3: - 1. Rename file spi_dataflash.c to sf_dataflash.c - 2. Add comment

[U-Boot] [PATCH v1] dm: sf: Add Atmel DataFlash spi flash driver

2015-04-17 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/Makefile

[U-Boot] [PATCH v6 1/5] dm: sf: Add Atmel DataFlash spi flash driver

2015-06-26 Thread Haikun Wang
byte(s) were the same Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Verified with AT45DB021B on LS1021AQDS. Changes in v6: - Add defconfig patch in this series Changes in v5: - Change CONFIG_DM_SF_DATAFLASH to CONFIG_SF_DATAFLASH Changes in v4: - Use dev_get_priv

[U-Boot] [PATCH v4 4/5] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com Change-Id

[U-Boot] [PATCH] armv7: ls1021a: Enable OF_CONTROL and DM support for DSPI and QSPI in defconfig

2015-06-26 Thread Haikun Wang
DSPI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- configs/ls1021aqds_qspi_defconfig | 4 configs/ls1021atwr_qspi_defconfig | 4 2 files changed, 8 insertions(+) diff

[U-Boot] [PATCH 1/5] sf: sf_dataflash: Remove inline property of function dataflash_status

2015-07-02 Thread Haikun Wang
Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf_dataflash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 3111f4f..f83f994 100644 --- a/drivers/mtd/spi/sf_dataflash.c +++ b

[U-Boot] [PATCH 5/5] sf: sf_dataflash: Update probing method of old chips which not support Device ID

2015-07-02 Thread Haikun Wang
status_byte. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf_dataflash.c | 226 +++-- 1 file changed, 107 insertions(+), 119 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 648f3ca

[U-Boot] [PATCH 4/5] sf: sf_dataflash: Change the return value of jedec_probe to int

2015-07-02 Thread Haikun Wang
Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf_dataflash.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 6bf628b..648f3ca 100644 --- a/drivers

[U-Boot] [PATCH 3/5] sf: sf_dataflash: Remove CONFIG_SPI_DATAFLASH_WRITE_VERIFY option

2015-07-02 Thread Haikun Wang
Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf_dataflash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 8f91527..6bf628b 100644 --- a/drivers/mtd/spi/sf_dataflash.c +++ b/drivers/mtd/spi

[U-Boot] [PATCH 2/5] sf: sf_dataflash: Add error handler when flash operate fail

2015-07-02 Thread Haikun Wang
Add error handler when write/erase flash fail. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- drivers/mtd/spi/sf_dataflash.c | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi

[U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support

2015-07-03 Thread Haikun Wang
Freescale DSPI driver has been converted to Driver Model. The new driver is depended on OF_CONTROL, DM, DM_SPI. This patch enable FSL_DSPI and its dependence configure options. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- configs/ls2085aqds_defconfig | 7 +++ configs

[U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS

2015-07-03 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable DSPI flash related configurations. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- include/configs/ls2085aqds.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h

[U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB

2015-07-03 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Enable DSPI flash related configurations for LS2085ARDB. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- include/configs/ls2085ardb.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/ls2085ardb.h b/include/configs

[U-Boot] [PATCH v2] sf: update sst25wf040b flash params

2015-06-29 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com sst25wf040b doesn't support Auto Address Increment Programming command. Remove SST_WR flag. Signed-off-by: Haikun Wang b53...@freescale.com --- Changes in V2: - Remove extra line drivers/mtd/spi/sf_params.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2] arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a

2015-05-25 Thread Haikun Wang
QSPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Enable CONFIG_OF_CONTROL - Using the savedefconfig feature - Only Changeing the defconfig when boot from QSPI Changes in v1: None configs/ls1021aqds_qspi_defconfig | 2 ++ configs/ls1021atwr_qspi_defconfig | 2 ++ 2

[U-Boot] [PATCH v2 2/5] dm: ls1021aqds: dts: Use spi_dataflash driver instead of spi_flash_std for DSPI flash

2015-06-26 Thread Haikun Wang
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail commands and page-size. Use the special spi flash driver instead of spi_flash_std driver. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Add defconfig patch in this series arch/arm/dts/ls1021a-qds.dts

[U-Boot] [PATCH] sf: update sst25wf040b flash params

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com sst25wf040b doesn't support Auto Address Increment Programming command. Remove SST_WR flag. Signed-off-by: Haikun Wang b53...@freescale.com --- drivers/mtd/spi/sf_params.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[U-Boot] [PATCH v2 5/5] armv7: ls1021a: Enable OF_CONTROL and DM support for DSPI and QSPI in defconfig

2015-06-26 Thread Haikun Wang
DSPI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v2: - Add this defconfig patch to previous dataflash driver patches series Test log on LS1021AQDS: = sf probe 1:0 SPI

[U-Boot] [PATCH 1/2] armv8: ls2085aqds: DSPI pin muxing configure through QIXIS

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com DSPI has pin muxing with SDHC and other IPs, this patch check the value of RCW SPI_PCS_BASE and SPI_BASE_BASE fields, it also check the hwconfig configuration, if those pins are configured to DSPI and hwconfig enable DSPI, set the BRDCFG5 of QIXIS FPGA

[U-Boot] [PATCH 2/2] armv8: ls2085ardb: DSPI pin muxing configure through QIXIS CPLD

2015-06-26 Thread Haikun Wang
memory. Otherwise will configure to SDHC. Enable DSPI in u-boot hwconfig using below command: setenv hwconfig $hwconfig;dspi Signed-off-by: Haikun Wang haikun.w...@freescale.com --- board/freescale/ls2085ardb/ls2085ardb.c | 47 + 1 file changed, 47 insertions

[U-Boot] [PATCH] fdt: armv8: Fix build warnings on armv8

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Fix below build warnings on armv8, drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’: drivers/spi/fsl_dspi.c:667:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘fdt_addr_t’ [-Wformat

[U-Boot] [PATCH v4 3/5] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-06-26 Thread Haikun Wang
Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI is enabled only when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- Changes in v4: - Add defconfig patch in this series Changes in v3: - Remove

[U-Boot] [PATCH 06/12] fdt: armv8: Fix build warnings on armv8

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Fix below build warnings on armv8, drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’: drivers/spi/fsl_dspi.c:667:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘fdt_addr_t’ [-Wformat

[U-Boot] [PATCH 05/12] armv8: ls2085a: Enable DSPI get input clk form 'mxc_get_clock'

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/cpu/armv8/fsl-lsch3/speed.c| 2 ++ arch/arm/include/asm/arch-fsl-lsch3/clock.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c b/arch

[U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Bring in required device tree files for ls2085a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/fsl-ls2085a.dtsi | 120

[U-Boot] [PATCH 2/3] dm: dts: ls2085a: Add DSPI dts node

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Add DSPI controller dts node in fsl-ls2085a.dtsi Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/fsl-ls2085a.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/fsl-ls2085a.dtsi b/arch/arm/dts/fsl

[U-Boot] [PATCH 3/3] dm: dts: ls2085a: Add dts files for LS2085AQDS and LS2085ARDB

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Add dts source files for LS2085AQDS and LS2085ARDB boards. Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/dts/Makefile| 2 ++ arch/arm/dts/fsl-ls2085a-qds.dts | 53 arch/arm/dts

[U-Boot] [PATCH] armv8: ls2085a: Enable DSPI get input clk form 'mxc_get_clock'

2015-06-26 Thread Haikun Wang
From: Haikun Wang haikun.w...@freescale.com Signed-off-by: Haikun Wang haikun.w...@freescale.com --- arch/arm/cpu/armv8/fsl-lsch3/speed.c| 2 ++ arch/arm/include/asm/arch-fsl-lsch3/clock.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c b/arch

[U-Boot] [PATCH] generic_board: Call checkboard even though the root node has a model property

2015-07-09 Thread Haikun Wang
: B, boot from vBank: 4 Signed-off-by: Haikun Wang haikun.w...@freescale.com --- common/board_info.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/common/board_info.c b/common/board_info.c index 42d0641..4e5a1f7 100644 --- a/common/board_info.c +++ b/common