blob: f9df8f2b57401a9d1b8ac5ea9f288ff9cda8d908 [file] [log] [blame]
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
# Whether to include the PrimeCell UART (PL011) driver.
arch_aarch64_use_pl011 = false
# The base address of the PrimeCell UART (PL011) device.
arch_aarch64_pl011_base_address = ""
}
assert(
!arch_aarch64_use_pl011 || arch_aarch64_pl011_base_address != "",
"Must provide the PL011 base address as \"arch_aarch64_pl011_base_address\".")