All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V4 00/19] Introduce cm-fx6 board
@ 2014-08-20 12:08 Nikita Kiryanov
  2014-08-20 12:08 ` [U-Boot] [PATCH V4 01/19] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_* Nikita Kiryanov
                   ` (19 more replies)
  0 siblings, 20 replies; 35+ messages in thread
From: Nikita Kiryanov @ 2014-08-20 12:08 UTC (permalink / raw)
  To: u-boot

This patch series introduces the mx6 based cm-fx6 board.
cm-fx6 comes with either single, dual, or quad core mx6 soc, and various dram
configurations.

First 12 patches are preparatory steps which include:
	- Cleanups and bug fixes for the mx6 dram config code
	- New functions and macros for enabling clocks, i2c setup, querying
	  the status of sata port, and more
	- Support for M25PE16 and M25PX16 spi flashes
	- sf probe command fix when using mxc_spi driver

NOTE: the correctness of this series depends on https://patchwork.ozlabs.org/patch/376095/

Changes in V4:
	- Rebase whole series over latest code (commit e49f14af1349eef94e41b636320bbfcace7403b5)
	- Patch "arm: mx6: add get_cpu_type()" is new to the series.
	- Adapt to use Kconfig
	- Initialize all ddr related structs statically
	- Don't #define CONFIG_SYS_L2CACHE_OFF for cm_fx6
	- Use load instead of fatload in environment scripts
	- Refactoring across board support patches (introduce some functions
	  in later patches, move/remove variables, coding style, etc. etc.);
	  Details in the patches

Changes in V3:
	- Remove CONFIG_SYS_TEXT_BASE from config file to not clash with the
	  one supplied by imx6_spl.h
	- Use (clr|set)bits_le32() where possible

Changes in V2:
	- Patch "spl: improve spi configuration" is replaced with "spl: replace
	  CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*", which kills CONFIG_SPL_SPI_*
	  defines in favor of using CONFIG_SF_DEFAULT_*.
	- Updated commit message of "sf: fix sf probe", renaming it in the process
	  to "spi: mxc: fix sf probe when using mxc_spi".
	- Return value handling.
	- Update commit message of "arm: mx6: ddr: configure MMDC for slow_pd"
	- Remove unnecessary line removal from arch/arm/cpu/armv7/mx6/ddr.c
	- Move probe_mmdc_config() code straight to dram_init()
	- Use imx6_spl.h
	- Use imx_ddr_size()

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>

Nikita Kiryanov (19):
  spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*
  mx6: add clock enabling functions
  spi: mxc: fix sf probe when using mxc_spi
  mtd: spi: add support for M25PE16 and M25PX16
  compulab: eeprom: add support for defining eeprom i2c bus
  sata: dwc_ahsata: implement sata_port_status
  i2c: imx: add macros to setup pads for multiple SoC types
  arm: mx6: ddr: cleanup
  arm: mx6: ddr: do not write into reserved bit
  arm: mx6: ddr: configure MMDC for slow_pd
  arm: mx6: ddr: fix cs0_end calculation
  arm: mx6: add get_cpu_type()
  arm: mx6: add support for Compulab cm-fx6 CoM
  arm: mx6: cm_fx6: add nand support
  arm: mx6: cm_fx6: add ethernet support
  arm: mx6: cm_fx6: add usb support
  arm: mx6: cm_fx6: add i2c support
  arm: mx6: cm_fx6: use eeprom
  arm: mx6: cm_fx6: add sata support

 arch/arm/Kconfig                              |   4 +
 arch/arm/cpu/armv7/mx6/clock.c                |  90 +++++
 arch/arm/cpu/armv7/mx6/ddr.c                  | 271 +++++++--------
 arch/arm/include/asm/arch-mx6/clock.h         |   5 +
 arch/arm/include/asm/arch-mx6/sys_proto.h     |   5 +-
 arch/arm/include/asm/imx-common/mxc_i2c.h     |  33 ++
 board/boundary/nitrogen6x/nitrogen6x.c        |   5 +
 board/compulab/cm_fx6/Kconfig                 |  23 ++
 board/compulab/cm_fx6/MAINTAINERS             |   6 +
 board/compulab/cm_fx6/Makefile                |  12 +
 board/compulab/cm_fx6/cm_fx6.c                | 483 ++++++++++++++++++++++++++
 board/compulab/cm_fx6/common.c                |  84 +++++
 board/compulab/cm_fx6/common.h                |  37 ++
 board/compulab/cm_fx6/imximage.cfg            |   8 +
 board/compulab/cm_fx6/spl.c                   | 366 +++++++++++++++++++
 board/compulab/common/eeprom.c                |  13 +-
 board/embest/mx6boards/mx6boards.c            |   5 +
 board/freescale/mx6qsabreauto/mx6qsabreauto.c |   7 +
 board/freescale/mx6sabresd/mx6sabresd.c       |   7 +
 board/freescale/mx6slevk/mx6slevk.c           |   5 +
 board/gateworks/gw_ventana/gw_ventana.c       |   7 +-
 board/genesi/mx51_efikamx/efikamx.c           |   5 +
 board/ttcontrol/vision2/vision2.c             |   5 +
 common/cmd_sf.c                               |  13 -
 configs/cm_fx6_defconfig                      |   4 +
 drivers/block/dwc_ahsata.c                    |  17 +
 drivers/mtd/spi/sf_params.c                   |   2 +
 drivers/mtd/spi/spi_spl_load.c                |   6 +-
 drivers/spi/mxc_spi.c                         |  48 +--
 include/configs/am335x_evm.h                  |   2 -
 include/configs/cm_fx6.h                      | 290 ++++++++++++++++
 include/configs/cm_t335.h                     |   1 +
 include/configs/cm_t35.h                      |   1 +
 include/configs/cm_t54.h                      |   1 +
 include/configs/da850evm.h                    |   4 -
 include/configs/dra7xx_evm.h                  |   2 -
 include/configs/embestmx6boards.h             |   2 +-
 include/configs/gw_ventana.h                  |   2 +-
 include/configs/ks2_evm.h                     |   2 -
 include/configs/mx51_efikamx.h                |   4 +-
 include/configs/mx6sabre_common.h             |   2 +-
 include/configs/mx6slevk.h                    |   2 +-
 include/configs/nitrogen6x.h                  |   2 +-
 include/configs/pcm051.h                      |   2 -
 include/configs/sama5d3xek.h                  |   2 -
 include/configs/siemens-am33x-common.h        |   2 -
 include/configs/tseries.h                     |   2 -
 include/configs/vision2.h                     |   4 +-
 include/configs/zynq-common.h                 |   2 -
 include/sata.h                                |   1 +
 include/spi_flash.h                           |  13 +
 51 files changed, 1712 insertions(+), 209 deletions(-)
 create mode 100644 board/compulab/cm_fx6/Kconfig
 create mode 100644 board/compulab/cm_fx6/MAINTAINERS
 create mode 100644 board/compulab/cm_fx6/Makefile
 create mode 100644 board/compulab/cm_fx6/cm_fx6.c
 create mode 100644 board/compulab/cm_fx6/common.c
 create mode 100644 board/compulab/cm_fx6/common.h
 create mode 100644 board/compulab/cm_fx6/imximage.cfg
 create mode 100644 board/compulab/cm_fx6/spl.c
 create mode 100644 configs/cm_fx6_defconfig
 create mode 100644 include/configs/cm_fx6.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2014-09-09 15:08 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 12:08 [U-Boot] [PATCH V4 00/19] Introduce cm-fx6 board Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 01/19] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_* Nikita Kiryanov
