Added mtd functions and libmtd

Signed-off-by: Stefano Babic <sbabic@denx.de>
Ignore end of file by checking file padding

Files in cpio archives are always 4-byte aligned, and
the copyfile function skips padding bytes after the whole
file is read. However, if the file is not in the archive but
on the filesystem, there is no padding bytes and reading further
bytes reports EOF that must be ignored.

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

Signed-off-by: Stefano Babic <sbabic@denx.de>
Moved to kbuild system

Drop old makefiles and switch to kbuild,
taken from busybox project.

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

Signed-off-by: Stefano Babic <sbabic@denx.de>
Moved libconfig parser inside parser directory

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

Signed-off-by: Stefano Babic <sbabic@denx.de>
Missing parser/Config.src

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

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

Synchronized with LUA 5.2.1.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Make LUA parser and handler depending on LUA switch

Signed-off-by: Stefano Babic <sbabic@denx.de>
Prepared for mongoose webserver

Signed-off-by: Stefano Babic <sbabic@denx.de>
Drop target specific fw_env.config

Signed-off-by: Stefano Babic <sbabic@denx.de>
Added website with AJAX support

Signed-off-by: Stefano Babic <sbabic@denx.de>
Moved mongoose.h in include directory

Signed-off-by: Stefano Babic <sbabic@denx.de>
Add mongoose webserver to kbuild

Signed-off-by: Stefano Babic <sbabic@denx.de>
Add include path for lua.h

Signed-off-by: Stefano Babic <sbabic@denx.de>
Move cpio file header in cpiohdr.h

Signed-off-by: Stefano Babic <sbabic@denx.de>
Drop seek() from copyfile

Remove seek from copyfile to use the function
also with a stream and not only with a local
file.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Adjusted main Config.in

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