u-boot/arch/x86/lib
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
..
efi board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
fsp x86: fsp: graphics: Add some notes about the graphics info hob 2017-10-27 15:13:47 +08:00
acpi_s3.c x86: acpi: Fix build error with certain configuration 2017-08-08 21:13:05 +08:00
acpi_table.c x86: acpi: Don't touch hardware on HW reduced platforms 2017-07-30 10:30:25 +08:00
asm-offsets.c x86: Add support for passing tables into U-Boot 2015-08-05 08:44:07 -06:00
bios.c x86: lib: Fix types and casts for 64-bit compilation 2017-02-06 11:38:46 +08:00
bios.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
bios_asm.S x86: bios: Synchronize stack between real and protected mode 2015-07-14 18:03:18 -06:00
bios_interrupts.c dm: Convert bios_interrupts to use DM PCI API 2016-01-12 10:19:09 -07:00
bootm.c Revert "x86: bootm: Fix FIT image booting on x86" 2017-11-30 13:50:17 +08:00
cmd_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_mtrr.c x86: cmd_mtrr: Improve MTRR list information 2015-07-14 18:03:18 -06:00
coreboot_table.c x86: Do not clear high table area for S3 2017-05-17 17:11:46 +08:00
crt0_ia32_efi.S x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
crt0_x86_64_efi.S x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
div64.c x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones 2017-11-30 13:50:17 +08:00
e820.c x86: Move install_e820_map() out of zimage.c 2015-10-21 07:46:25 -06:00
early_cmos.c x86: Add an early CMOS access library 2017-05-17 17:11:46 +08:00
elf_ia32_efi.lds efi: x86: Adjust EFI files support efi_loader 2016-11-14 23:24:04 +01:00
elf_x86_64_efi.lds efi: x86: Adjust EFI files support efi_loader 2016-11-14 23:24:04 +01:00
i8254.c x86: Rename pcat_ to i8254 and i8259 accordingly 2015-11-13 06:46:18 -08:00
i8259.c x86: Rename pcat_ to i8254 and i8259 accordingly 2015-11-13 06:46:18 -08:00
init_helpers.c x86: Use X86_32BIT_INIT instead of X86_RESET_VECTOR 2017-02-06 11:38:46 +08:00
interrupts.c x86: Drop interrupt support in 64-bit mode 2017-02-06 11:38:46 +08:00
lpc-uclass.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
Makefile x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones 2017-11-30 13:50:17 +08:00
mpspec.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mrccache.c x86: mrccache: Fix error handling in mrccache_get_region() 2016-10-11 11:55:33 +08:00
northbridge-uclass.c dm: x86: Add a northbridge uclass 2016-01-24 12:08:16 +08:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pinctrl_ich6.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pirq_routing.c x86: Change irq_already_routed to a local variable 2017-02-07 13:07:30 +08:00
pmu.c x86: Introduce minimal PMU driver for Intel MID platforms 2017-04-10 10:02:03 +08:00
ramtest.c x86: ivybridge: Implement SDRAM init 2014-11-21 07:34:15 +01:00
reloc_ia32_efi.c x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
reloc_x86_64_efi.c x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
relocate.c board_f: Make relocation functions generic 2017-04-05 16:36:57 -04:00
scu.c x86: Add SCU IPC driver for Intel MID platforms 2017-04-10 10:02:03 +08:00
sections.c x86: efi: Add EFI loader support for x86 2016-10-19 09:01:53 +02:00
sfi.c x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
spl.c x86: Display the SPL banner only once 2017-04-18 15:51:21 +08:00
string.c x86: Add an accelerated memmove() function 2016-10-11 11:55:33 +08:00
tables.c x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
zimage.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00