u-boot/include
Madan Srinivas 9aac7d0ec9 ti: AM43xx: Use CONFIG options from SOC Kconfig
Updates configs/am43xx_evm.h to use CONFIG options from
SOC specific Kconfig file for various calculations.

On AM43x devices, the address of SPL entry point  depends on
the device type, i.e. whether it is secure or non-secure.

Further, for non-secure devices, the SPL entry point is different
between  USB HOST boot mode, other "memory" boot modes (MMC, NAND)
and "peripheral" boot modes (UART, USB)

To add to the complexity, on secure devices, in addition to the
above differences, the SPL entry point can change because of the
space occupied by other components (other than u-boot or spl)
that go into a secure boot image.

To prevent the user from having to modify source files every time
any component of the secure image changes, the value of
CONFIG_SPL_TEXT_BASE has been set using a Kconfig option that
is supplied in the am43xx_*_defconfig files

Using the CONFIG options also enables us to do away with some
compile time flags that were used to specify CONFIG_SPL_TEXT_BASE
for different boot modes.

On QSPI devices, the same problem described above occurs w.r.t. the
address of the u-boot entry point in flash, when booting secure
devices. To handle this, CONFIG_SYS_TEXT_BASE is also setup via
a Kconfig option and the defconfig files.

Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Daniel Allred <d-allred@ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Tested-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-05-27 15:41:34 -04:00
..
andestech
asm-generic dm: gpio: add a default gpio xlate routine 2016-05-17 09:54:43 -06:00
bedbug
cavium
configs ti: AM43xx: Use CONFIG options from SOC Kconfig 2016-05-27 15:41:34 -04:00
cramfs
dm drivers: core: device: add support to check dt compatible for a device/machine 2016-05-24 11:42:02 -05:00
dt-bindings net: phy: dp83867: Add device tree bindings and documentation 2016-05-24 11:42:04 -05:00
faraday
fsl-mc
grlib
jffs2
linux drivers: usb: common: add common code for usb drivers to use 2016-05-17 09:54:43 -06:00
lzma
mtd
net
pcmcia
power
samsung
spmi drivers: Add SPMI bus uclass 2016-04-01 17:18:12 -04:00
synopsys
test Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
u-boot
usb ehci-ci.h: drop generic USBCMD fields 2016-04-01 17:18:11 -04:00
zfs
.gitignore cmd: Fix license command 2016-03-22 12:16:13 -04:00
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 fpga: altera: Add StratixV support 2016-03-24 09:47:43 +01:00
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
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h sunxi: axp: Generalize register macros for VBUS drive GPIO 2016-03-31 17:03:52 +02:00
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 image: Add boot_get_fpga() to load fpga with bootm 2016-05-24 13:17:59 +02:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk.h
cmd_spl.h
command.h Drop command-processing code when CONFIG_CMDLINE is disabled 2016-04-01 17:17:40 -04:00
common.h Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -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 distro: Add efi pxe boot code 2016-05-27 15:39:45 -04:00
config_distro_defaults.h net: Move the VCI and client arch values to Kconfig 2016-05-27 10:01:12 -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 SECURE_BOOT: Use default bootargs 2016-03-29 08:46:23 -07:00
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 cpu: Add support for microcode version and CPU ID 2016-03-17 10:27:22 +08:00
crc.h include/crc.h: Remove unreferenced cyg_xxx() prototypes 2016-03-14 19:18:42 -04:00
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
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h
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 include/efi_api.h: Add more detailed API definitions 2016-03-15 15:19:23 -04:00
efi_api.h efi_loader: Add network access support 2016-05-27 10:01:10 -04:00
efi_loader.h efi_loader: Add bounce buffer support 2016-05-27 15:39:48 -04:00
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h net: fix vlan validation 2016-05-03 17:52:11 -05:00
environment.h
errno.h
ethsw.h
exports.h
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller 2016-04-10 17:18:42 +02:00
fdtdec.h Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04: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 fsl: esdhc: consolidate fsl_esdhc_cfg structure 2016-04-06 08:34:09 -07:00
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
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 armv8: fsl-lsch3: Add new header for secure boot 2016-03-29 08:46:20 -07:00
fsl_sfp.h armv8: ls2080: Add SFP Configs for LS2080 2016-03-29 08:46:19 -07:00
fsl_tgec.h
fsl_usb.h
fsl_validate.h SECURE BOOT: Change fsl_secboot_validate func to pass image addr 2016-03-29 08:46:23 -07:00
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h
i2c_eeprom.h
i2s.h
i8042.h input: i8042: Make sure the keyboard is enabled 2016-03-17 10:27:24 +08:00
ide.h dm: ide: Add support for driver-model block devices 2016-05-17 09:54:43 -06:00
image-sparse.h
image.h image: Add boot_get_fpga() to load fpga with bootm 2016-05-24 13:17:59 +02: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
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
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 support for driver-model block devices 2016-05-17 09:54:43 -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
net.h efi_loader: Add network access support 2016-05-27 10:01:10 -04:00
netdev.h net: Remove unused mv88e61xx switch driver 2016-05-24 11:39:04 -05:00
ns16550.h dm: ns16550: Add support for reg-offset property 2016-03-17 21:27:39 -06:00
ns87308.h
onenand_uboot.h
os.h
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: make pci_get_hose_head() available to external users 2016-03-21 12:42:12 -07:00
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
pe.h efi_loader: Add PE image loader 2016-03-15 15:19:23 -04:00
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 powerpc: mpc85xx: Enable pre-relocation malloc for MPC85xx 2016-04-08 15:42:10 -07:00
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
reiserfs.h
remoteproc.h
reset.h
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 mmc: sdhci: add const qualifier to the name of struct sdhci_host 2016-04-25 15:10:42 -04:00
search.h
sed156x.h
sed13806.h
serial.h
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: Introduce new function spl_board_prepare_for_boot 2016-05-24 11:15:01 +02:00
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h
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 input: TWL6030 input support for power button, USB and charger 2016-03-15 15:12:57 -04:00
tws.h
ubi_uboot.h
ubifs_uboot.h
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_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