uboot/include
Brian Norris 42bd19ce6c mtd: nand: add common DT init code
These are already-documented common bindings for NAND chips. Let's
handle them in nand_base.

If NAND controller drivers need to act on this data before bringing up
the NAND chip (e.g., fill out ECC callback functions, change HW modes,
etc.), then they can do so between calling nand_scan_ident() and
nand_scan_tail().

The original commit has been slightly reworked to use the fdtdec_xxx()
helpers (instead of the of_xxxx() ones).

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
2016-07-24 20:36:28 -05:00
..
andestech
asm-generic armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
bedbug
cavium
configs ARM: uniphier: fix doubled tftpboot commands 2016-07-23 23:32:59 +09:00
cramfs
dm dm: core: Expand platdata for of-platdata devices 2016-07-14 20:40:24 -06:00
dt-bindings mailbox: add Tegra186 HSP driver 2016-06-19 17:05:55 -06:00
faraday
fsl-mc
grlib
jffs2
linux mtd: nand: add common DT init code 2016-07-24 20:36:28 -05:00
lzma
mtd
net
pcmcia
power power, tps65217: add some defines 2016-06-09 13:53:06 -04:00
samsung
spmi
synopsys
test Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
u-boot
usb
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h
adc.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
ambapp.h
ambapp_ids.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets 2016-05-21 01:25:50 +02:00
atmel_hlcdc.h
atmel_lcd.h at91: video: Support driver-model for the LCD driver 2016-06-12 23:49:38 +02:00
atmel_lcdc.h
atmel_mci.h
autoboot.h autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c 2016-06-20 05:19:09 -04:00
axp152.h
axp209.h
axp221.h
axp809.h sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
axp818.h sunxi: Implement poweroff support for axp818 pmic 2016-05-25 17:52:39 +02:00
axp_pmic.h sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h dm: blk: Add a comment as to why the bdev member is needed 2016-05-17 09:54:43 -06:00
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h bootstage: call show_boot_progress also in SPL 2016-06-09 13:53:08 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk.h dm: clk: Add support for of-platdata 2016-07-14 20:40:24 -06:00
cmd_spl.h
command.h
common.h Add warn_non_spl() to show a message in U-Boot proper 2016-07-14 18:33:11 -04:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI 2016-05-17 09:54:43 -06:00
config_defaults.h
config_distro_bootcmd.h efi_loader: Fix typo in distro script 2016-06-24 17:24:41 -04:00
config_distro_defaults.h common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option 2016-06-09 13:53:05 -04:00
config_fallbacks.h dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI 2016-05-17 09:54:43 -06:00
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
console.h
cortina.h
cpsw.h drivers: net: cpsw: Add reading of DT phy-handle node 2016-05-24 11:42:04 -05:00
cpu.h
crc.h
cros_ec.h
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display.h
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma.h
dp83848.h
ds1722.h
ds4510.h
dt-structs.h dm: Add a header that provides access to the of-platdata structs 2016-07-14 20:40:24 -06:00
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h usb: dwc3: Correct datatype of base to unsigned long 2016-06-04 00:43:51 +02:00
dwmmc.h dm: mmc: dwmmc: Support CONFIG_DM_MMC_OPS 2016-07-11 14:06:44 -06:00
e500.h
ec_commands.h
edid.h
eeprom_field.h cmd: eeprom: add support for layout aware commands 2016-05-20 17:02:07 -04:00
eeprom_layout.h cmd: eeprom: add support for layout aware commands 2016-05-20 17:02:07 -04:00
efi.h
efi_api.h efi_loader: Add exit support 2016-06-06 13:39:15 -04:00
efi_loader.h efi_loader: Move to normal debug infrastructure 2016-06-06 13:39:16 -04:00
elf.h
env_attr.h
env_callback.h
env_default.h env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD} 2016-06-24 17:23:11 -04:00
env_flags.h net: fix vlan validation 2016-05-03 17:52:11 -05:00
environment.h
errno.h errno: Allow errno_str() to be used without CONFIG_ERRNO_STR 2016-07-05 13:19:08 -07:00
ethsw.h
exports.h
ext4fs.h
ext_common.h
exynos_lcd.h exynos: video: Rename variables for driver model 2016-05-25 13:25:18 +09:00
fastboot.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fat.h
fb_mmc.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fb_nand.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fdt.h
fdt_simplefb.h
fdt_support.h
fdtdec.h sandbox: Find keyboard driver using driver model 2016-07-11 14:06:44 -06:00
fis.h
flash.h flash: add device ID for Microchip PIC32 internal flash. 2016-05-21 01:25:50 +02:00
fm_eth.h
fpga.h
fs.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h driver/ddr/fsl: Add workaround for erratum A-009801 2016-05-17 09:26:53 -07:00
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h mmc: fsl: introduce wp_enable 2016-06-28 12:08:53 -07:00
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC 2016-06-03 14:12:50 -07:00
fsl_pmic.h
fsl_qe.h
fsl_sec.h crypto/fsl: add support for multiple SEC engines initialization 2016-05-18 08:51:46 -07:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h usb: xhci: fsl: Add workaround for USB erratum A008751 2016-06-13 15:16:46 +02:00
fsl_validate.h powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL 2016-07-21 11:09:23 -07:00
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h gdsys: Drop print_fpga_state function 2016-07-22 14:46:21 -04:00
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h drivers: i2c: mxc: Add early init 2016-06-10 13:44:58 -07:00
i2c_eeprom.h i2c_eeprom: Add reading support 2016-07-22 09:52:59 -04:00
i2s.h
i8042.h
ide.h dm: ide: Add support for driver-model block devices 2016-05-17 09:54:43 -06:00
image-sparse.h fastboot: sparse: implement reserve() 2016-06-27 16:37:39 -04:00
image.h image: fix IH_ARCH_... values for uImage compatibility 2016-07-21 10:47:03 -04:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h Allow iotrace byte access to use an address of any size 2016-05-17 09:54:43 -06:00
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libfdt.h
libfdt_env.h
libtizen.h exynos: Allow tizen to be built without an LCD 2016-05-25 13:25:18 +09:00
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h mailbox: rename headers 2016-06-19 17:05:55 -06:00
mailbox.h mailbox: rename headers 2016-06-19 17:05:55 -06:00
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h
mk48t59.h
mmc.h dm: mmc: Add a way to use driver model for MMC operations 2016-07-11 14:06:44 -06:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h nand_spl_simple: Add a simple NAND read function 2016-07-22 09:52:59 -04:00
net.h Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
netdev.h net: Remove unused mv88e61xx switch driver 2016-05-24 11:39:04 -05:00
ns16550.h
ns87308.h
onenand_uboot.h mtd: OneNAND: allow board init function fail 2016-07-22 14:46:12 -04:00
os.h sandbox: Allow chaining from SPL to U-Boot proper 2016-07-14 20:40:24 -06:00
palmas.h
panel.h
part.h dm: mmc: Add support for driver-model block devices 2016-05-17 09:54:43 -06:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
pe.h
phy.h net: phy: Add phy_interface_is_sgmii to phy.h 2016-05-24 11:42:05 -05:00
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h] 2016-05-23 15:18:00 +08:00
radeon.h
ram.h
rc4.h
regmap.h dm: core: Add an implementation of regmap_init_mem_platdata() 2016-07-14 20:40:24 -06:00
reiserfs.h
remoteproc.h
reset-uclass.h Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
reset.h Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS 2016-07-11 14:06:44 -06:00
search.h
sed156x.h
sed13806.h
serial.h board: am335x: Allow to choose serial device dynamically 2016-05-27 15:47:54 -04:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h dm: spi: introduce dm api 2016-05-17 09:54:43 -06:00
spi_flash.h
spl.h spl: support loading from UBI volumes 2016-07-22 09:53:00 -04:00
splash.h splash_source: add support for ubifs formatted nand 2016-06-14 05:33:02 +02:00
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h dm: syscon: Add support for of-platdata 2016-07-14 20:40:24 -06:00
sysreset.h Rename reset to sysreset 2016-05-26 20:48:31 -06:00
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
timer.h
timestamp.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h spl: Lightweight UBI and UBI fastmap support 2016-07-22 09:53:00 -04:00
universe.h
usb.h dm: usb: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h video: Add an enum for active low/high 2016-05-25 13:25:18 +09:00
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h
watchdog.h Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot 2016-05-27 15:39:54 -04:00
winbond_w83627.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h