coreboot-kgpe-d16/payloads/libpayload/arch/mips
Andrew Bresticker ca0e89b61e libpayload: mips: Add macros to convert to/from KSEG{0,1} addresses
Add helper macros to convert between physical addresses and KSEG{0,1}
addresses.  Also get rid of the virt_to_{bus,phys}_offset variables
as these are fixed values.

As nobody seems to be using getpagesize() on MIPS, no need to keep
virtual.c.

BUG=chrome-os-partner:36258
BRANCH=none
TEST=Build and boot on Pistachio.

Change-Id: Ia26c8eae53eb8f860747a6b321363776841d1a94
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: c422b02e9a2a20d130913b1cfb835ad74c39ddca
Original-Change-Id: I9476cd225a08534830c700cba7bf9d3ef871757e
Original-Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/247190
Reviewed-on: http://review.coreboot.org/9821
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-21 08:13:03 +02:00
..
cache.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
Config.in libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
coreboot.c libpayload: mips: Use KSEG1 to access DMA-coherent memory 2015-04-21 08:12:29 +02:00
dummy_media.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
exception.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
exception_asm.S libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
gdb.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
head.S libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
libpayload.ldscript libpayload: mips: Set BASE_ADDRESS to 0 2015-04-21 08:12:22 +02:00
main.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
Makefile.inc libpayload: mips: Add macros to convert to/from KSEG{0,1} addresses 2015-04-21 08:13:03 +02:00
selfboot.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
string.c libpayload: mips: add memcmp to the MIPS string functions 2015-03-21 11:08:16 +01:00
sysinfo.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
timer.c libpayload: mips: add SOC CPU frequency 2015-03-21 11:09:22 +01:00
util.S libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00