fix sdlapp and ypr0 builds

Change-Id: I3953350c04607691b427fc2a3b00e8ae08bcea45
zen/zenxfi: switch lcd driver to 24-bit mode

Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
fix whitespace

Change-Id: I12664528fdb0920430557739501367d1ed68346e
imx233/emi: cleanup and don't change emi freq if not needed

Change-Id: I19f633a85bb12f880215905482934e34da549a13
zen/zenxfi: don't switch emi on cpu change to avoid screen flicker

On those targets, since the LCDIF cannot recover from underflow, changing the
EMI frequency kills one frame and cause flicker.

Change-Id: Id3c130636bcfddcc6c54896602699fbaa1636ab4
Introduce hwpatcher, a tool to patch binaries

This tool is a scriptable (lua) tool to patch binaries, it supports:
- raw binary
- ELF
- SB(v1/v2)
It also contains some basic routines to parse and generate useful arm/thumb code
like jump or register load/store. This is very useful to take a firmware and
patch an interrupt vector or some code to jump to an extra payload added to
the binary. Examples are provided for several STMP based target which the payload
is expected to be hwstub, and also for the Sansa View. A typical patcher usually
requires three elements:
- the lua patcher itself
- the payload (hwstub for example)
- (optional) a small stub either to jump properly to the payload or determine
  under which circumstance to do the jump (hold a key for example)

Change-Id: I6d36020a3bc9e636615ac8221b7591ade5f251e3
zen/zenxfi: fix config file comments

Change-Id: I7c9c73f749622ffc552638e84e5907a187087381
Remove empty files

Change-Id: I44a4a90cddba7d0aed4d5f06934848690d0d32f4
Fix one more spot in the manual where the number of bands was not updated.

Change-Id: I082ccf8ee960751d7cd9bbe855881b530c68c114
skin_engine: kill scrolling if the buffer moves

I have a suspicion that if there is any scrolling skin lines when
the buflib buffer moves it will cause the lcd code to crash.

This *hopefully* explains the random skin related crashed which
have been reported.

Change-Id: I04ee58292e1cea7c77ef9737b0641192f4f7e4ba
Reviewed-on: http://gerrit.rockbox.org/877
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
open_utf8: Actually use the result of read/write.

This silences warnings on some compilers but is anyway a good idea.

Change-Id: Ib566ab59a5d1cb433da466f3ce0c32ff150eb52e