#define CONFIG_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 CONFIG_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 CONFIG_HID2_SPECIAL 0x00020000
#else
#define CONFIG_HID2_SPECIAL 0x0
#endif

#define CONFIG_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 |\
	CONFIG_HID2_SPECIAL \
)
