• pekon gupta's avatar
    mtd: nand: omap: add CONFIG_SYS_NAND_BUSWIDTH_16BIT to indicate NAND device bus-width · b80a6603
    pekon gupta authored
    GPMC controller needs to be configured based on bus-width of the NAND device
    connected to it. Also, dynamic detection of NAND bus-width from on-chip ONFI
    parameters is not possible in following situations:
    SPL:    SPL NAND drivers does not support ONFI parameter reading.
    U-boot: GPMC controller iniitalization is done in omap_gpmc.c:board_nand_init()
            which is called before probing for devices, hence any ONFI parameter
            information is not available during GPMC initialization.
    
    Thus, OMAP NAND driver expected board developers to explicitely write GPMC
    configurations specific to NAND device attached on board in board files itself.
    But this was troublesome for board manufacturers as they need to dive into
    lengthy platform & SoC documents to find details of GPMC registers and
    appropriate configurations to get NAND device working.
    
    This patch instead adds existing CONFIG_SYS_NAND_BUSWIDTH_16BIT to board config
    hich indicates that connected NAND device has x16 bus-width. And then based on
    this config GPMC driver itself initializes itself based on NAND bus-width. This
    keeps board developers free from knowing GPMC controller specific internals.
    Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
    b80a6603
Name
Last commit
Last update
..
DocBook Loading commit data...
SPI Loading commit data...
SPL Loading commit data...
device-tree-bindings Loading commit data...
driver-model Loading commit data...
uImage.FIT Loading commit data...
I2C_Edge_Conditions Loading commit data...
README.440-DDR-performance Loading commit data...
README.AMCC-eval-boards-cleanup Loading commit data...
README.ARC Loading commit data...
README.ARM-SoC Loading commit data...
README.ARM-memory-map Loading commit data...
README.AVR32 Loading commit data...
README.AVR32-port-muxing Loading commit data...
README.JFFS2 Loading commit data...
README.JFFS2_NAND Loading commit data...
README.LED Loading commit data...
README.LED_display Loading commit data...
README.MPC866 Loading commit data...
README.Modem Loading commit data...
README.N1213 Loading commit data...
README.NDS32 Loading commit data...
README.NetConsole Loading commit data...
README.OFT Loading commit data...
README.POST Loading commit data...
README.SNTP Loading commit data...
README.SPL Loading commit data...
README.TPL Loading commit data...
README.VLAN Loading commit data...
README.VSC3316-3308 Loading commit data...
README.ag102 Loading commit data...
README.android-fastboot Loading commit data...
README.android-fastboot-protocol Loading commit data...
README.arm-caches Loading commit data...
README.arm-relocation Loading commit data...
README.arm64 Loading commit data...
README.at91 Loading commit data...
README.at91-soc Loading commit data...
README.atmel_mci Loading commit data...
README.atmel_pmecc Loading commit data...
README.autoboot Loading commit data...
README.b4860qds Loading commit data...
README.bedbug Loading commit data...
README.bitbangMII Loading commit data...
README.blackfin Loading commit data...
README.bootmenu Loading commit data...
README.bus_vcxk Loading commit data...
README.cfi Loading commit data...
README.commands Loading commit data...
README.commands.itest Loading commit data...
README.commands.spl Loading commit data...
README.console Loading commit data...
README.davinci Loading commit data...
README.davinci.nand_spl Loading commit data...
README.displaying-bmps Loading commit data...
README.dns Loading commit data...
README.drivers.eth Loading commit data...
README.enetaddr Loading commit data...
README.ext4 Loading commit data...
README.falcon Loading commit data...
README.fdt-control Loading commit data...
README.fec_mxc Loading commit data...
README.fsl-ddr Loading commit data...
README.fsl-hwconfig Loading commit data...
README.fsl_iim Loading commit data...
README.fuse Loading commit data...
README.generic-board Loading commit data...
README.generic_usb_ohci Loading commit data...
README.gpt Loading commit data...
README.hwconfig Loading commit data...
README.idma2intr Loading commit data...
README.imx25 Loading commit data...
README.imx27 Loading commit data...
README.imx31 Loading commit data...
README.imx5 Loading commit data...
README.imx6 Loading commit data...
README.imximage Loading commit data...
README.iomux Loading commit data...
README.kwbimage Loading commit data...
README.link-local Loading commit data...
README.lynxkdi Loading commit data...
README.m54418twr Loading commit data...
README.m68k Loading commit data...
README.malta Loading commit data...
README.marubun-pcmcia Loading commit data...
README.memory-test Loading commit data...
README.menu Loading commit data...
README.mips Loading commit data...
README.mpc5xx Loading commit data...
README.mpc74xx Loading commit data...
README.mpc83xx.ddrecc Loading commit data...
README.mpc83xxads Loading commit data...
README.mpc85xx Loading commit data...
README.mpc85xx-sd-spi-boot Loading commit data...
README.mpc85xx-spin-table Loading commit data...
README.mpc85xxads Loading commit data...
README.mpc85xxcds Loading commit data...
README.mxc_hab Loading commit data...
README.mxc_ocotp Loading commit data...
README.mxs Loading commit data...
README.mxsimage Loading commit data...
README.nand Loading commit data...
README.nand-boot-ppc440 Loading commit data...
README.ne2000 Loading commit data...
README.nokia_rx51 Loading commit data...
README.omap-reset-time Loading commit data...
README.omap-ulpi-viewport Loading commit data...
README.omap3 Loading commit data...
README.pblimage Loading commit data...
README.plan9 Loading commit data...
README.power-framework Loading commit data...
README.ppc440 Loading commit data...
README.pxe Loading commit data...
README.qemu-mips Loading commit data...
README.ramboot-ppc85xx Loading commit data...
README.rmobile Loading commit data...
README.s5pc1xx Loading commit data...
README.sata Loading commit data...
README.sched Loading commit data...
README.scrapyard Loading commit data...
README.serial_multi Loading commit data...
README.sh Loading commit data...
README.sh7752evb Loading commit data...
README.sh7753evb Loading commit data...
README.sha1 Loading commit data...
README.silent Loading commit data...
README.socfpga Loading commit data...
README.spear Loading commit data...
README.splashprepare Loading commit data...
README.srio-pcie-boot-corenet Loading commit data...
README.standalone Loading commit data...
README.switch_config Loading commit data...
README.t4240qds Loading commit data...
README.trace Loading commit data...
README.ubi Loading commit data...
README.ublimage Loading commit data...
README.unaligned-memory-access.txt Loading commit data...
README.update Loading commit data...
README.usb Loading commit data...
README.vf610 Loading commit data...
README.video Loading commit data...
README.vxworks Loading commit data...
README.watchdog Loading commit data...
README.zfs Loading commit data...
README.zynq Loading commit data...
feature-removal-schedule.txt Loading commit data...
git-mailrc Loading commit data...
kwboot.1 Loading commit data...
mkimage.1 Loading commit data...