u-boot-brain/arch
Icenowy Zheng c6c2c85e4b sunxi: disable Pine A64 model detection code on other boards
The Pine A64 Plus/non-Plus model detection code is now built on all
64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in
use.

Disable them when the board is Pine A64 by adding a Kconfig option that
is only selected on Pine A64.

On GCC 7.3.1 this makes the size of the function reduces 184 bytes, and
saves a 104 byte strstr() function, then makes SPL on H6 succeed to
build.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-10-29 20:41:07 +05:30
..
arc ARC: Don't use COMMON section for global not-initialized variables 2018-10-15 13:35:17 +03:00
arm sunxi: disable Pine A64 model detection code on other boards 2018-10-29 20:41:07 +05:30
m68k m68k: ColdFire mcf5441x, add eSDHC support 2018-09-16 00:01:13 +02:00
microblaze arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
mips mips: use asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
nds32 config.mk: Remove duplicated -fno-strict-aliasing 2018-09-25 21:50:34 -04:00
nios2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
powerpc powerpc: dts: Enable device tree support for T2080QDS 2018-09-27 10:14:14 -07:00
riscv riscv: allow native compilation 2018-10-03 17:49:44 +08:00
sandbox test: Add PCI device entry without compat string and with DT node 2018-10-20 15:23:38 -04:00
sh sh: tmu: Zap get_tbclk and timer_read_counter 2018-09-15 03:19:07 +02:00
x86 x86: quark: Specify X86_TSC_TIMER_EARLY_FREQ 2018-10-22 17:51:45 +08:00
xtensa xtensa: use asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
.gitignore
Kconfig Kconfig: sandbox: enable cmd_avb and dependencies 2018-10-07 13:34:19 -04:00