On Thu, Nov 30, 2017 at 1:31 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Wed, Nov 29, 2017 at 11:23 PM, Stefan Roese <s...@denx.de> wrote: >> This patch removes the inclusion of the libgcc math functions and >> replaces them by functions coded in C, taken from the coreboot >> project. This makes U-Boot building more independent from the toolchain >> installed / available on the build system. >> >> The code taken from coreboot is authored from Vadim Bendebury >> <vben...@chromium.org> on 2014-11-28 and committed with commit >> ID e63990ef [libpayload: provide basic 64bit division implementation] >> (coreboot git repository located here [1]). >> >> I modified the code so that its checkpatch clean without any >> functional changes. >> >> [1] git://github.com/coreboot/coreboot.git >> >> Signed-off-by: Stefan Roese <s...@denx.de> >> Cc: Simon Glass <s...@chromium.org> >> Cc: Bin Meng <bmeng...@gmail.com> >> --- >> v3: >> - Completely get rid of all libgcc references in arch/x86/lib/Makefile, >> also for the standalone applications >> >> v2: >> - Added coreboot git repository link to commit message >> >> arch/x86/config.mk | 3 -- >> arch/x86/lib/Makefile | 8 +--- >> arch/x86/lib/div64.c | 113 >> ++++++++++++++++++++++++++++++++++++++++++++++++++ >> arch/x86/lib/gcc.c | 29 ------------- >> 4 files changed, 114 insertions(+), 39 deletions(-) >> create mode 100644 arch/x86/lib/div64.c >> delete mode 100644 arch/x86/lib/gcc.c >> > > Reviewed-by: Bin Meng <bmeng...@gmail.com> > Tested-by: Bin Meng <bmeng...@gmail.com>
applied to u-boot-x86, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot