blob: 18f37706fe1f512fd93d73bf40c0699841584e89 [file] [log] [blame]
Furquan Shaikh8c8c3772014-02-19 11:35:30 -08001##
Furquan Shaikh8c8c3772014-02-19 11:35:30 -08002##
3## Copyright (c) 2012 Google Inc.
4##
5## Redistribution and use in source and binary forms, with or without
6## modification, are permitted provided that the following conditions
7## are met:
8## 1. Redistributions of source code must retain the above copyright
9## notice, this list of conditions and the following disclaimer.
10## 2. Redistributions in binary form must reproduce the above copyright
11## notice, this list of conditions and the following disclaimer in the
12## documentation and/or other materials provided with the distribution.
13## 3. The name of the author may not be used to endorse or promote products
14## derived from this software without specific prior written permission.
15##
16## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26## SUCH DAMAGE.
27##
28
29if ARCH_ARM64
30
Elyes HAOUAS00b5f532021-02-01 09:45:08 +010031config ARCH_SPECIFIC_OPTIONS
Furquan Shaikh8c8c3772014-02-19 11:35:30 -080032 def_bool y
33 select LITTLE_ENDIAN
34
Julius Werner4bfa29e2015-08-20 14:36:34 -070035config ARM64_A53_ERRATUM_843419
36 bool "Enable Cortex-A53 erratum 843419 linker workaround"
37 default n
38 help
39 Some early Cortex-A53 revisions had a hardware bug that results in
40 incorrect address calculations in rare cases. This option enables a
41 linker workaround to avoid those cases if your toolchain supports it.
42
Furquan Shaikhe4a642c2015-01-31 23:24:32 -080043config DMA_LIM_EXCL
44 hex "DMA address limit(exclusive) in MiB units"
45 default 0x1000
46
Furquan Shaikh8c8c3772014-02-19 11:35:30 -080047endif