config RTOS_HAL_AER_ERRSID_SWAP
	bool "X86 D2164 pcie aer error source id register bugfix"
	depends on PCIEAER
	default n
	help
	  The definication of ERRSID register of D2164 is different from
	  PCIE AER standard. The difference is as follow:
	  PCEI AER standard: bbbbbbbb:ddddd:fff
	  D2164            : bbbbbbbb:fff:ddddd
	  (b:bus id, f:function id, d:device id)
	  So need to exchange device id and function id.

config HI1382_WTD_HW_BUGFIX
	bool "HISI watchdog hw bugfix"
	depends on HISI_WATCHDOG
	default n
	help
	  This option enables the hi1382 watch dog bugfix.

config RTOS_P2041_ADD_HWDOG_NODE
	bool "P2041 add hwdog node"
	depends on HISI_WATCHDOG
	default n
	help
	  Some P2041 boards cannot upgrade dtb, which makes
	  it impossible to support hwdog. Need to
	  hard-code to add hwdog device_nod.

config RTOS_HAL_FSL_ERRATUM_A_006184
	bool "RTOS fix fsl erratum A-006184"
	depends on !BOOKE_WDT
	default y if E500
	help
	  Define this to work around erratum A-006184 ("Simultaneous
	  Instruction L1 MMU miss (due to eviction) and interrupt
	  servicing can cause a core hang").  This erratum affects
	  e500v1, e500v2, e500mc, and e5500.  The workaround will
	  cause a watchdog interrupt to occur periodically.  It will
	  not avoid the hang described by the erratum, but it will
	  recover from it when the next watchdog interrupt expires.

	  The normal watchdog functionality cannot be used when this
	  workaround is enabled.

	  If you are running Linux as the guest of a hypervisor, you
	  should enable this (or a similar workaround) in the host
	  instead.

	  Note that it is believed that it is unlikely that the hang
	  will be encountered in normal Linux operation.  Running KVM
	  or using hugetlbfs could increase the chance of seeing the
	  hang.

config RTOS_HAL_WORKAROUND_LDS_P4080
	bool "RTOS adjusts vmlinx.lds.S to avoid code fragmentation"
	depends on PPC_E500MC
	default n
	help
	  The P4080 board has always had the problem of stepping off
	  the low-end code segment of the kernel with a very
	  concentrated position. All are concentrated on physical
	  address offsets of more than 64K and less than 256K.
	  The product circumvented this problem by modifying the
	  vmlinux kernel and retaining a hole after head_fsl_booke.s.
