coreboot/src
Vadim Bendebury b38895ea38 rockchip: rk3399: use static pointers to regs as they compile to faster code
Quoting an earlier review comment, using static structures pointers in
the include file "should allow the compiler to optimize accesses
better than defining it in a separate compilation unit (by being able
to constant fold stuff like &rk3399_pmusgrf->field into a single
address, rather than loading the symbol, loading an offset constant
and adding)".

Any decent compiler linker system nowadays would consolidate this
definition in any case.

BRANCH=none
BUG=chrome-os-partner:51537
TEST=with the rest of the patches applied Kevin successfully boots
     Linux kernel.

Change-Id: Ibb576c7691a30f2f429651fcca133bd72710c13b
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 89b6f22e37f733667156f15afb8c27d8a9f07512
Original-Change-Id: Ice8d6d766a91e7f4fce553378a23b9ca593d12dd
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/339869
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/14705
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2016-05-09 08:40:59 +02:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch arch/armv7: Fix end index calculation in mmu_config_range_kb 2016-05-09 06:44:32 +02:00
commonlib ensure correct byte ordering for cbfs segment list 2016-04-25 23:30:00 +02:00
console arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
cpu cpu/x86: don't treat all chipsets the same regarding XIP_ROM_SIZE 2016-05-06 16:49:37 +02:00
device payloads: add iPXE 'payload' build 2016-04-13 17:45:37 +02:00
drivers spi: Add support for Winbond W25Q256 2016-05-09 08:30:22 +02:00
ec ec/google/chromeec/acpi: Add GOOG0004 to load cros_ec_lpc dynamically. 2016-05-09 08:31:15 +02:00
include cpu/x86/mp_init: reduce exposure of internal implementation 2016-05-06 16:47:54 +02:00
lib lib/prog_loaders: Allow platforms to skip stage cache 2016-05-09 05:02:22 +02:00
mainboard google/veyron_romy: Increase RO CBFS size by 512 Kb 2016-05-09 08:39:21 +02:00
northbridge intel/pineview: Don't try to store 34 bits in 32 2016-05-08 21:36:32 +02:00
soc rockchip: rk3399: use static pointers to regs as they compile to faster code 2016-05-09 08:40:59 +02:00
southbridge rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
superio superio/smsc/mec1308: Fix AddressMax value for SMBX mailbox 2016-04-13 23:39:28 +02:00
vendorcode xip: Do not pass --xip for early stages if CAR supports code execution 2016-05-09 05:01:58 +02:00
Kconfig lib/prog_loaders: Allow platforms to skip stage cache 2016-05-09 05:02:22 +02:00