application(ypr0): Fix mount option selected by the current codepage.

A missing comma messed the lookup table up :'( Be aware that the kernel
on the ypr0 doesn't support many codepages in which case its default (iso8859)
will be used.

Change-Id: Iaa4a4b8338fb047d29f6a4e2a80eba5c296d27ce
Fix hostfs_init() return value.

Change-Id: Ic8048e3fa0075de234e8879ba9faad101168bf09
Fix FS#12951: The icons could be a pixel to far down.

Since eec89a9 icons have been centered using same calculation as for fonts.
In edge cases this is visually different from before and didn't align
well to the font's baseline. Revert to the old calculation just for centering
icons to fix.

A proper aligorithm would take the baseline into account but this has
worked sufficiently well for us (fix this if needed)

Change-Id: I86593529b16cd28ae4552641e216e73795f2450c
ingenic: Tweak a few details in crt0.S

1) Avoid load/store delay slot by reorganizing instructions
   in copy loops
2) Fix off-by-one error in cache initialization code.
   This was harmless as it simply set line0 twice, now it sets
   every cacheline only once.
3) Fix off-by-word error in .bss clearing loop.
   The addiu in branch delay slot even if calculated is not seen
   by the branch instruction itself, so the code did one word
   too much in clearing.
4) Fix off-by-word error in deadbeefing stack.
   See above.

Change-Id: Iabb09a55979de7aa2e2b9234273683fc7e9762c5
Fix regression introduced by eec89a9.

The icon pixel position must be calculated before y is modified.

Change-Id: I16947dd8862683530dd7c5f00cfa7cf8d9636e61
Implement lcd_get_dpi() for all bitmap targets.

DPI values are autogenerated from the resolution and collected display size
values. These values are inserted as comments as well.

Change-Id: Id03aedf9af18348f773dfce002805e480f6751e8
wpsbuild: The setting strings can now contain an additional feature constraint.

The setting strings are now of the form setting[.resolution[&feature]]
(resolution can be a regex, .+ to match all resultions). wpsbuild.pl will
check against features.txt to see if the target meets it.

This can be used, for example, to add/override default settings for
touchscreen devices.

Change-Id: I2eafa02f10b362a8e7de8e1f3a53115e70d28084
Touchscreen: Show a line separator in lists.

This patch adds a configurable line separator between list items, very
similar to lists in Android. Additionally, below the list item there is a
thicker line. It can be disabled in the settings. Its color can
be configured as well.

Remote and monochrome displays are explicitly unsupported. If there is desire
this can be changed but it doesn't seem useful to me.

Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
Fix greyscale and mono builds.

Change-Id: I511376eb42d1109dbe10d4fc5aa849b21d9f7582
Implement lcd_get_dpi() for X-Fi Style (aka fix red).

Change-Id: I9cab3a08c9e28558db2c16e8df30afcef6e11004
Iaudio m3: implement lcd_get_dpi() (aka fix red).

Change-Id: I66dbbb4d8795cf1274fc721bf0e8769b8f757c31
kernel: Break out kernel primitives into separate files and move to separate dir.

No code changed, just shuffling stuff around. This should make it easier to
build only select parts kernel and use different implementations.

Change-Id: Ie1f00f93008833ce38419d760afd70062c5e22b5
zen/zenxfi: correctly implement lcdif errata

Change-Id: Ib2a6000035d70d687025a78bbea416d77af562fe
Fix various reds. Some includes needed fixup.

Change-Id: I4327740bae17054131feb917abdd58846c451988
Fix more reds.

Change-Id: I4b58dda0953b7f9799238c32b78037b0a5403c04
Fix last warnings.

Change-Id: If0a7e11c3e107cb7756c0d70ed5b17fda92b166e
ingenic: fix bugs introduced by 5900bf7

I must have been blind and copied some intermediate file
instead of final version. No functional change, only fixes.

Change-Id: Icaa868225517662c88f8492b1f04808407853361
ingenic: crt0.S fixes #3

Hopefyly this time is the final one.

Change-Id: I386964f407ca98499e9a482507e4d5dfa02ee891
atj213x: various fixes in sample code snippets

Change-Id: I78781e1a56cb6705d011ee2296f1789b497a566a
Revert "Touchscreen: Show a line separator in lists."

This reverts commit c4d6c1894db75e15d754f71a4a96064ee4b8cd5f.

Conflicts:
	apps/gui/line.c

Change-Id: Icf4b27603176cdeecd721c85f3be48bab37432d6