blob: 35a5bf5d0d4e2d34e8c54a1f954dcf29c68b72a9 [file] [log] [blame]
Anurag Koulc7f61ce2021-02-24 19:11:06 +00001#
2# Copyright (c) 2021 Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7/terminal_uart0/ { ports[0] = $NF }
8/terminal_uart_ap/ { ports[1] = $NF }
9/terminal_uart_aon/ { ports[2] = $NF }
10END {
11 for (i = 0; i < num_uarts; i++) {
12 if (ports[i] != "")
13 print "ports[" i "]=" ports[i]
14 }
15}