2014-08-21  5:31   ` Jagan Teki
2014-08-23  7:23     ` Jagan Teki
2014-08-20 12:08 ` [U-Boot] [PATCH V4 02/19] mx6: add clock enabling functions Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 03/19] spi: mxc: fix sf probe when using mxc_spi Nikita Kiryanov
2014-08-23  7:24   ` Jagan Teki
2014-08-20 12:08 ` [U-Boot] [PATCH V4 04/19] mtd: spi: add support for M25PE16 and M25PX16 Nikita Kiryanov
2014-08-21  5:32   ` Jagan Teki
2014-08-23  7:23     ` Jagan Teki
2014-08-20 12:08 ` [U-Boot] [PATCH V4 05/19] compulab: eeprom: add support for defining eeprom i2c bus Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 06/19] sata: dwc_ahsata: implement sata_port_status Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 07/19] i2c: imx: add macros to setup pads for multiple SoC types Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 08/19] arm: mx6: ddr: cleanup Nikita Kiryanov
2014-09-07 15:58   ` [U-Boot] [PATCH V5 " Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 09/19] arm: mx6: ddr: do not write into reserved bit Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 10/19] arm: mx6: ddr: configure MMDC for slow_pd Nikita Kiryanov
2014-08-25 15:36   ` Nikita Kiryanov
2014-08-25 17:05     ` Tim Harvey
2014-08-20 12:08 ` [U-Boot] [PATCH V4 11/19] arm: mx6: ddr: fix cs0_end calculation Nikita Kiryanov
2014-08-20 12:08 ` [U-Boot] [PATCH V4 12/19] arm: mx6: add get_cpu_type() Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 13/19] arm: mx6: add support for Compulab cm-fx6 CoM Nikita Kiryanov
2014-09-07 15:59   ` [U-Boot] [PATCH V5 " Nikita Kiryanov
2014-09-07 22:32     ` Marek Vasut
2014-08-20 12:09 ` [U-Boot] [PATCH V4 14/19] arm: mx6: cm_fx6: add nand support Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 15/19] arm: mx6: cm_fx6: add ethernet support Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 16/19] arm: mx6: cm_fx6: add usb support Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 17/19] arm: mx6: cm_fx6: add i2c support Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 18/19] arm: mx6: cm_fx6: use eeprom Nikita Kiryanov
2014-08-20 12:09 ` [U-Boot] [PATCH V4 19/19] arm: mx6: cm_fx6: add sata support Nikita Kiryanov
2014-08-31  8:09 ` [U-Boot] [PATCH V4 00/19] Introduce cm-fx6 board Nikita Kiryanov
2014-09-06 10:50   ` Tom Rini
2014-09-09 13:45   ` Stefano Babic
2014-09-09 15:00     ` Nikita Kiryanov
2014-09-09 15:08       ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.