• Alexander Potashev's avatar
    RT75957. twr-k70f120m: NAND Flash support; environment in flash · 7de399c1
    Alexander Potashev authored
    This patch consists of the following:
    1. NAND Flash Controller (NFC) pin configuration.
    2. NFC clock configuration (enable the clock, initialize the clock rate.)
    3. Changes to the `fsl_nfc` NFC driver:
         * Code cleanup (there were compilation warnings, e.g. unused data
             and functions.)
         * `#include <asm/immap.h>` should not be used on ARM.
         * Disable the GPIO configuration code on ARM.
         * Use `__raw_writel/__raw_readl` instead of `out_be32/in_be32`.
             The registers of the NAND Flash Controller always use the
             same endianness as the MCU core.
         * Make the code in fsl_nfc_get_id() and fsl_nfc_get_status()
             endianness-independent (they were accessing the data from
             32-bit register as an array of u8, this approach is
             endianness-dependent.)
    4. NAND support in the U-Boot configuration file.
    5. Support for environment in the NAND flash in the U-Boot configuration
         file.
    6. Increase the size of the `RAM` memory region to fit the statically
    allocated data for the NAND driver and the U-Boot framework for NAND.
    7de399c1
Name
Last commit
Last update
..
arch-a2f Loading commit data...
arch-a320 Loading commit data...
arch-arm720t Loading commit data...
arch-arm925t Loading commit data...
arch-arm926ejs Loading commit data...
arch-at91 Loading commit data...
arch-at91rm9200 Loading commit data...
arch-cortexm3 Loading commit data...
arch-davinci Loading commit data...
arch-ep93xx Loading commit data...
arch-imx Loading commit data...
arch-ixp Loading commit data...
arch-kinetis Loading commit data...
arch-kirkwood Loading commit data...
arch-ks8695 Loading commit data...
arch-lpc178x Loading commit data...
arch-lpc2292 Loading commit data...
arch-mx25 Loading commit data...
arch-mx27 Loading commit data...
arch-mx31 Loading commit data...
arch-mx51 Loading commit data...
arch-nomadik Loading commit data...
arch-omap Loading commit data...
arch-omap24xx Loading commit data...
arch-omap3 Loading commit data...
arch-pxa Loading commit data...
arch-s3c24x0 Loading commit data...
arch-s3c44b0 Loading commit data...
arch-s3c4510b Loading commit data...
arch-s3c64xx Loading commit data...
arch-s5pc1xx Loading commit data...
arch-sa1100 Loading commit data...
arch-spear Loading commit data...
arch-stm32 Loading commit data...
proc-armv Loading commit data...
atomic.h Loading commit data...
bitops.h Loading commit data...
byteorder.h Loading commit data...
cache.h Loading commit data...
config.h Loading commit data...
dma-mapping.h Loading commit data...
errno.h Loading commit data...
global_data.h Loading commit data...
hardware.h Loading commit data...
io.h Loading commit data...
mach-types.h Loading commit data...
macro.h Loading commit data...
memory.h Loading commit data...
posix_types.h Loading commit data...
processor.h Loading commit data...
ptrace.h Loading commit data...
setup.h Loading commit data...
sizes.h Loading commit data...
string.h Loading commit data...
system.h Loading commit data...
types.h Loading commit data...
u-boot-arm.h Loading commit data...
u-boot.h Loading commit data...
unaligned.h Loading commit data...