u-boot-brain/arch/arm
Andre Przywara 7c841d844f sunxi: Automate loading from 128KB MMC offset
Since commit 067e0b9684 ("sunxi: Allow booting from 128KB SD/eMMC offset")
we support having the SPL loaded from either the traditional 8KB SD
card/eMMC offset, or from the alternative location at 128KB. However the
sector to find the U-Boot image was still hard-coded at compile time,
and had to be adjusted for one of the two choices.

Since we can actually override the function to return the sector offset,
we can just check the boot source byte there to select the proper offset
based on from where the SPL was loaded.

This allows the very same binary image to be loaded from either 128KB or
8KB, with the U-Boot proper image always being located just behind the SPL.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
2020-01-26 19:10:16 +05:30
..
cpu common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
dts sunxi: dts: R40: Update Bananapi M2 Berry .dts 2020-01-24 23:06:50 +05:30
include common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
lib common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-aspeed
mach-at91 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-bcm283x common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
mach-bcmstb
mach-davinci common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-exynos common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-highbank
mach-imx common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-integrator
mach-k3 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-keystone common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-kirkwood common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
mach-mediatek common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-meson common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mach-mvebu common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-omap2 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-orion5x common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mach-owl
mach-qemu
mach-rmobile common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-rockchip common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-s5pc1xx common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-snapdragon
mach-socfpga common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-sti
mach-stm32
mach-stm32mp common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-sunxi sunxi: Automate loading from 128KB MMC offset 2020-01-26 19:10:16 +05:30
mach-tegra common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-uniphier common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-versal common: Move get_tbclk() to time.h 2020-01-24 23:06:49 +05:30
mach-versatile
mach-zynq common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mach-zynqmp common: Move get_tbclk() to time.h 2020-01-24 23:06:49 +05:30
mach-zynqmp-r5 common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
thumb1/include/asm/proc-armv
config.mk
Kconfig Xilinx/FPGA changes for v2020.04 2020-01-16 09:45:40 -05:00
Kconfig.debug
Makefile imx: Add basic support for the NXP IMXRT10xx SoC family 2020-01-14 22:54:00 +01:00