| .. | .. |
|---|
| 381 | 381 | |
|---|
| 382 | 382 | endif |
|---|
| 383 | 383 | |
|---|
| 384 | +config ROCKCHIP_RK3528 |
|---|
| 385 | + bool "Support Rockchip RK3528" |
|---|
| 386 | + select ARM64 if !ARM64_BOOT_AARCH32 |
|---|
| 387 | + select GICV2 if !ARM64_BOOT_AARCH32 |
|---|
| 388 | + select SUPPORT_TPL if !ARM64_BOOT_AARCH32 |
|---|
| 389 | + select SUPPORT_SPL if !ARM64_BOOT_AARCH32 |
|---|
| 390 | + select TPL_TINY_FRAMEWORK if TPL |
|---|
| 391 | + select DEBUG_UART_BOARD_INIT |
|---|
| 392 | + imply TPL if !ARM64_BOOT_AARCH32 |
|---|
| 393 | + imply SPL if !ARM64_BOOT_AARCH32 |
|---|
| 394 | + imply TPL_SERIAL_SUPPORT |
|---|
| 395 | + help |
|---|
| 396 | + The Rockchip RK3528 is a ARM-based SoC with a quad-core Cortex-A53. |
|---|
| 397 | + |
|---|
| 398 | +if ROCKCHIP_RK3528 |
|---|
| 399 | + |
|---|
| 400 | +config TPL_LDSCRIPT |
|---|
| 401 | + default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds" |
|---|
| 402 | + |
|---|
| 403 | +config TPL_TEXT_BASE |
|---|
| 404 | + default 0xfe481000 |
|---|
| 405 | + |
|---|
| 406 | +config TPL_MAX_SIZE |
|---|
| 407 | + default 61440 |
|---|
| 408 | + |
|---|
| 409 | +endif |
|---|
| 410 | + |
|---|
| 411 | +config ROCKCHIP_RK3562 |
|---|
| 412 | + bool "Support Rockchip RK3562" |
|---|
| 413 | + select GICV2 |
|---|
| 414 | + select ARM64 |
|---|
| 415 | + select ARM_SMCCC |
|---|
| 416 | + select SUPPORT_TPL |
|---|
| 417 | + select SUPPORT_SPL |
|---|
| 418 | + select TPL_TINY_FRAMEWORK if TPL |
|---|
| 419 | + select DEBUG_UART_BOARD_INIT |
|---|
| 420 | + imply TPL |
|---|
| 421 | + imply SPL |
|---|
| 422 | + imply TPL_SERIAL_SUPPORT |
|---|
| 423 | + help |
|---|
| 424 | + The Rockchip RK3562 is a ARM-based SoC with a quad-core Cortex-A53. |
|---|
| 425 | + |
|---|
| 426 | +if ROCKCHIP_RK3562 |
|---|
| 427 | + |
|---|
| 428 | +config TPL_LDSCRIPT |
|---|
| 429 | + default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds" |
|---|
| 430 | + |
|---|
| 431 | +config TPL_TEXT_BASE |
|---|
| 432 | + default 0xfe481000 |
|---|
| 433 | + |
|---|
| 434 | +config TPL_MAX_SIZE |
|---|
| 435 | + default 61440 |
|---|
| 436 | + |
|---|
| 437 | +endif |
|---|
| 438 | + |
|---|
| 384 | 439 | config ROCKCHIP_RK3568 |
|---|
| 385 | 440 | bool "Support Rockchip RK3568" |
|---|
| 386 | 441 | select ARM64 if !ARM64_BOOT_AARCH32 |
|---|
| .. | .. |
|---|
| 597 | 652 | default 0xff1005c8 if ROCKCHIP_RK3328 |
|---|
| 598 | 653 | default 0xff738200 if ROCKCHIP_RK3368 |
|---|
| 599 | 654 | default 0xff320300 if ROCKCHIP_RK3399 |
|---|
| 655 | + default 0xff370200 if ROCKCHIP_RK3528 |
|---|
| 656 | + default 0xff010220 if ROCKCHIP_RK3562 |
|---|
| 600 | 657 | default 0xfdc20200 if ROCKCHIP_RK3568 |
|---|
| 601 | 658 | default 0xfd588080 if ROCKCHIP_RK3588 |
|---|
| 602 | 659 | default 0xfe020200 if ROCKCHIP_RK1808 |
|---|
| .. | .. |
|---|
| 622 | 679 | default 0xff1d0020 if ROCKCHIP_RK3328 |
|---|
| 623 | 680 | default 0xff830020 if ROCKCHIP_RK3368 |
|---|
| 624 | 681 | default 0xff8680a0 if ROCKCHIP_RK3399 |
|---|
| 682 | + default 0xff620000 if ROCKCHIP_RK3528 |
|---|
| 683 | + default 0xffa90020 if ROCKCHIP_RK3562 |
|---|
| 625 | 684 | default 0xfdd1c020 if ROCKCHIP_RK3568 |
|---|
| 626 | 685 | default 0xfd8c8000 if ROCKCHIP_RK3588 |
|---|
| 627 | 686 | default 0xff590020 if ROCKCHIP_RV1106 |
|---|
| .. | .. |
|---|
| 644 | 703 | default 0xff091000 if ROCKCHIP_RK3328 |
|---|
| 645 | 704 | default 0xff8c0000 if ROCKCHIP_RK3368 |
|---|
| 646 | 705 | default 0xff8c0000 if ROCKCHIP_RK3399 |
|---|
| 706 | + default 0xfe480000 if ROCKCHIP_RK3528 |
|---|
| 707 | + default 0xfe480000 if ROCKCHIP_RK3562 |
|---|
| 647 | 708 | default 0xfdcc0000 if ROCKCHIP_RK3568 |
|---|
| 648 | 709 | default 0xff000000 if ROCKCHIP_RK3588 |
|---|
| 649 | 710 | default 0xff6c0000 if ROCKCHIP_RV1106 |
|---|
| .. | .. |
|---|
| 813 | 874 | - U-Boot: only some necessary U-Boot devices(storage, crypto...) in dm tree. |
|---|
| 814 | 875 | - kernel: all the devices(except the U-Boot only) in dm tree. |
|---|
| 815 | 876 | |
|---|
| 877 | +config EMBED_KERNEL_DTB |
|---|
| 878 | + bool "Enable embedded dtb support" |
|---|
| 879 | + default n |
|---|
| 880 | + help |
|---|
| 881 | + Enable embedded dtb support. |
|---|
| 882 | + |
|---|
| 816 | 883 | config EMBED_KERNEL_DTB_PATH |
|---|
| 817 | | - string "Embeded kernel dtb file path" |
|---|
| 818 | | - depends on USING_KERNEL_DTB |
|---|
| 884 | + string "Embedded kernel dtb file path" |
|---|
| 885 | + depends on EMBED_KERNEL_DTB && USING_KERNEL_DTB |
|---|
| 819 | 886 | default "dts/kern.dtb" |
|---|
| 820 | 887 | help |
|---|
| 821 | 888 | This file will auto be appended to the u-boot.bin. |
|---|
| 822 | 889 | |
|---|
| 823 | 890 | config EMBED_KERNEL_DTB_ALWAYS |
|---|
| 824 | | - bool "Always using embed kernel dtb" |
|---|
| 825 | | - depends on USING_KERNEL_DTB |
|---|
| 891 | + bool "Always using embedded kernel dtb" |
|---|
| 892 | + depends on EMBED_KERNEL_DTB && USING_KERNEL_DTB |
|---|
| 826 | 893 | default n |
|---|
| 827 | 894 | help |
|---|
| 828 | 895 | Allow fallback to always use a prepared kernel dtb even USING_KERNEL_DTB |
|---|
| .. | .. |
|---|
| 914 | 981 | default y |
|---|
| 915 | 982 | help |
|---|
| 916 | 983 | Define a lot of hotkeys for debug. |
|---|
| 984 | + |
|---|
| 985 | +config ROCKCHIP_CMD |
|---|
| 986 | + string "Rockchip specific command" |
|---|
| 987 | + default "" |
|---|
| 988 | + help |
|---|
| 989 | + It defines a command to be run when the key is pressed if assigned. |
|---|
| 990 | + String format: "cmd key". |
|---|
| 991 | + @cmd: any U-Boot cmd. |
|---|
| 992 | + @key: any key map id, '-' standard for ignore. |
|---|
| 993 | + e.g. "sd_update 115", 115 is KEY_VOLUMEUP. |
|---|
| 917 | 994 | |
|---|
| 918 | 995 | config GICV2 |
|---|
| 919 | 996 | bool "ARM GICv2" |
|---|
| .. | .. |
|---|
| 1013 | 1090 | default 0x0 |
|---|
| 1014 | 1091 | depends on PSTORE |
|---|
| 1015 | 1092 | help |
|---|
| 1016 | | - This select linux pstore buffer address for uboot. |
|---|
| 1093 | + This select linux pstore buffer address for U-Boot. When value is |
|---|
| 1094 | + 0, U-Boot auto gets this address from preloader atags. |
|---|
| 1017 | 1095 | |
|---|
| 1018 | 1096 | config PERSISTENT_RAM_SIZE |
|---|
| 1019 | 1097 | hex "Linux pstore buffer size" |
|---|
| 1020 | 1098 | default 0x0 |
|---|
| 1021 | | - depends on PSTORE |
|---|
| 1099 | + depends on (PERSISTENT_RAM_ADDR != 0) |
|---|
| 1022 | 1100 | help |
|---|
| 1023 | | - This select linux pstore buffer size for uboot. |
|---|
| 1101 | + This select linux pstore buffer size for U-Boot, the value must be |
|---|
| 1102 | + set if PERSISTENT_RAM_ADDR != 0. |
|---|
| 1024 | 1103 | |
|---|
| 1025 | 1104 | source "arch/arm/mach-rockchip/px30/Kconfig" |
|---|
| 1026 | 1105 | source "arch/arm/mach-rockchip/rk3036/Kconfig" |
|---|
| .. | .. |
|---|
| 1033 | 1112 | source "arch/arm/mach-rockchip/rk3328/Kconfig" |
|---|
| 1034 | 1113 | source "arch/arm/mach-rockchip/rk3368/Kconfig" |
|---|
| 1035 | 1114 | source "arch/arm/mach-rockchip/rk3399/Kconfig" |
|---|
| 1115 | +source "arch/arm/mach-rockchip/rk3528/Kconfig" |
|---|
| 1116 | +source "arch/arm/mach-rockchip/rk3562/Kconfig" |
|---|
| 1036 | 1117 | source "arch/arm/mach-rockchip/rk3568/Kconfig" |
|---|
| 1037 | 1118 | source "arch/arm/mach-rockchip/rk3588/Kconfig" |
|---|
| 1038 | 1119 | source "arch/arm/mach-rockchip/rk1808/Kconfig" |
|---|