u-boot/include
Dario Binacchi 9f6a14c47f spl: fit: nand: fix fit loading in case of bad blocks
The offset at which the image to be loaded from NAND is located is
retrieved from the itb header. The presence of bad blocks in the area
of the NAND where the itb image is located could invalidate the offset
which must therefore be adjusted taking into account the state of the
sectors concerned.

cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2020-07-08 17:21:46 -04:00
..
acpi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
andestech
asm-generic bdinfo: net: ppc: Drop bi_enet1addr and other similar info 2020-06-25 13:24:12 -04:00
bedbug command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cavium
configs Merge tag 'u-boot-rockchip-20200708' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip 2020-07-07 23:05:57 -04:00
cramfs
crypto lib/crypto, efi_loader: move some headers to include/crypto 2020-05-04 12:26:11 +02:00
dm cmd: dm: Fixed/Added DM driver listing subcommands 2020-07-07 15:37:13 -04:00
dt-bindings riscv: Add device tree for K210 and Sipeed Maix BitM 2020-07-01 15:01:22 +08:00
environment common: Drop linux/stringify.h from common header 2020-05-18 21:19:23 -04:00
faraday common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fsl-mc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
jffs2
kendryte clk: Add K210 clock support 2020-07-01 15:01:21 +08:00
keys
linux compilers: Introduce options for forcing inlining on SPL/TPL 2020-07-01 11:48:05 -04:00
lzma
mtd
mvebu
net common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
power common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
samsung
spmi
synopsys
tee common: Drop image.h from common header 2020-05-18 17:33:33 -04:00
test clk: Add K210 pll support 2020-07-01 15:01:21 +08:00
u-boot Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
usb xhci: mediatek: Add support for MTK xHCI host controller 2020-05-02 12:32:28 +02:00
zfs
_exports.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
.gitignore
ACEX1K.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
android_bootloader_message.h
android_image.h
ansi.h Nokia RX-51: Update my email address 2020-05-11 10:16:49 +05:30
api_public.h
api.h
armcoremodule.h
asm-offsets.h
ata.h include/ata.h: remove invalid links 2020-04-17 12:32:36 -04:00
atf_common.h Use __ASSEMBLY__ as the assembly macros 2020-05-18 21:19:23 -04:00
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h part: Drop disk_partition_t typedef 2020-05-18 17:33:33 -04:00
axi.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
binman_sym.h
binman.h
bios_emul.h
bitfield.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
blk.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
bloblist.h
bmp_layout.h
board.h
boot_fit.h
bootcount.h
bootm.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
bootretry.h
bootstage.h bootstage: Use BOOTSTAGE instead of BOOTSTATE 2020-05-18 17:33:33 -04:00
bouncebuf.h common: bouncebuf: Permit passing custom alignment check function 2020-04-22 20:41:56 +08:00
btrfs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
bus_vcxk.h
bzlib.h
cache.h
capitalization.h
cbfs.h cbfs: Don't require the CBFS size with cbfs_init_mem() 2020-05-27 14:40:09 +08:00
charset.h lib: charset: correct function descriptions 2020-05-09 09:30:28 +02:00
circbuf.h
cli_hush.h
cli.h
clk-uclass.h
clk.h clk: Fix clk func names in comments 2020-05-11 01:30:49 +05:30
clock_legacy.h
cmd_spl.h
command.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
common_timing_params.h
common.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
compiler.h
config_defaults.h
config_distro_bootcmd.h
config_fallbacks.h
config_fsl_chain_trust.h common: Drop linux/stringify.h from common header 2020-05-18 21:19:23 -04:00
config_phylib_all_drivers.h Convert CONFIG_PHYLIB et al to Kconfig 2020-04-28 15:57:58 -04:00
config_uncmd_spl.h
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu_func.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cpu.h uclass: cpu: Add new API to get udevice for current CPU 2020-05-03 15:45:49 +02:00
cros_ec_message.h
cros_ec.h
ddr_spd.h
debug_uart.h debug_uart: Add CR before and after announce string 2020-07-08 17:21:46 -04:00
dfu.h doc: dfu: describe more DFU function 2020-05-25 11:54:53 -04:00
dialog_pmic.h
display_options.h
display.h
div64.h
dm9000.h
dm-demo.h
dm.h
dma-uclass.h
dma.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dp83848.h
ds1722.h
dsi_host.h
dt_table.h
dt-structs.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dwc3-uboot.h usb: dwc3: Add disable u2mac linestate check quirk 2020-05-29 18:13:19 +08:00
dwc_ahsata.h
dwmmc.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
e500.h
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h
eeprom.h include/eeprom.h: fix build errors 2020-05-07 09:01:42 -04:00
efi_api.h efi_loader: device path for SATA devices 2020-05-21 10:00:17 +02:00
efi_driver.h
efi_load_initrd.h efi_loader: Implement FileLoad2 for initramfs loading 2020-02-28 19:37:14 +01:00
efi_loader.h efi_loader: export initialization state 2020-07-03 18:03:56 +02:00
efi_rng.h
efi_selftest.h efi_selftest: add unit test functions to HTML documentation 2020-05-09 09:30:28 +02:00
efi.h efi_loader: add EFI_MEMORY_SP to memory attributes 2020-05-21 10:00:17 +02:00
elf.h Use __ASSEMBLY__ as the assembly macros 2020-05-18 21:19:23 -04:00
env_attr.h
env_callback.h env: remove callback.o for an SPL build 2020-04-24 10:09:59 -04:00
env_default.h Kconfig: Remove CONFIG_CLOCKS_IN_MHZ 2020-06-26 10:29:26 -04:00
env_flags.h
env_internal.h env_internal.h: add alternative ENV_SAVE_PTR macro 2020-04-24 10:10:00 -04:00
env.h
errno.h
eth_phy.h net: Add eth phy generic driver for shared MDIO 2020-05-10 13:24:48 +02:00
ethsw.h
exception.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
exports.h common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ext4fs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
ext_common.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fb_mmc.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fb_nand.h
fdt_region.h libfdt: split fdt_region declarations out to <fdt_region.h> 2020-04-26 14:24:08 -06:00
fdt_simplefb.h
fdt_support.h libfdt: Make fdtdec_get_child_count() available for HOST 2020-04-24 10:10:01 -04:00
fdt.h
fdtdec.h fdtdec: Add weak function to patch U-Boot DT right after fdtdec_setup() 2020-05-20 13:20:19 +02:00
fis.h
flash.h flash: Tidy up coding style for flash functions 2020-05-18 14:53:28 -04:00
fm_eth.h
fpga.h
fs_internal.h part: Drop disk_partition_t typedef 2020-05-18 17:33:33 -04:00
fs_loader.h
fs.h cmd: fs: Add command to list supported fs types 2020-07-07 15:36:59 -04:00
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddr.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc_imx.h mmc: fsl_esdhc_imx: disable the CMD CRC check for standard tuning 2020-06-24 14:05:30 +08:00
fsl_esdhc.h mmc: fsl_esdhc: workaround for hardware 3.3v IO reliability issue 2020-06-15 09:45:22 +08:00
fsl_fman.h
fsl_ifc.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h driver: net: fm: add DM ETH support 2020-04-29 11:10:54 +05:30
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h doc: fix references to README.qe_firmware 2020-05-04 09:12:37 +05:30
fsl_sec_mon.h
fsl_sec.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
fsl_wdog.h
fuse.h
g_dnl.h usb: gadget: g_dnl: add function g_dnl_set_product 2020-05-14 09:02:12 +02:00
gdsys_fpga.h
generic-phy.h phy: Use _nodev naming convention if non-device clients 2020-05-11 01:30:49 +05:30
gt64120.h
gzip.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
handoff.h
hang.h
hash.h Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c_eeprom.h misc: i2c_eeprom: remove pagewidth field from i2c_eeprom 2020-03-16 08:03:05 +01:00
i2c.h common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h image: Add support for ZSTD decompression 2020-07-07 15:37:13 -04:00
imx8image.h tool: Move ALIGN_MASK to header as common MACRO 2020-04-24 10:10:00 -04:00
imx_lpi2c.h
imx_sip.h imx8: move SIP macro to common header 2020-05-01 13:46:21 +02:00
imx_thermal.h
imximage.h
init.h bdinfo: arm: Move ARM-specific info into its own file 2020-06-25 13:24:12 -04:00
initcall.h common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq_func.h
irq.h dm: irq: Add support for requesting interrupts 2020-02-07 22:46:32 +08:00
k3-avs.h
key_matrix.h
keyboard.h
kgdb.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
lattice.h
lcd_console.h
lcd.h
lcdvideo.h
ld9040.h
led.h
libata.h ata: sort ATA commands 2020-04-17 12:32:36 -04:00
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
lxt971a.h
lynxkdi.h
lz4.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h menu: add support for client defined statusline function 2020-05-07 09:01:42 -04:00
micrel.h board: apalis_imx6: Add KSZ9131 phy skew settings 2020-05-01 13:46:22 +02:00
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h video: mipi update panel platform data 2020-06-28 01:24:35 +02:00
misc.h
mk48t59.h
mm_communication.h efi_loader: Add headers for EDK2 StandAloneMM communication 2020-05-17 21:59:53 +02:00
mmc.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h mpc83xx: remove redundant MPC83xx_RESET #define 2020-05-19 14:01:47 -04:00
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd_node.h
mtd.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
mxs_nand.h mtd: nand: raw: mxs_nand changes for nandbcb 2020-05-10 20:55:20 +02:00
nand.h spl: fit: nand: fix fit loading in case of bad blocks 2020-07-08 17:21:46 -04:00
net.h net: move random_port() to dns 2020-06-12 13:17:23 -04:00
netdev.h net: Fix warning when including netdev.h on DM systems 2020-05-01 12:35:03 +02:00
ns16550.h
nuvoton_nct6102d.h
nvme.h
of_live.h
onenand_uboot.h
opensbi.h
os.h sandbox: Drop os_realloc() 2020-02-05 19:33:46 -07:00
p2sb.h
palmas.h
panel.h
part_efi.h
part.h part: Drop disk_partition_t typedef 2020-05-18 17:33:33 -04:00
pca953x.h
pca9564.h
pca9698.h
pch.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pci.h pci: Fix typo in definition for PCI_DEV 2020-05-15 13:53:50 -04:00
pe.h
phy_interface.h phy: add support for backplane kr mode 2020-04-20 13:35:11 +05:30
phy-sun4i-usb.h
phy.h net: phy: Add helper routines to set and clear bits 2020-06-12 13:17:23 -04:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rand.h doc: random number generation 2020-06-14 21:07:20 +02:00
rc4.h
regmap.h common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
reiserfs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
relocate.h
remoteproc.h
reset-uclass.h
reset.h
rng.h doc: random number generation 2020-06-14 21:07:20 +02:00
rtc_def.h
rtc.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sandboxtee.h
sata.h
scf0403_lcd.h
scsi.h common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
sdhci.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdp.h
search.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
serial.h rename symbol: CONFIG_TEGRA -> CONFIG_ARCH_TEGRA 2020-05-15 14:47:35 -04:00
sh_pfc.h
sja1000.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
sort.h
sound.h sound: Add a new stop_play() method 2020-02-05 19:33:46 -07:00
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
spi-mem.h spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum 2020-04-29 01:44:35 +05:30
spi.h spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
spl_gpio.h
spl.h spl: fix format of function documentation 2020-07-08 17:21:46 -04:00
splash.h
st_logo_data.h
status_led.h
stdint.h
stdio_dev.h
stdio.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tee.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tlv_eeprom.h
tmu.h
tpm-common.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
tpm-v1.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tpm-v2.h tpm: add TPM2_GetRandom command support 2020-07-08 15:38:32 -04:00
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
ubispl.h
uboot_aes.h
ufs.h
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h usb: Update struct usb_device to indicate speed enum 2020-05-15 13:53:50 -04:00
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h uuid: Use const char * where possible 2020-04-24 16:40:09 -04:00
vbe.h
versalpl.h
version.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_osd.h
video.h
virtex2.h
virtio_ring.h
virtio_types.h
virtio.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
vsc7385.h
vsc9953.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
vsprintf.h lib: Add a function to convert a string to upper case 2020-04-24 16:40:09 -04:00
vxworks.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
watchdog.h
wdt.h common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
winbond_w83627.h
xilinx.h
xyzModem.h common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
zfs_common.h zfs: fix missing include for disk_partition definition 2020-06-23 14:43:23 -04:00
zynq_bootimg.h
zynqmp_firmware.h
zynqmp_tap_delay.h
zynqmppl.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
zynqpl.h fpga: zynqpl: Correct PL bitstream loading sequence for zynqaes 2020-06-24 13:07:57 +02:00