Add global define to implement different hacks accross the stack

Change-Id: Ic8c986c5bd5475c32a5af6aee05729cb6c647571
Signed-off-by: Simon Busch <morphis@gravedo.de>