Updated documentation with API

Signed-off-by: Stefano Babic <sbabic@denx.de>