diff options
Diffstat (limited to 'spec/build/bsps/powerpc/qoriq')
49 files changed, 1046 insertions, 0 deletions
diff --git a/spec/build/bsps/powerpc/qoriq/abi.yml b/spec/build/bsps/powerpc/qoriq/abi.yml new file mode 100644 index 0000000000..15c08475c7 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/abi.yml @@ -0,0 +1,38 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- split: null +- env-append: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: +- -D__ppc_generic +- -mcpu=8540 +- -msoft-float +- -meabi +- -msdata=sysv +- -fno-common +- -mstrict-align +default-by-variant: +- value: + - -D__ppc_generic + - -mcpu=e6500 + - -m64 + - -fno-common + variants: + - powerpc/qoriq_e6500_64 +- value: + - -D__ppc_generic + - -mcpu=e6500 + - -m32 + - -msdata=sysv + - -fno-common + variants: + - powerpc/qoriq_e6500_32 +description: | + ABI flags +enabled-by: true +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/powerpc/qoriq/bspcore0.yml b/spec/build/bsps/powerpc/qoriq/bspcore0.yml new file mode 100644 index 0000000000..8f45629d43 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/bspcore0.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: qoriq_core_0 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: qoriq +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +- role: build-dependency + uid: ../../tstnolibdl +source: [] +type: build diff --git a/spec/build/bsps/powerpc/qoriq/bspcore1.yml b/spec/build/bsps/powerpc/qoriq/bspcore1.yml new file mode 100644 index 0000000000..9324812d54 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/bspcore1.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: qoriq_core_1 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: qoriq +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +- role: build-dependency + uid: ../../tstnolibdl +source: [] +type: build diff --git a/spec/build/bsps/powerpc/qoriq/bspe500.yml b/spec/build/bsps/powerpc/qoriq/bspe500.yml new file mode 100644 index 0000000000..06fd9dc25c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/bspe500.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: qoriq_e500 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: qoriq +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +- role: build-dependency + uid: ../../tstnolibdl +source: [] +type: build diff --git a/spec/build/bsps/powerpc/qoriq/bspe650032.yml b/spec/build/bsps/powerpc/qoriq/bspe650032.yml new file mode 100644 index 0000000000..b558817e8d --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/bspe650032.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: qoriq_e6500_32 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: qoriq +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +- role: build-dependency + uid: ../../tstnolibdl +source: [] +type: build diff --git a/spec/build/bsps/powerpc/qoriq/bspe650064.yml b/spec/build/bsps/powerpc/qoriq/bspe650064.yml new file mode 100644 index 0000000000..3b375ebf78 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/bspe650064.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: powerpc +bsp: qoriq_e6500_64 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: qoriq +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +- role: build-dependency + uid: ../../tstnolibdl +source: [] +type: build diff --git a/spec/build/bsps/powerpc/qoriq/grp.yml b/spec/build/bsps/powerpc/qoriq/grp.yml new file mode 100644 index 0000000000..270fe6e898 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/grp.yml @@ -0,0 +1,118 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: group +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +includes: [] +install: [] +ldflags: [] +links: +- role: build-dependency + uid: ../../linkcmds +- role: build-dependency + uid: ../../obj +- role: build-dependency + uid: ../../objirq +- role: build-dependency + uid: ../../optconsolebaud +- role: build-dependency + uid: ../crti +- role: build-dependency + uid: ../crtn +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: ../obj +- role: build-dependency + uid: ../objexc +- role: build-dependency + uid: abi +- role: build-dependency + uid: obj +- role: build-dependency + uid: objnet +- role: build-dependency + uid: objsmp +- role: build-dependency + uid: optbucsr +- role: build-dependency + uid: optbusclkdiv +- role: build-dependency + uid: optcachealign +- role: build-dependency + uid: optcacheblktouch +- role: build-dependency + uid: optcachedatal1sz +- role: build-dependency + uid: optcachedatal2sz +- role: build-dependency + uid: optcacheinstl1sz +- role: build-dependency + uid: optcacheinstl2sz +- role: build-dependency + uid: optchipnum +- role: build-dependency + uid: optchipser +- role: build-dependency + uid: optclktmctr +- role: build-dependency + uid: optclktmr +- role: build-dependency + uid: optcpucnt +- role: build-dependency + uid: optetsec1phy +- role: build-dependency + uid: optetsec2phy +- role: build-dependency + uid: optetsec3phy +- role: build-dependency + uid: optexcbooke +- role: build-dependency + uid: optexcfixdhdlr +- role: build-dependency + uid: optfdtmxsz +- role: build-dependency + uid: optfdtro +- role: build-dependency + uid: opthid0 +- role: build-dependency + uid: opthyp +- role: build-dependency + uid: opthypguest +- role: build-dependency + uid: opticombegin +- role: build-dependency + uid: opticomsz +- role: build-dependency + uid: optmas7 +- role: build-dependency + uid: optmsr +- role: build-dependency + uid: optspefscr +- role: build-dependency + uid: optthrdcnt +- role: build-dependency + uid: opttlb1cnt +- role: build-dependency + uid: optuart0en +- role: build-dependency + uid: optuart1en +- role: build-dependency + uid: optuartbrg0en +- role: build-dependency + uid: optuartbrg1en +- role: build-dependency + uid: optuartbrgmas +- role: build-dependency + uid: optuartbrgpri +- role: build-dependency + uid: optuartbrgslv +- role: build-dependency + uid: optuartirq +- role: build-dependency + uid: start +- role: build-dependency + uid: ../../bspopts +type: build +use-after: [] +use-before: [] diff --git a/spec/build/bsps/powerpc/qoriq/obj.yml b/spec/build/bsps/powerpc/qoriq/obj.yml new file mode 100644 index 0000000000..0956313b77 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/obj.yml @@ -0,0 +1,75 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + source: + - bsps/powerpc/qoriq/include/bsp.h + - bsps/powerpc/qoriq/include/tm27.h +- destination: ${BSP_INCLUDEDIR}/asm + source: + - bsps/powerpc/qoriq/include/asm/epapr_hcalls.h + - bsps/powerpc/qoriq/include/asm/fsl_hcalls.h +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/powerpc/qoriq/include/bsp/intercom.h + - bsps/powerpc/qoriq/include/bsp/irq.h + - bsps/powerpc/qoriq/include/bsp/mmu.h + - bsps/powerpc/qoriq/include/bsp/qoriq.h + - bsps/powerpc/qoriq/include/bsp/tsec-config.h + - bsps/powerpc/qoriq/include/bsp/uart-bridge.h +- destination: ${BSP_INCLUDEDIR}/uapi/asm + source: + - bsps/powerpc/qoriq/include/uapi/asm/epapr_hcalls.h +- destination: ${BSP_LIBDIR} + source: + - bsps/powerpc/qoriq/start/linkcmds.qoriq_core_0 + - bsps/powerpc/qoriq/start/linkcmds.qoriq_core_1 + - bsps/powerpc/qoriq/start/linkcmds.qoriq_e500 + - bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_32 + - bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_64 + - bsps/powerpc/shared/start/linkcmds.base +links: [] +source: +- bsps/powerpc/qoriq/btimer/btimer.c +- bsps/powerpc/qoriq/clock/clock-config.c +- bsps/powerpc/qoriq/console/console-config.c +- bsps/powerpc/qoriq/console/uart-bridge-master.c +- bsps/powerpc/qoriq/console/uart-bridge-slave.c +- bsps/powerpc/qoriq/irq/irq.c +- bsps/powerpc/qoriq/mpci/intercom-mpci.c +- bsps/powerpc/qoriq/mpci/intercom.c +- bsps/powerpc/qoriq/mpci/lock.S +- bsps/powerpc/qoriq/rtc/rtc-config.c +- bsps/powerpc/qoriq/start/bspreset.c +- bsps/powerpc/qoriq/start/bsprestart.c +- bsps/powerpc/qoriq/start/bspstart.c +- bsps/powerpc/qoriq/start/epapr_hcalls.S +- bsps/powerpc/qoriq/start/l1cache.S +- bsps/powerpc/qoriq/start/l2cache.S +- bsps/powerpc/qoriq/start/mmu-config.c +- bsps/powerpc/qoriq/start/mmu-tlb1.S +- bsps/powerpc/qoriq/start/mmu.c +- bsps/powerpc/qoriq/start/portal.c +- bsps/powerpc/qoriq/start/restart.S +- bsps/powerpc/shared/cache/cache.c +- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c +- bsps/powerpc/shared/mmu/e500-mmu.c +- bsps/powerpc/shared/start/bsp-start-zero.S +- bsps/powerpc/shared/start/bspidle.c +- bsps/powerpc/shared/start/tictac.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/rtc/rtc-support.c +- bsps/shared/dev/serial/console-termios-init.c +- bsps/shared/dev/serial/console-termios.c +- bsps/shared/irq/irq-default-handler.c +- bsps/shared/start/bsp-fdt.c +- bsps/shared/start/bspfatal-default.c +- bsps/shared/start/sbrk.c +type: build diff --git a/spec/build/bsps/powerpc/qoriq/objnet.yml b/spec/build/bsps/powerpc/qoriq/objnet.yml new file mode 100644 index 0000000000..fa8c0a9f43 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/objnet.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- RTEMS_NETWORKING +includes: +- cpukit/libnetworking +install: [] +links: [] +source: +- bsps/powerpc/qoriq/net/if_intercom.c +- bsps/powerpc/qoriq/net/network.c +- bsps/powerpc/shared/net/tsec.c +type: build diff --git a/spec/build/bsps/powerpc/qoriq/objsmp.yml b/spec/build/bsps/powerpc/qoriq/objsmp.yml new file mode 100644 index 0000000000..766227b97d --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/objsmp.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- RTEMS_SMP +includes: [] +install: [] +links: [] +source: +- bsps/powerpc/qoriq/start/bspsmp.c +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optbucsr.yml b/spec/build/bsps/powerpc/qoriq/optbucsr.yml new file mode 100644 index 0000000000..fe64767307 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optbucsr.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: null +default-by-variant: +- value: 20972033 + variants: + - powerpc/qoriq_e6500.* +description: | + initial BUCSR value +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INITIAL_BUCSR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml b/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml new file mode 100644 index 0000000000..217718a1dc --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 1 +default-by-variant: +- value: 2 + variants: + - powerpc/qoriq_e6500.* +description: | + divider of the platform clock to get the clock most on-chip peripherals +enabled-by: true +format: '{}' +links: [] +name: QORIQ_BUS_CLOCK_DIVIDER +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcachealign.yml b/spec/build/bsps/powerpc/qoriq/optcachealign.yml new file mode 100644 index 0000000000..77e30c86c7 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcachealign.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: null +default-by-variant: +- value: 64 + variants: + - powerpc/qoriq_e6500.* +description: | + the cache alignment +enabled-by: true +format: '{}' +links: [] +name: PPC_CACHE_ALIGNMENT +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml b/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml new file mode 100644 index 0000000000..3b9251a774 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + if defined use dcbt instruction +enabled-by: true +links: [] +name: BSP_USE_DATA_CACHE_BLOCK_TOUCH +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml b/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml new file mode 100644 index 0000000000..1717ff9660 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 32768 +default-by-variant: [] +description: | + the L1 data cache size +enabled-by: true +format: '{}' +links: [] +name: PPC_CACHE_DATA_L1_SIZE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml b/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml new file mode 100644 index 0000000000..ef4ee635ef --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 262144 +default-by-variant: +- value: 2097152 + variants: + - powerpc/qoriq_e6500.* +description: | + the L2 data cache size +enabled-by: true +format: '{}' +links: [] +name: PPC_CACHE_DATA_L2_SIZE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml b/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml new file mode 100644 index 0000000000..10e96967f7 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 32768 +default-by-variant: [] +description: | + the L1 instruction cache size +enabled-by: true +format: '{}' +links: [] +name: PPC_CACHE_INSTRUCTION_L1_SIZE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml b/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml new file mode 100644 index 0000000000..133941ff7b --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 262144 +default-by-variant: +- value: 2097152 + variants: + - powerpc/qoriq_e6500.* +description: | + the L2 instruction cache size +enabled-by: true +format: '{}' +links: [] +name: PPC_CACHE_INSTRUCTION_L2_SIZE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optchipnum.yml b/spec/build/bsps/powerpc/qoriq/optchipnum.yml new file mode 100644 index 0000000000..f8bb14166f --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optchipnum.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 1020 +default-by-variant: +- value: 0 + variants: + - powerpc/qoriq_e6500.* +description: | + chip number, e.g. 1020, 2040, 2080, 4240 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_CHIP_NUMBER +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optchipser.yml b/spec/build/bsps/powerpc/qoriq/optchipser.yml new file mode 100644 index 0000000000..c566b49761 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optchipser.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- define-unquoted: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: P +default-by-variant: +- value: T + variants: + - powerpc/qoriq_e6500.* +description: | + chip series, e.g. 'P' or 'T' +enabled-by: true +format: '''{}''' +links: [] +name: QORIQ_CHIP_SERIES +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optclktmctr.yml b/spec/build/bsps/powerpc/qoriq/optclktmctr.yml new file mode 100644 index 0000000000..f3d428e437 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optclktmctr.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 1 +default-by-variant: +- value: 5 + variants: + - powerpc/qoriq_core_1 +description: | + global timer used for the timecounter, 0..3 maps to A0..A3, and 4..7 maps to B0..B3 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_CLOCK_TIMECOUNTER +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optclktmr.yml b/spec/build/bsps/powerpc/qoriq/optclktmr.yml new file mode 100644 index 0000000000..61596b518c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optclktmr.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: +- value: 4 + variants: + - powerpc/qoriq_core_1 +description: | + global timer used for system clock, 0..3 maps to A0..A3, and 4..7 maps to B0..B3 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_CLOCK_TIMER +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optcpucnt.yml b/spec/build/bsps/powerpc/qoriq/optcpucnt.yml new file mode 100644 index 0000000000..db805547e2 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optcpucnt.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 2 +default-by-variant: +- value: 24 + variants: + - powerpc/qoriq_e6500.* +description: | + maximum virtual processor count +enabled-by: true +format: '{}' +links: [] +name: QORIQ_CPU_COUNT +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml new file mode 100644 index 0000000000..93e44d817c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: -1 +default-by-variant: [] +description: | + PHY address for eTSEC interface 1 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_ETSEC_1_PHY_ADDR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml new file mode 100644 index 0000000000..037db1630a --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: [] +description: | + PHY address for eTSEC interface 2 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_ETSEC_2_PHY_ADDR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml new file mode 100644 index 0000000000..21a511339a --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 1 +default-by-variant: [] +description: | + PHY address for eTSEC interface 3 +enabled-by: true +format: '{}' +links: [] +name: QORIQ_ETSEC_3_PHY_ADDR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optexcbooke.yml b/spec/build/bsps/powerpc/qoriq/optexcbooke.yml new file mode 100644 index 0000000000..e27cb4ab44 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optexcbooke.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + only support Book E exception types +enabled-by: true +links: [] +name: PPC_EXC_CONFIG_BOOKE_ONLY +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml b/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml new file mode 100644 index 0000000000..b636d8022b --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + use fixed high-level exception handler +enabled-by: true +links: [] +name: PPC_EXC_CONFIG_USE_FIXED_HANDLER +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml b/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml new file mode 100644 index 0000000000..14af766230 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 262144 +default-by-variant: [] +description: | + maximum size of the FDT blob in bytes +enabled-by: true +format: '{}' +links: [] +name: BSP_FDT_BLOB_SIZE_MAX +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optfdtro.yml b/spec/build/bsps/powerpc/qoriq/optfdtro.yml new file mode 100644 index 0000000000..a61bb2924b --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optfdtro.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + place the FDT blob into the read-only data area +enabled-by: true +links: [] +name: BSP_FDT_BLOB_READ_ONLY +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opthid0.yml b/spec/build/bsps/powerpc/qoriq/opthid0.yml new file mode 100644 index 0000000000..c0b1a56346 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opthid0.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: null +default-by-variant: +- value: 1073741824 + variants: + - powerpc/qoriq_e6500.* +description: | + initial HID0 value (EN_L2MMU_MHD is set by default on the T-series) +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INITIAL_HID0 +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opthyp.yml b/spec/build/bsps/powerpc/qoriq/opthyp.yml new file mode 100644 index 0000000000..ccb383c8b5 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opthyp.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: false +default-by-variant: +- value: true + variants: + - powerpc/qoriq_e6500.* +description: | + defined if the processor core has a hypervisor mode +enabled-by: true +links: [] +name: QORIQ_HAS_HYPERVISOR_MODE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opthypguest.yml b/spec/build/bsps/powerpc/qoriq/opthypguest.yml new file mode 100644 index 0000000000..6e579dc06c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opthypguest.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: false +default-by-variant: [] +description: | + defined if we are a hypervisor guest +enabled-by: true +links: [] +name: QORIQ_IS_HYPERVISOR_GUEST +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opticombegin.yml b/spec/build/bsps/powerpc/qoriq/opticombegin.yml new file mode 100644 index 0000000000..29dae8f4a5 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opticombegin.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 50331648 +default-by-variant: [] +description: | + inter-processor communication area begin +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INTERCOM_AREA_BEGIN +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opticomsz.yml b/spec/build/bsps/powerpc/qoriq/opticomsz.yml new file mode 100644 index 0000000000..ebb977bac9 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opticomsz.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 16777216 +default-by-variant: [] +description: | + inter-processor communication area size +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INTERCOM_AREA_SIZE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optmas7.yml b/spec/build/bsps/powerpc/qoriq/optmas7.yml new file mode 100644 index 0000000000..77ed473263 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optmas7.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: +- value: 15 + variants: + - powerpc/qoriq_e6500.* +description: | + MAS7 value for device TLB1 entries +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_MMU_DEVICE_MAS7 +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optmsr.yml b/spec/build/bsps/powerpc/qoriq/optmsr.yml new file mode 100644 index 0000000000..5327f63c6f --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optmsr.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 33554944 +default-by-variant: +- value: 2181046784 + variants: + - powerpc/qoriq_e6500_64.* +- value: 33563136 + variants: + - powerpc/qoriq_e6500_32.* +description: | + initial MSR value +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INITIAL_MSR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optspefscr.yml b/spec/build/bsps/powerpc/qoriq/optspefscr.yml new file mode 100644 index 0000000000..820eef00ec --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optspefscr.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: +- value: null + variants: + - powerpc/qoriq_e6500.* +description: | + initial SPEFSCR value +enabled-by: true +format: '{:#010x}' +links: [] +name: QORIQ_INITIAL_SPEFSCR +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml b/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml new file mode 100644 index 0000000000..5a2b67bf5c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 1 +default-by-variant: +- value: 2 + variants: + - powerpc/qoriq_e6500.* +description: | + the number of threads per core +enabled-by: true +format: '{}' +links: [] +name: QORIQ_PHYSICAL_THREAD_COUNT +type: build diff --git a/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml b/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml new file mode 100644 index 0000000000..4b9ed660b7 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 16 +default-by-variant: +- value: 64 + variants: + - powerpc/qoriq_e6500.* +description: | + TLB1 entry count +enabled-by: true +format: '{}' +links: [] +name: QORIQ_TLB1_ENTRY_COUNT +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuart0en.yml b/spec/build/bsps/powerpc/qoriq/optuart0en.yml new file mode 100644 index 0000000000..c462db34d3 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuart0en.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: +- value: false + variants: + - powerpc/qoriq_core_1 +description: | + use 1 to enable UART 0, otherwise use 0 +enabled-by: true +links: [] +name: QORIQ_UART_0_ENABLE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuart1en.yml b/spec/build/bsps/powerpc/qoriq/optuart1en.yml new file mode 100644 index 0000000000..af613ec57f --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuart1en.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: +- value: false + variants: + - powerpc/qoriq_core_1 +description: | + use 1 to enable UART 1, otherwise use 0 +enabled-by: true +links: [] +name: QORIQ_UART_1_ENABLE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml b/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml new file mode 100644 index 0000000000..05706d7ef7 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: false +default-by-variant: [] +description: | + use 1 to enable UART 0 to Intercom bridge, otherwise use 0 +enabled-by: true +links: [] +name: QORIQ_UART_BRIDGE_0_ENABLE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml b/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml new file mode 100644 index 0000000000..cc2c43c13a --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: false +default-by-variant: +- value: true + variants: + - powerpc/qoriq_core_0 +- value: true + variants: + - powerpc/qoriq_core_1 +description: | + use 1 to enable UART 1 to Intercom bridge, otherwise use 0 +enabled-by: true +links: [] +name: QORIQ_UART_BRIDGE_1_ENABLE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml new file mode 100644 index 0000000000..8a58b8c518 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: [] +description: | + UART to Intercom bridge master core index +enabled-by: true +format: '{}' +links: [] +name: QORIQ_UART_BRIDGE_MASTER_CORE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml new file mode 100644 index 0000000000..b653aaf881 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 250 +default-by-variant: [] +description: | + UART to Intercom bridge task priority +enabled-by: true +format: '{}' +links: [] +name: QORIQ_UART_BRIDGE_TASK_PRIORITY +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml new file mode 100644 index 0000000000..8a672326f9 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: [] +description: | + UART to Intercom bridge slave core index +enabled-by: true +format: '{}' +links: [] +name: QORIQ_UART_BRIDGE_SLAVE_CORE +type: build diff --git a/spec/build/bsps/powerpc/qoriq/optuartirq.yml b/spec/build/bsps/powerpc/qoriq/optuartirq.yml new file mode 100644 index 0000000000..152668b2d9 --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/optuartirq.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + enable usage of interrupts for the UART modules +enabled-by: true +links: [] +name: BSP_USE_UART_INTERRUPTS +type: build diff --git a/spec/build/bsps/powerpc/qoriq/start.yml b/spec/build/bsps/powerpc/qoriq/start.yml new file mode 100644 index 0000000000..c3e8e5c95c --- /dev/null +++ b/spec/build/bsps/powerpc/qoriq/start.yml @@ -0,0 +1,14 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +asflags: [] +build-type: start-file +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +includes: [] +install-path: ${BSP_LIBDIR} +links: [] +source: +- bsps/powerpc/qoriq/start/start.S +target: start.o +type: build |