mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so that it is always available to the build system. Otherwise we can run into cases where we have inconsistent sizes of certain attributes. Ravi Babu reported offset mismatch of struct dwc3 across files since commit95ebc253e6
("types.h: move and redefine resource_size_t"). Since the commit, resource_addr_t points to phys_addr_t, whose size is dependent on CONFIG_PHYS_64BIT for ARM architecture. I tried my best to use "select" where possible (for example, ARMv8 architecture) because I think this kind of option is generally user- unconfigurable. However, I see some of PowerPC boards have 36BIT defconfigs as well as 32BIT ones. I moved CONFIG_PHYS_64BIT to the defconfigs for such boards. CONFIG_36BIT is no longer referenced, so all of the defines were removed from CONFIG_SYS_EXTRA_OPTIONS. Fixes:95ebc253e6
("types.h: move and redefine resource_size_t") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reported-by: Ravi Babu <ravibabu@ti.com> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com>
216 lines
4.5 KiB
Plaintext
216 lines
4.5 KiB
Plaintext
menu "mpc85xx CPU"
|
|
depends on MPC85xx
|
|
|
|
config SYS_CPU
|
|
default "mpc85xx"
|
|
|
|
choice
|
|
prompt "Target select"
|
|
optional
|
|
|
|
config TARGET_SBC8548
|
|
bool "Support sbc8548"
|
|
|
|
config TARGET_SOCRATES
|
|
bool "Support socrates"
|
|
|
|
config TARGET_B4860QDS
|
|
bool "Support B4860QDS"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_BSC9131RDB
|
|
bool "Support BSC9131RDB"
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_BSC9132QDS
|
|
bool "Support BSC9132QDS"
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_C29XPCIE
|
|
bool "Support C29XPCIE"
|
|
select SUPPORT_SPL
|
|
select SUPPORT_TPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_P3041DS
|
|
bool "Support P3041DS"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_P4080DS
|
|
bool "Support P4080DS"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_P5020DS
|
|
bool "Support P5020DS"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_P5040DS
|
|
bool "Support P5040DS"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_MPC8536DS
|
|
bool "Support MPC8536DS"
|
|
|
|
config TARGET_MPC8540ADS
|
|
bool "Support MPC8540ADS"
|
|
|
|
config TARGET_MPC8541CDS
|
|
bool "Support MPC8541CDS"
|
|
|
|
config TARGET_MPC8544DS
|
|
bool "Support MPC8544DS"
|
|
|
|
config TARGET_MPC8548CDS
|
|
bool "Support MPC8548CDS"
|
|
|
|
config TARGET_MPC8555CDS
|
|
bool "Support MPC8555CDS"
|
|
|
|
config TARGET_MPC8560ADS
|
|
bool "Support MPC8560ADS"
|
|
|
|
config TARGET_MPC8568MDS
|
|
bool "Support MPC8568MDS"
|
|
|
|
config TARGET_MPC8569MDS
|
|
bool "Support MPC8569MDS"
|
|
|
|
config TARGET_MPC8572DS
|
|
bool "Support MPC8572DS"
|
|
|
|
config TARGET_P1010RDB
|
|
bool "Support P1010RDB"
|
|
select SUPPORT_SPL
|
|
select SUPPORT_TPL
|
|
|
|
config TARGET_P1022DS
|
|
bool "Support P1022DS"
|
|
select SUPPORT_SPL
|
|
select SUPPORT_TPL
|
|
|
|
config TARGET_P1023RDB
|
|
bool "Support P1023RDB"
|
|
|
|
config TARGET_P1_P2_RDB_PC
|
|
bool "Support p1_p2_rdb_pc"
|
|
select SUPPORT_SPL
|
|
select SUPPORT_TPL
|
|
|
|
config TARGET_P1_TWR
|
|
bool "Support p1_twr"
|
|
|
|
config TARGET_P2041RDB
|
|
bool "Support P2041RDB"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_QEMU_PPCE500
|
|
bool "Support qemu-ppce500"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T102XQDS
|
|
bool "Support T102xQDS"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T102XRDB
|
|
bool "Support T102xRDB"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T1040QDS
|
|
bool "Support T1040QDS"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T104XRDB
|
|
bool "Support T104xRDB"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T208XQDS
|
|
bool "Support T208xQDS"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T208XRDB
|
|
bool "Support T208xRDB"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T4240QDS
|
|
bool "Support T4240QDS"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_T4240RDB
|
|
bool "Support T4240RDB"
|
|
select SUPPORT_SPL
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_CONTROLCENTERD
|
|
bool "Support controlcenterd"
|
|
|
|
config TARGET_KMP204X
|
|
bool "Support kmp204x"
|
|
select PHYS_64BIT
|
|
|
|
config TARGET_XPEDITE520X
|
|
bool "Support xpedite520x"
|
|
|
|
config TARGET_XPEDITE537X
|
|
bool "Support xpedite537x"
|
|
|
|
config TARGET_XPEDITE550X
|
|
bool "Support xpedite550x"
|
|
|
|
config TARGET_UCP1020
|
|
bool "Support uCP1020"
|
|
|
|
config TARGET_CYRUS
|
|
bool "Support Varisys Cyrus"
|
|
select PHYS_64BIT
|
|
|
|
endchoice
|
|
|
|
source "board/freescale/b4860qds/Kconfig"
|
|
source "board/freescale/bsc9131rdb/Kconfig"
|
|
source "board/freescale/bsc9132qds/Kconfig"
|
|
source "board/freescale/c29xpcie/Kconfig"
|
|
source "board/freescale/corenet_ds/Kconfig"
|
|
source "board/freescale/mpc8536ds/Kconfig"
|
|
source "board/freescale/mpc8540ads/Kconfig"
|
|
source "board/freescale/mpc8541cds/Kconfig"
|
|
source "board/freescale/mpc8544ds/Kconfig"
|
|
source "board/freescale/mpc8548cds/Kconfig"
|
|
source "board/freescale/mpc8555cds/Kconfig"
|
|
source "board/freescale/mpc8560ads/Kconfig"
|
|
source "board/freescale/mpc8568mds/Kconfig"
|
|
source "board/freescale/mpc8569mds/Kconfig"
|
|
source "board/freescale/mpc8572ds/Kconfig"
|
|
source "board/freescale/p1010rdb/Kconfig"
|
|
source "board/freescale/p1022ds/Kconfig"
|
|
source "board/freescale/p1023rdb/Kconfig"
|
|
source "board/freescale/p1_p2_rdb_pc/Kconfig"
|
|
source "board/freescale/p1_twr/Kconfig"
|
|
source "board/freescale/p2041rdb/Kconfig"
|
|
source "board/freescale/qemu-ppce500/Kconfig"
|
|
source "board/freescale/t102xqds/Kconfig"
|
|
source "board/freescale/t102xrdb/Kconfig"
|
|
source "board/freescale/t1040qds/Kconfig"
|
|
source "board/freescale/t104xrdb/Kconfig"
|
|
source "board/freescale/t208xqds/Kconfig"
|
|
source "board/freescale/t208xrdb/Kconfig"
|
|
source "board/freescale/t4qds/Kconfig"
|
|
source "board/freescale/t4rdb/Kconfig"
|
|
source "board/gdsys/p1022/Kconfig"
|
|
source "board/keymile/kmp204x/Kconfig"
|
|
source "board/sbc8548/Kconfig"
|
|
source "board/socrates/Kconfig"
|
|
source "board/varisys/cyrus/Kconfig"
|
|
source "board/xes/xpedite520x/Kconfig"
|
|
source "board/xes/xpedite537x/Kconfig"
|
|
source "board/xes/xpedite550x/Kconfig"
|
|
source "board/Arcturus/ucp1020/Kconfig"
|
|
|
|
endmenu
|