[U-Boot] [PATCH v1] powerpc/85xx: Add support for Integrated Flash Controller (IFC)

Kumar Gala galak at kernel.crashing.org
Fri Jan 21 16:53:16 CET 2011


On Jan 20, 2011, at 4:59 AM, Dipen Dudhat wrote:

> The Integrated Flash Controller (IFC) is used to access the external
> NAND Flash, NOR Flash, EPROM, SRAM and Generic ASIC memories.Four chip
> selects are provided in IFC so that maximum of four Flash devices can be
> hooked, but only one can be accessed at a given time.
> 
> Features supported by IFC are,
>        - Functional muxing of pins between NAND, NOR and GPCM
>        - Support memory banks of size 64KByte to 4 GBytes
>        - Write protection capability (only for NAND and NOR)
>        - Provision of Software Reset
>        - Flexible Timing programmability for every chip select
>        - NAND Machine
>                - x8/ x16 NAND Flash Interface
>                - SLC and MLC NAND Flash devices support with
>                  configurable
>                  page sizes of upto 4KB
>                - Internal SRAM of 9KB which is directly mapped and
>                  availble at
>                  boot time for NAND Boot
>                - Configurable block size
>                - Boot chip select (CS0) available at system reset
>        - NOR Machine
>                - Data bus width of 8/16/32
>                - Compatible with asynchronous NOR Flash
>                - Directly memory mapped
>                - Supports address data multiplexed (ADM) NOR device
>                - Boot chip select (CS0) available at system reset
>        - GPCM Machine (NORMAL GPCM Mode)
>                - Support for x8/16/32 bit device
>                - Compatible with general purpose addressable device
>                  e.g. SRAM, ROM
>                - External clock is supported with programmable division
>                  ratio
>        - GPCM Machine (Generic ASIC Mode)
>                - Support for x8/16/32 bit device
>                - Address and Data are shared on I/O bus
>                - Following Address and Data sequences can be supported
>                  on I/O bus
>                       - 32 bit I/O: AD
>                       - 16 bit I/O: AADD
>                       - 8 bit I/O : AAAADDDD
>                - Configurable Even/Odd Parity on Address/Data bus
>                  supported
> 
> Signed-off-by: Dipen Dudhat <Dipen.Dudhat at freescale.com>
> Acked-by: Scott Wood <scottwood at freescale.com>
> ---
> Changes from v0:
> 	- Integrated Wolfgang's comments
> arch/powerpc/cpu/mpc85xx/cpu.c        |    7 +-
> arch/powerpc/cpu/mpc8xxx/Makefile     |    1 +
> arch/powerpc/cpu/mpc8xxx/fsl_ifc.c    |   84 +++
> arch/powerpc/include/asm/config.h     |    2 +
> arch/powerpc/include/asm/fsl_ifc.h    |  947 +++++++++++++++++++++++++++++++++
> arch/powerpc/include/asm/fsl_law.h    |    1 +
> arch/powerpc/include/asm/immap_85xx.h |    4 +
> 7 files changed, 1045 insertions(+), 1 deletions(-)
> create mode 100644 arch/powerpc/cpu/mpc8xxx/fsl_ifc.c
> create mode 100644 arch/powerpc/include/asm/fsl_ifc.h

applied to 85xx next

- k


More information about the U-Boot mailing list