linux: use the first 7 chars of the hash instead of the last 8

Signed-off-by: Alejandro Mery <amery@geeks.cl>
u-boot: use the first 7 chars of the hash instead of the last 8

Signed-off-by: Alejandro Mery <amery@geeks.cl>