Fix order of include files

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Use unique scheme for defines

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fix Kconfig dependencies

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>