u-boot/arch/powerpc/cpu/mpc83xx/hid/hid.h
Tom Rini 6e7df1d151 global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is
defined as CONFIG_... are in fairly odd locations. While as much dead
code has been removed as possible, some of these locations are simply
less obvious at first. In other cases, this code is used, but was
defined in such a way as to have been missed by earlier checks.  Perform
a rename of all such remaining symbols to be CFG_... rather than
CONFIG_...

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-01-20 12:27:24 -05:00

72 lines
1.9 KiB
C

#define CFG_SYS_HID0_FINAL ( \
CONFIG_HID0_FINAL_ABE_BIT |\
CONFIG_HID0_FINAL_CLKOUT |\
CONFIG_HID0_FINAL_DCE_BIT |\
CONFIG_HID0_FINAL_DCFI_BIT |\
CONFIG_HID0_FINAL_DECAREN_BIT |\
CONFIG_HID0_FINAL_DLOCK_BIT |\
CONFIG_HID0_FINAL_DOZE_BIT |\
CONFIG_HID0_FINAL_DPM_BIT |\
CONFIG_HID0_FINAL_EBA_BIT |\
CONFIG_HID0_FINAL_EBD_BIT |\
CONFIG_HID0_FINAL_ECLK_BIT |\
CONFIG_HID0_FINAL_ECPE_BIT |\
CONFIG_HID0_FINAL_EMCP_BIT |\
CONFIG_HID0_FINAL_FBIOB_BIT |\
CONFIG_HID0_FINAL_ICE_BIT |\
CONFIG_HID0_FINAL_ICFI_BIT |\
CONFIG_HID0_FINAL_IFEM_BIT |\
CONFIG_HID0_FINAL_ILOCK_BIT |\
CONFIG_HID0_FINAL_NAP_BIT |\
CONFIG_HID0_FINAL_NOOPTI_BIT |\
CONFIG_HID0_FINAL_PAR_BIT |\
CONFIG_HID0_FINAL_SBCLK_BIT |\
CONFIG_HID0_FINAL_SLEEP_BIT \
)
#define CFG_SYS_HID0_INIT ( \
CONFIG_HID0_INIT_ABE_BIT |\
CONFIG_HID0_INIT_CLKOUT |\
CONFIG_HID0_INIT_DCE_BIT |\
CONFIG_HID0_INIT_DCFI_BIT |\
CONFIG_HID0_INIT_DECAREN_BIT |\
CONFIG_HID0_INIT_DLOCK_BIT |\
CONFIG_HID0_INIT_DOZE_BIT |\
CONFIG_HID0_INIT_DPM_BIT |\
CONFIG_HID0_INIT_EBA_BIT |\
CONFIG_HID0_INIT_EBD_BIT |\
CONFIG_HID0_INIT_ECPE_BIT |\
CONFIG_HID0_INIT_EMCP_BIT |\
CONFIG_HID0_INIT_FBIOB_BIT |\
CONFIG_HID0_INIT_ICE_BIT |\
CONFIG_HID0_INIT_ICFI_BIT |\
CONFIG_HID0_INIT_IFEM_BIT |\
CONFIG_HID0_INIT_ILOCK_BIT |\
CONFIG_HID0_INIT_NAP_BIT |\
CONFIG_HID0_INIT_NOOPTI_BIT |\
CONFIG_HID0_INIT_PAR_BIT |\
CONFIG_HID0_INIT_SLEEP_BIT \
)
#ifdef CONFIG_TARGET_IDS8313
/* IDS8313 defines a reserved bit; keep to not break compatibility */
#define CFG_HID2_SPECIAL 0x00020000
#else
#define CFG_HID2_SPECIAL 0x0
#endif
#define CFG_SYS_HID2 ( \
CONFIG_HID2_LET_BIT |\
CONFIG_HID2_IFEB_BIT |\
CONFIG_HID2_MESISTATE_BIT |\
CONFIG_HID2_IFEC_BIT |\
CONFIG_HID2_EBQS_BIT |\
CONFIG_HID2_EBPX_BIT |\
CONFIG_HID2_ELRW_BIT |\
CONFIG_HID2_NOKS_BIT |\
CONFIG_HID2_HBE_BIT |\
CONFIG_HID2_IWLCK |\
CONFIG_HID2_ICWP_BIT |\
CONFIG_HID2_DWLCK |\
CFG_HID2_SPECIAL \
)