mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 14:53:26 +09:00
![Mario Six](/assets/img/avatar_default.png)
More recent versions of IHS FPGAs feature a different memory layout. Add a Kconfig option to differentiate between the legacy layout, and the new layout (which is used on the upcoming "Gazerbeam" and later boards). Signed-off-by: Mario Six <mario.six@gdsys.cc>
98 lines
1.6 KiB
Plaintext
98 lines
1.6 KiB
Plaintext
config GDSYS_LEGACY_OSD_CMDS
|
|
bool
|
|
help
|
|
Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by
|
|
gdsys devices.
|
|
|
|
config GDSYS_LEGACY_DRIVERS
|
|
bool
|
|
help
|
|
Enable the gdsys legacy drivers under board/gdsys/common. If this
|
|
option is not set, all relevant DM drivers must be configured for the
|
|
device in question.
|
|
|
|
config SYS_FPGA0_BASE
|
|
hex
|
|
default E0600000
|
|
help
|
|
The base address of the first FPGA's register map.
|
|
|
|
config SYS_FPGA0_SIZE
|
|
hex
|
|
default 1
|
|
help
|
|
The base address of the first FPGA's register map.
|
|
|
|
config SYS_FPGA1_BASE
|
|
hex
|
|
help
|
|
The base address of the second FPGA's register map.
|
|
|
|
config SYS_FPGA1_SIZE
|
|
hex
|
|
help
|
|
The base address of the second FPGA's register map.
|
|
|
|
if TARGET_HRCON
|
|
|
|
config SYS_BOARD
|
|
default "mpc8308"
|
|
|
|
config SYS_VENDOR
|
|
default "gdsys"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "hrcon"
|
|
|
|
config GDSYS_LEGACY_OSD_CMDS
|
|
default y
|
|
|
|
config GDSYS_LEGACY_DRIVERS
|
|
default y
|
|
|
|
endif
|
|
|
|
if TARGET_STRIDER
|
|
|
|
config SYS_BOARD
|
|
default "mpc8308"
|
|
|
|
config SYS_VENDOR
|
|
default "gdsys"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "strider"
|
|
|
|
config GDSYS_LEGACY_OSD_CMDS
|
|
default y
|
|
|
|
config GDSYS_LEGACY_DRIVERS
|
|
default y
|
|
|
|
endif
|
|
|
|
if TARGET_HRCON || TARGET_STRIDER
|
|
|
|
choice
|
|
prompt "FPGA flavor selection"
|
|
|
|
config SYS_FPGA_FLAVOR_LEGACY
|
|
bool "Legacy flavor"
|
|
help
|
|
This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
|
|
|
|
config SYS_FPGA_FLAVOR_GAZERBEAM
|
|
bool "Gazerbeam flavor"
|
|
help
|
|
This enables support for the gdsys FPGA memory layout of the
|
|
Gazerbeam board.
|
|
|
|
endchoice
|
|
|
|
config CMD_IOLOOP
|
|
bool "Enable 'ioloop' and 'ioreflect' commands"
|
|
help
|
|
These commands provide FPGA tests.
|
|
|
|
endif
|