u-boot-brain/arch/x86
Stefan Roese aa7839b39c x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones
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
<vbendeb@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 <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2017-11-30 13:50:17 +08:00
..
cpu x86: don't compare pointers to 0 2017-11-30 13:50:17 +08:00
dts x86: braswell: cherryhill: Update dts for SPI lock down 2017-10-27 15:13:47 +08:00
include/asm x86: acpi: Put sleepstates.asl to the common place 2017-10-27 15:13:47 +08:00
lib x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones 2017-11-30 13:50:17 +08:00
config.mk x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones 2017-11-30 13:50:17 +08:00
Kconfig pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
Makefile x86: Add 64-bit start-up code 2017-02-06 11:38:46 +08:00