
29 Jul
2018
29 Jul
'18
9:52 a.m.
Hi Heinrich,
On Sun, Jul 29, 2018 at 3:49 PM, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
The function crc32() is needed by the EFI subsystem at runtime. So it has to be linked into the runtime section together with all dependencies.
Eliminate empty defines local and ZEXPORT.
Mark variables as static which are not exported.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
v4: put all relevant functions into the runtime code section put none into the runtime data section v3 new patch
lib/crc32.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
Is it possible to use linux kernel's lib/crc32.c? This way we can future sync U-Boot's crc32 implementation with kernel's. Thanks!
Regards, Bin