diff options
author | Furquan Shaikh <furquan@google.com> | 2015-01-31 23:24:32 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-23 13:11:24 +0100 |
commit | e4a642c86713e98617173477b9327cfd3c4cd369 (patch) | |
tree | 118cca4526324d46a3fcd8cac6af7ffc2799ae09 /payloads/libpayload/configs | |
parent | a874a7c26f7f0477b13428bf6e7405e52b3983f6 (diff) |
libpayload arm64: Allow board to define upper address limit on DMA
Instead of forcing boards to have DMA region below 4GiB, provide
Kconfig option DMA_LIM_EXCL that a board can use to set the upper
limit in MiB units on the address range reserved by DMA. By default,
this value is 0x1000 i.e. 4GiB limit on the DMA upper address.
BUG=None
BRANCH=None
TEST=Compiles successfully for rush. Default value is seen as 0x1000.
Change-Id: Ie35d3844a0989486ae022f8922fdd4c9d7d57fb4
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 6716cf312a103bc0440a558fc43c8c77869816e3
Original-Change-Id: I3ecbb4ec90995ab1568cb0924d5ce9467492697d
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/245250
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8800
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'payloads/libpayload/configs')
-rw-r--r-- | payloads/libpayload/configs/config.arm64-generic | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/configs/config.arm64-generic b/payloads/libpayload/configs/config.arm64-generic index aa6e2b4014..d44237ef5a 100644 --- a/payloads/libpayload/configs/config.arm64-generic +++ b/payloads/libpayload/configs/config.arm64-generic @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # libpayload version: 0.2.0 -# Wed Mar 18 16:11:01 2015 +# Sat Mar 21 13:53:09 2015 # # @@ -65,3 +65,4 @@ CONFIG_LP_USB_GEN_HUB=y CONFIG_LP_LITTLE_ENDIAN=y # CONFIG_LP_IO_ADDRESS_SPACE is not set CONFIG_LP_ARCH_SPECIFIC_OPTIONS=y +CONFIG_LP_DMA_LIM_EXCL=0x1000 |