Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpi5b: drop LINUXFAMILY=bcm2712 as it is exactly the same as bcm2711 #7642

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions config/boards/rpi5b.csc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,3 @@ declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="current"
declare -g ASOUND_STATE="asound.state.rpi"

function post_family_config__rename_linux_family() {
display_alert "rpi5b" "Changing LINUXFAMILY" "info"
declare -g LINUXFAMILY=bcm2712
}

#function custom_kernel_config__rpi5b_16k_variant() {
# display_alert "rpi5b" "Enabling 16K page size" "info"
# kernel_config_modifying_hashes+=(
# "CONFIG_ARM64_16K_PAGES=y"
# "CONFIG_ARCH_MMAP_RND_BITS=18"
# "CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11"
# )

# # As kernel config is shared between two variants, override the settings
# # but make sure not to write them back to config/kernel directory
# if [[ -f .config ]] && [[ "${KERNEL_CONFIGURE:-yes}" != "yes" ]]; then
# display_alert "Enabling 16K page size" "armbian-kernel" "debug"
# kernel_config_set_y CONFIG_ARM64_16K_PAGES
# run_host_command_logged ./scripts/config --set-val CONFIG_ARCH_MMAP_RND_BITS 18
# run_host_command_logged ./scripts/config --set-val CONFIG_ARCH_MMAP_RND_COMPAT_BITS 11
# run_kernel_make olddefconfig
# fi
#}