blob: f9df8f2b57401a9d1b8ac5ea9f288ff9cda8d908 [file] [log] [blame]
Andrew Scull18834872018-10-12 11:48:09 +01001# Copyright 2018 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Andrew Scull114096b2018-07-31 14:42:16 +010015declare_args() {
16 # Whether to include the PrimeCell UART (PL011) driver.
17 arch_aarch64_use_pl011 = false
18
19 # The base address of the PrimeCell UART (PL011) device.
20 arch_aarch64_pl011_base_address = ""
21}
22
Andrew Scull265ada92018-07-30 15:19:01 +010023assert(
24 !arch_aarch64_use_pl011 || arch_aarch64_pl011_base_address != "",
25 "Must provide the PL011 base address as \"arch_aarch64_pl011_base_address\".")