From 6f2aa8ad36e3aaffc9fa2cb8c744b04da7339ee2 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 13 Jul 2021 20:47:08 -1000 Subject: build: Use BSP family for options - Optionally add support for 'default-by-family' to allow option to be set by a family and so all related BSPs Close #4468 --- spec/build/bsps/aarch64/a53/abi.yml | 1 + spec/build/bsps/aarch64/a53/optloadoff.yml | 1 + spec/build/bsps/aarch64/a53/optnocachelen.yml | 1 + spec/build/bsps/aarch64/a53/optramlen.yml | 1 + spec/build/bsps/aarch64/a53/optramori.yml | 1 + spec/build/bsps/aarch64/a53/tsta53.yml | 1 + spec/build/bsps/aarch64/a72/abi.yml | 1 + spec/build/bsps/aarch64/a72/optloadoff.yml | 1 + spec/build/bsps/aarch64/a72/optnocachelen.yml | 1 + spec/build/bsps/aarch64/a72/optramlen.yml | 1 + spec/build/bsps/aarch64/a72/optramori.yml | 1 + spec/build/bsps/aarch64/a72/tsta72.yml | 1 + spec/build/bsps/aarch64/optgtuseps.yml | 1 + spec/build/bsps/aarch64/optgtusevirt.yml | 1 + spec/build/bsps/aarch64/optisns.yml | 1 + spec/build/bsps/aarch64/optmmupages.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/abi.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optconminor.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optramlen.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/optramori.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml | 1 + spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml | 1 + spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml | 1 + 33 files changed, 33 insertions(+) (limited to 'spec/build/bsps/aarch64') diff --git a/spec/build/bsps/aarch64/a53/abi.yml b/spec/build/bsps/aarch64/a53/abi.yml index 6401972f76..02d9880041 100644 --- a/spec/build/bsps/aarch64/a53/abi.yml +++ b/spec/build/bsps/aarch64/a53/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: - -mcpu=cortex-a53 +default-by-family: [] default-by-variant: - value: - -mcpu=cortex-a53 diff --git a/spec/build/bsps/aarch64/a53/optloadoff.yml b/spec/build/bsps/aarch64/a53/optloadoff.yml index cce5dbc627..cbc44f37a5 100644 --- a/spec/build/bsps/aarch64/a53/optloadoff.yml +++ b/spec/build/bsps/aarch64/a53/optloadoff.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 32768 +default-by-family: [] default-by-variant: [] description: | offset of RAM region from memory area base diff --git a/spec/build/bsps/aarch64/a53/optnocachelen.yml b/spec/build/bsps/aarch64/a53/optnocachelen.yml index 0255838dd0..4b2a04b9ef 100644 --- a/spec/build/bsps/aarch64/a53/optnocachelen.yml +++ b/spec/build/bsps/aarch64/a53/optnocachelen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 1048576 +default-by-family: [] default-by-variant: [] description: | length of nocache RAM region diff --git a/spec/build/bsps/aarch64/a53/optramlen.yml b/spec/build/bsps/aarch64/a53/optramlen.yml index b67c427b1d..2a0cdcc39a 100644 --- a/spec/build/bsps/aarch64/a53/optramlen.yml +++ b/spec/build/bsps/aarch64/a53/optramlen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 0x8000000 +default-by-family: [] default-by-variant: [] description: | length of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/a53/optramori.yml b/spec/build/bsps/aarch64/a53/optramori.yml index fdf50787fe..6718e70f14 100644 --- a/spec/build/bsps/aarch64/a53/optramori.yml +++ b/spec/build/bsps/aarch64/a53/optramori.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 1073741824 +default-by-family: [] default-by-variant: [] description: | base address of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/a53/tsta53.yml b/spec/build/bsps/aarch64/a53/tsta53.yml index 6876d23f56..f263557cb3 100644 --- a/spec/build/bsps/aarch64/a53/tsta53.yml +++ b/spec/build/bsps/aarch64/a53/tsta53.yml @@ -34,6 +34,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/abi.yml b/spec/build/bsps/aarch64/a72/abi.yml index 9b9438648c..9b2e536d26 100644 --- a/spec/build/bsps/aarch64/a72/abi.yml +++ b/spec/build/bsps/aarch64/a72/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: - -mcpu=cortex-a72 +default-by-family: [] default-by-variant: - value: - -mcpu=cortex-a72 diff --git a/spec/build/bsps/aarch64/a72/optloadoff.yml b/spec/build/bsps/aarch64/a72/optloadoff.yml index cbe390c2f6..1943ca00ed 100644 --- a/spec/build/bsps/aarch64/a72/optloadoff.yml +++ b/spec/build/bsps/aarch64/a72/optloadoff.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 32768 +default-by-family: [] default-by-variant: [] description: | offset of RAM region from memory area base diff --git a/spec/build/bsps/aarch64/a72/optnocachelen.yml b/spec/build/bsps/aarch64/a72/optnocachelen.yml index 47d55be601..3cbf1da53d 100644 --- a/spec/build/bsps/aarch64/a72/optnocachelen.yml +++ b/spec/build/bsps/aarch64/a72/optnocachelen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 1048576 +default-by-family: [] default-by-variant: [] description: | length of nocache RAM region diff --git a/spec/build/bsps/aarch64/a72/optramlen.yml b/spec/build/bsps/aarch64/a72/optramlen.yml index b18ef2ff08..bb5574b8b0 100644 --- a/spec/build/bsps/aarch64/a72/optramlen.yml +++ b/spec/build/bsps/aarch64/a72/optramlen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 0x8000000 +default-by-family: [] default-by-variant: [] description: | length of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/a72/optramori.yml b/spec/build/bsps/aarch64/a72/optramori.yml index be92685f83..8718e2c903 100644 --- a/spec/build/bsps/aarch64/a72/optramori.yml +++ b/spec/build/bsps/aarch64/a72/optramori.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 1073741824 +default-by-family: [] default-by-variant: [] description: | base address of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/a72/tsta72.yml b/spec/build/bsps/aarch64/a72/tsta72.yml index 6876d23f56..f263557cb3 100644 --- a/spec/build/bsps/aarch64/a72/tsta72.yml +++ b/spec/build/bsps/aarch64/a72/tsta72.yml @@ -34,6 +34,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/aarch64/optgtuseps.yml b/spec/build/bsps/aarch64/optgtuseps.yml index 3c85f08e17..b78d268de8 100644 --- a/spec/build/bsps/aarch64/optgtuseps.yml +++ b/spec/build/bsps/aarch64/optgtuseps.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: false +default-by-family: [] default-by-variant: [] description: | If set to true, and AARCH64_GENERIC_TIMER_USE_VIRTUAL is false, then diff --git a/spec/build/bsps/aarch64/optgtusevirt.yml b/spec/build/bsps/aarch64/optgtusevirt.yml index 919eb86c32..562213725f 100644 --- a/spec/build/bsps/aarch64/optgtusevirt.yml +++ b/spec/build/bsps/aarch64/optgtusevirt.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: false +default-by-family: [] default-by-variant: [] description: | If set to true, then the clock driver uses the Virtual Timer of the AARCH64 diff --git a/spec/build/bsps/aarch64/optisns.yml b/spec/build/bsps/aarch64/optisns.yml index 8db901604b..6270861f20 100644 --- a/spec/build/bsps/aarch64/optisns.yml +++ b/spec/build/bsps/aarch64/optisns.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: true +default-by-family: [] default-by-variant: - value: false variants: diff --git a/spec/build/bsps/aarch64/optmmupages.yml b/spec/build/bsps/aarch64/optmmupages.yml index d737002f87..88812643d4 100644 --- a/spec/build/bsps/aarch64/optmmupages.yml +++ b/spec/build/bsps/aarch64/optmmupages.yml @@ -9,6 +9,7 @@ build-type: option copyrights: - Copyright (C) 2021 On-Line Applications Research (OAR) default: 0x40 +default-by-family: [] default-by-variant: [] description: | Defines the number of MMU translation table pages to provide. diff --git a/spec/build/bsps/aarch64/xilinx-versal/abi.yml b/spec/build/bsps/aarch64/xilinx-versal/abi.yml index 90bfca9f76..96611332f0 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/abi.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2021 Gedare Bloom default: - -mcpu=cortex-a72 +default-by-family: [] default-by-variant: - value: - -mcpu=cortex-a72 diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml index 4ba449b8fd..c4fc42ee70 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: 24000000 +default-by-family: [] default-by-variant: - value: 100000000 variants: diff --git a/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml b/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml index bb21e8fae7..95a99fb309 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: 0 +default-by-family: [] default-by-variant: [] description: | minor number of console device diff --git a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml index 41023dcf3e..5aee8e0e07 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: 32768 +default-by-family: [] default-by-variant: - value: 0x0 variants: diff --git a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml index 97c1c8bfab..b5cbc46a79 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: 0x100000 +default-by-family: [] default-by-variant: [] description: | length of nocache RAM region diff --git a/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml b/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml index ebc36d3139..3aff249c86 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: 0x10000000 +default-by-family: [] default-by-variant: [] description: | length of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/xilinx-versal/optramori.yml b/spec/build/bsps/aarch64/xilinx-versal/optramori.yml index 8ab8f5bc13..a05802bf88 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optramori.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: 0x20000000 +default-by-family: [] default-by-variant: - value: 0x10000000 variants: diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml index 8828185cd8..43f6b2eaa8 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml @@ -12,6 +12,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml b/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml index 4f9a21e9d7..0876ef9e69 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml @@ -12,6 +12,7 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml index 56c7694f35..b22894cc87 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: - -mcpu=cortex-a53 +default-by-family: [] default-by-variant: - value: - -mcpu=cortex-a53 diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml index d663d6f640..ac21974629 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 100000000 +default-by-family: [] default-by-variant: - value: 100000000 variants: diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml index 0bdc2d61df..28ed8a321f 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 32768 +default-by-family: [] default-by-variant: - value: 0x0 variants: diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml index 58d2c34b41..66285b07c8 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 0x100000 +default-by-family: [] default-by-variant: [] description: | length of nocache RAM region diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml index 4599773985..331e61ca35 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 0x10000000 +default-by-family: [] default-by-variant: [] description: | length of memory area available to the BSP diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml index c17febe288..3035d4efda 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml @@ -8,6 +8,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: 0x40018000 +default-by-family: [] default-by-variant: - value: 0x10000000 variants: diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml index 80d338fda1..efe0b82a4f 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml @@ -34,6 +34,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml index 8bf646b1d4..b7376e98bf 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true -- cgit v1.2.3