mkximxboot/fuze+: add power button delay to power on

Only boot to rockbox if the power button is hold sufficiently long.
For consistency, use the same mechanism as the OF:
- read PSWITCH 550000 times
- boot if PSWITCH=1 at least 400000 out of 550000 times
Only apply the delay if Volume Down is not hold,
so that the OF and RB delay don't cumulate.

Change-Id: I1e8a4cd108c56bf784fcf1c320f7a001ef161701
lcd drivers: Convert lcd_[remote_]framebuffer to a pointer

Change all lcd drivers to using a pointer to the static framebuffer
instead of directly accessing the static array. This will let us
later do fun things like dynamic framebuffer sizes (RaaA) or
ability to use different buffers for different layers (dynamic
skin backdrops!)

Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
Fix build errors and warnings

Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
Merge branch 'master' of git://git.rockbox.org/rockbox
rk27xx: Make sure SD module clock is not gated

Change-Id: Iafc9af6cf4762f16f367705b8c9a3e441420905b
lcd/skin_engine: Add the ability to draw onto the backdrop layer

The framebuffer the lcd driver uses can now be changed on the fly
which means that regular lcd_* drawing functions can draw onto the
"backdrop" buffer. The skin engine can use this to create layered
effects.

Add the tag %VB to a viewport to draw that viewport onto the
backdrop layer. If you want to draw an image onto the backdrop
framebuffer use %x(backdrop filename) instead of %X() inside
a viewport with %VB.

Change-Id: I741498e2af6d4f2d78932cabe8942317893e7cfc
Fix build errors

Change-Id: Ie46e807799034af2a025c607a76e17c50c5b613e
skin_engine: Clean up %x() handling - beware theme issues

Internally remove some hacks around how %x() is handled.
%x() inside the default viewport will no longer work if
other viewports are used, so if you are using viewports and
%x() make sure it is in a viewport!

Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
skin_engine: ease the restrictions on %x/%xl

%x and %xl only require the id and filename now.
If you leave off the x,y it will default to 0,0.
If you want to use the default x,y you can still put in the
num_subimages param on the end (e.g %xl(a, file, 3) )

Change-Id: I8eff793dfdd037e302ace8deec9dc16dcea264a7
fix warning

Change-Id: Iccadc7558b9ffb2d87e5bc7697080dd567f4775f
mkimxboot/fuze+: fix booting to the OF

Change-Id: I51db192d9c88952173acac6558941ba6421a31dd
Merge branch 'master' of git://git.rockbox.org/rockbox
imx233: print power up source in the bootloader

Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
imx233: user __FIELD_SET to set the clock divisors

The clock divisors must *NEVER* be 0, first clearing then setting is thus undefined.

Change-Id: Iba8e6ba1e668bf746e3f7387f0175f63d81f6b2b
imx233: always boot when powered up from 5v

Change-Id: I3adb901d293c801f0a8493ae4f0b23af4fa535e8
root menu ordering: Remove underscores from the config setting.

The very vast majority doesn't have an underscore. There are a few
exceptions but there shouldn't be introduced even more.

Change-Id: I18d9bf86b5588f8a22a7a96d2dbea61fde4aba61
Fix bugs in lcd drivers after b37e6bc

Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
Fix ucl-related makefiles

Change-Id: I5f2f896d34c242c9b365bd8ea823fa89647a366d
lcd drivers: split lcd_gradient_rect so it is actually useful

lcd_gradient_rect() was only usable to draw list lines, so split
it up and make a generic gradient draw function available to apps/

Change-Id: I665911a90fef239b5e06592ea2763cbeeb74c83f
Call skinlist_set_cfg() unconditionally, i.e. also if do_refresh==false

This call is cheap (except if the list config changes, but then it should
be called anyway), and do_refresh isn't always set appropriately, e.g.
when the screen has just changed, which could cause the list config to be
null at bad times, which caused the standard list to be shown instead of
the desired skinned list.

Change-Id: I47dd2552d6d1062456ede4529c4891e80a8159ea
Reviewed-on: http://gerrit.rockbox.org/113
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>