mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
PD#SWPL-27983
Problem:
code size of kernel is too large
Solution:
remove unused but default enabled configs for refernce-board
code size comparison(base on ARMv7):
------------------------------------------
| before(KB) | after(KB)
------------------------------------------
kernel code: | 14336 | 11456
rwdata: | 1352 | 1195
rodata: | 5144 | 4560
init: | 1024 | 1024
bss: | 1379 | 1327
------------------------------------------
summary: | 22211 | 18538
------------------------------------------
This change can save about 3.6MB kernel code size
Verify:
x301
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Iafc4b2a2b8dc55a42fbee197cc7272fd2c476cec
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>