common: cmd_elf: make do_bootelf_exec static

do_bootelf_exec was a weak function without a prototype nor
and strong version. Just make it static.
disk/part.c: make local function static
ehci-hcd.c: make local functions static
fat: make local functions as static
gpio: make local functions static
image-fit: make local function static
lmb: make local functions static
net: fec_mxc: make local functions static
omap3: make local functions static
omap_gpmc: make functions static
sdhci: make local functions static
serial: make local functions static
spi: make local functions static
tegra: make local functions static
common:console: add missing include

search_device is declared in iomux, but console only
had the definition. This prevents a warning.
string.h: add missing prototypes
common:board_r: make local functions static
common/cmd_elf.c: add missing include
cmd_ide: use __weak and add prototypes

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
arch-mx: add missing include

mxs_wait_mask_set and friends need a declaration
of struct mxs_register_32.