Squashed multiple commits from linaro

Signed-off-by: dragon <dragon7780@hotmail.nl>