diff options
author | You-Cheng Syu <youcheng@google.com> | 2018-12-20 15:41:25 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-21 18:13:49 +0000 |
commit | 14df2ef729b92fa5e272c67692982606b19853ef (patch) | |
tree | ab58c2b26eebf11ea0bd6aedf2646f5d1698e046 /src/soc/intel | |
parent | e956255509b3b614b2c879b645cbc155daf46157 (diff) |
mediatek/mt8183: Reduce compiled code size of SPI related code.
Refactor function mtk_spi_set_gpio_pinmux to reduce compiled code size.
This change can save us about 552 bytes (before compression).
Idea from Julius's comment in https://review.coreboot.org/c/coreboot/+/27498/4
BRANCH=none
BUG=b:120588396
TEST=manually boot into kernel
Change-Id: I93bc88c535b6a2ff94e85f247cf2d51f60b9b29c
Signed-off-by: You-Cheng Syu <youcheng@google.com>
Reviewed-on: https://review.coreboot.org/c/30328
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/intel')
0 files changed, 0 insertions, 0 deletions