bsps: Move ZynqMP-specific info into the BSP

The address of the nandpsu peripheral is specific to the ZynqMP SoC and
not relevant to other devices that might have one or more instances of
this peripheral.
This commit is contained in:
Kinsey Moore
2022-12-28 13:13:38 -06:00
committed by Joel Sherrill
parent f8cb1f483d
commit f65bbb4059
6 changed files with 2 additions and 159 deletions

View File

@@ -20,14 +20,8 @@ install:
links:
- role: build-dependency
uid: objxilinxsupport
- role: build-dependency
uid: optnandpsu0baseaddress
- role: build-dependency
uid: optnandpsunuminstances
source:
- bsps/shared/dev/nand/xnandpsu_bbm.c
- bsps/shared/dev/nand/xnandpsu.c
- bsps/shared/dev/nand/xnandpsu_g.c
- bsps/shared/dev/nand/xnandpsu_onfi.c
- bsps/shared/dev/nand/xnandpsu_sinit.c
type: build

View File

@@ -1,18 +0,0 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- assert-uint32: null
- env-assign: null
- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2022 On-Line Applications Research Corporation (OAR)
default: 0xFF100000
default-by-variant: []
description: |
base address of NAND PSU 0
enabled-by: true
format: '{:#010x}'
links: []
name: XPAR_XNANDPSU_0_BASEADDR
type: build

View File

@@ -1,18 +0,0 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- assert-uint32: null
- env-assign: null
- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2022 On-Line Applications Research Corporation (OAR)
default: 1
default-by-variant: []
description: |
Number of nand instances
enabled-by: true
format: '{:#010x}'
links: []
name: XPAR_XNANDPSU_NUM_INSTANCES
type: build