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
Make clean target work for MSVC dll Makefile on Windows.

Change-Id: Ifb9a00530720e0997421af9a07ae8c133f0edfd0
Add note about translations to MSVC build instructions.

Change-Id: I06ed441801f50a7331d7610beaf6535f6ec0c602
Compile imxtools as gnu99 standard.

With current MinGW using c99 as standard the compiler causes problems with some
types.  Use gnu99 standard instead which doesn't do this.

Change-Id: I731f58025645ae88ac226593a2b2a62140285ee8
Plugins: remove defined keys which are never used

Change-Id: I0195ae43f35c7355de66d5fa8caa24d8da6cb61e
Reviewed-on: http://gerrit.rockbox.org/883
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
sonynwz: fix backlight

Apparently the backlight driver is leaking current even when the PWM set to 0.
This patch should greatly improve the battery life of the device.

Change-Id: I76bbc8a87cae452e599b37de17e91f373cee58bc
Introduce plugin keymaps for the Sony NWZ Series

Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e
Reviewed-on: http://gerrit.rockbox.org/879
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
rolo: fix crc calculation for mi4

crc32gentab() which initilizes crc table was called in bootloader
but not in main binary. Fix this temporary by always calling it in
load_mi4(). The proper fix probably to switch to const table and
drop runtime initialization.

Change-Id: I8b0c2c791642f56ed56189d156647661935a815d
Sony NWZ: calibrate discharge curves

The charging curve also need to be calibrated but that will be part of another
commit.

Change-Id: Ie4c5995123e4059ae4f3c9d86c11fc1257314d39
SVG image of the Sony NWZ-E360 and other formats for the manual.

Change-Id: I2783dd39a773d952997e4a6d28916290e0dd5f65
Reviewed-on: http://gerrit.rockbox.org/889
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>