imd: rename imd_search_validate to imd_get
The name is more suitable for what the function does. Also let the
function return a pointer to the imd data found in the buffer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 82d40a6 commit 439d6830517e15a2b31e90733b8aeaaf98b9e0f2
@Sascha Hauer Sascha Hauer authored on 29 Mar 2016
Showing 2 changed files
View
common/imd.c
View
scripts/bareboximd.c