forked from Minki/linux
a3905af5be
Include: - Update for Litex SoC controller to support wider width registers as well as reset. - Refactor SMP code to use device tree to define possible cpus. - Updates build including generating vmlinux.bin -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE2cRzVK74bBA6Je/xw7McLV5mJ+QFAmA5bOcACgkQw7McLV5m J+QzlBAAl3kfYayGs286Ol5XDHQynFLkfUkGIrD8T+aHjjZS2DRJOAwoGbE+htv6 Nt6rXciHi9FNSgTf+nuTm/aQ8qSgFlsYB0AQBjLA193Og/3+G0ifQHcMoDKKRwj/ u/gqD9geGrsgVRAxqNQ18wBqX+rBPajq8+Mtjg3/ikJfkFc0GqugqevpIRNC7gN4 PmttAlOhecxFrJ1H4O4qqwctooPAIZJgRXYK8FiOBvyQXOkBmPmuodh1FhdR+jEZ /My5PQ6vYgCaXh9FuckX2xf0B3iV5+T6FFoGMPTERjz0ntglHhFLA7P18o8gsaXT vUQfT9gtoR9OckmUUxXyXlF3oZft4KouMwp04+WWaiOX52nWLXJ4Jh3GV9UbprJl TwlnOkUtQOttRIuIkKnbzDITY91RLPjH5hlO2Suc2nKG6ExNeHNqt+btn7KoFRy9 BDqRZKppBcz2PUSfHo+kC9MDM6/D4ZYlTlprW9b/U7Aa2xfVWa5KkxamiCT6gVec 8/y+8VnOU4JGl+KcAr61FoBCHgWqAOVe3XLO3oyvdpVDChNtcFl7d2zYiqoS+9fc HDR2Xivr+qClAUpFo+JeLKfISl0j/5lu1+4t7bA6fMunv3ObFHIJUKKCFBIugLu6 j9nM2F2fqDmvh6xGSFp6bP9PIa6Rmk79EA75R0F4HINU1rnnPKI= =IW6A -----END PGP SIGNATURE----- Merge tag 'for-linus' of git://github.com/openrisc/linux Pull OpenRISC updates from Stafford Horne: - Update for Litex SoC controller to support wider width registers as well as reset. - Refactor SMP code to use device tree to define possible cpus. - Update build including generating vmlinux.bin * tag 'for-linus' of git://github.com/openrisc/linux: openrisc: Use devicetree to determine present cpus drivers/soc/litex: Add restart handler openrisc: add arch/openrisc/Kbuild drivers/soc/litex: make 'litex_[set|get]_reg()' methods private drivers/soc/litex: support 32-bit subregisters, 64-bit CPUs drivers/soc/litex: s/LITEX_REG_SIZE/LITEX_SUBREG_ALIGN/g drivers/soc/litex: separate MMIO from subregister offset calculation drivers/soc/litex: move generic accessors to litex.h openrisc: restart: Call common handlers before hanging openrisc: Add vmlinux.bin target
33 lines
870 B
Plaintext
33 lines
870 B
Plaintext
# SPDX-License_Identifier: GPL-2.0
|
|
|
|
menu "Enable LiteX SoC Builder specific drivers"
|
|
|
|
config LITEX
|
|
bool
|
|
|
|
config LITEX_SOC_CONTROLLER
|
|
tristate "Enable LiteX SoC Controller driver"
|
|
depends on OF || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
select LITEX
|
|
help
|
|
This option enables the SoC Controller Driver which verifies
|
|
LiteX CSR access and provides common litex_[read|write]*
|
|
accessors.
|
|
All drivers that use functions from litex.h must depend on
|
|
LITEX.
|
|
|
|
config LITEX_SUBREG_SIZE
|
|
int "Size of a LiteX CSR subregister, in bytes"
|
|
depends on LITEX
|
|
range 1 4
|
|
default 4
|
|
help
|
|
LiteX MMIO registers (referred to as Configuration and Status
|
|
registers, or CSRs) are spread across adjacent 8- or 32-bit
|
|
subregisters, located at 32-bit aligned MMIO addresses. Use
|
|
this to select the appropriate size (1 or 4 bytes) matching
|
|
your particular LiteX build.
|
|
|
|
endmenu
|