u-boot-brain/include
Andre Przywara ba6a169811 ARM: add SMP support for non-secure switch
Currently the non-secure switch is only done for the boot processor.
To enable full SMP support, we have to switch all secondary cores
into non-secure state also.

So we add an entry point for secondary CPUs coming out of low-power
state and make sure we put them into WFI again after having switched
to non-secure state.
For this we acknowledge and EOI the wake-up IPI, then go into WFI.
Once being kicked out of it later, we sanity check that the start
address has actually been changed (since another attempt to switch
to non-secure would block the core) and jump to the new address.

The actual CPU kick is done by sending an inter-processor interrupt
via the GIC to all CPU interfaces except the requesting processor.
The secondary cores will then setup their respective GIC CPU
interface.
While this approach is pretty universal across several ARMv7 boards,
we make this function weak in case someone needs to tweak this for
a specific board.

The way of setting the secondary's start address is board specific,
but mostly different only in the actual SMP pen address, so we also
provide a weak default implementation and just depend on the proper
address to be set in the config file.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
2013-10-03 21:28:51 +02:00
..
andestech
asm-generic
bedbug
configs
cramfs
faraday
galileo
jffs2
linux
lzma
mtd
pcmcia
power
synopsys
u-boot
usb
zfs
_exports.h
.gitignore
74xx_7xx.h
ACEX1K.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
amba_clcd.h
ambapp.h
ansi.h
api_public.h
arm925t.h
armcoremodule.h
asm-offsets.h
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h
atmel_hlcdc.h
atmel_lcdc.h
atmel_mci.h
bcd.h
bcm5221.h
bmp_layout.h
bootcount.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cmd_spl.h
command.h
common.h ARM: add SMP support for non-secure switch 2013-10-03 21:28:51 +02:00
commproc.h
compiler.h
config_cmd_all.h
config_cmd_default.h
config_cmd_defaults.h
config_defaults.h
config_fallbacks.h
config_phylib_all_drivers.h
config_uncmd_spl.h
cpsw.h
crc.h
cros_ec_message.h
cros_ec.h
da9030.h
dataflash.h
ddr_spd.h
dfu.h
dialog_pmic.h
div64.h
dm9000.h
dm9161.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwmmc.h
e500.h
ec_commands.h
edid.h
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h
exports.h
ext4fs.h
ext_common.h
fat.h
fdc.h
fdt_support.h
fdt.h
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_diu_fb.h
fsl_esdhc.h
fsl_mdio.h
fsl_pmic.h
fsl_usb.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hush.h
hw_sha.h
hwconfig.h
i2c.h
i2s.h
i8042.h
ide.h
image.h
initcall.h
input.h
iomux.h
ioports.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
ks8721.h
lattice.h
lcd.h
lcdvideo.h
ld9040.h
led-display.h
libata.h
libfdt_env.h
libfdt.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mk48t59.h
mmc.h
mpc5xx.h
mpc5xxx_sdma.h
mpc5xxx.h
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc824x.h
mpc8260_irq.h
mpc8260.h
mtd_node.h
mv88e6352.h
mvmfp.h
nand.h
net.h
netdev.h
nios2-epcs.h
nios2-io.h
nios2-yanu.h
nios2.h
nomadik.h
ns16550.h
ns87308.h
onenand_uboot.h
os.h
palmas.h
part_efi.h
part.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci_gt64120.h
pci_ids.h
pci.h
pcmcia.h
phy.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
radeon.h
reiserfs.h
rsa.h
rtc.h
s6e63d6.h
s_record.h
SA-1100.h
sandboxfs.h
sata.h
scsi.h
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h
sh_pfc.h
sh_tmu.h
sha1.h
sha256.h
sja1000.h
slre.h
sm501.h
smiLynxEM.h
sound.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h
spi.h
spl.h
splash.h
status_led.h
stdio_dev.h
stratixII.h
sym53c8xx.h
systemace.h
tca642x.h
tegra-kbc.h
timestamp.h
tis.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h
usbdescriptors.h
usbdevice.h
version.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_logo.h
video.h
virtex2.h
vsc7385.h
vsprintf.h
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h