summaryrefslogtreecommitdiff
path: root/src/arch/mips/timer.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2014-08-25 17:45:57 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-21 16:56:54 +0100
commitcb8f36043c9f0aec980c340108fc92011aacc9ca (patch)
tree0e31faa3e5987e68d69b01aeed4c97cf8942c101 /src/arch/mips/timer.c
parent9dd2cf695de3e787471046c0e848b59aecc8f809 (diff)
mips: Add mips/ashldi3.c from Linux
As MIPS toolchain does not provide adequate support for 64 bit division and shift operations, the missing functions are required to be provided by the user. This patch brings in the Linux implementation of the 64 bit arithmetic shift borrowed from arch/mips/lib/ashldi3.c (eg. Linux v3.14). BUG=chromium:406038 TEST=With the upcoming patches coreboot successfully builds for MIPS targets in chroot (coming later). Change-Id: I2168f69352a9b9e3c5d197489f701a442e65703c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 8ec616161be8ad3aeb6494e7121615e3329b414d Original-Change-Id: Ia1ccb29d4c9f3c95e04e06f6af7ce8a00e2e7455 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/214156 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/8759 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/mips/timer.c')
0 files changed, 0 insertions, 0 deletions