Add support for Amlogic G18 MX2 devices.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	packages/lang/gcc/package.mk
	packages/linux/package.mk
Remove an invalid patch for GCC 4.7.3.
Update the patch for systemd, which adds missing enumeration values for Amlogic kernel.
Merge remote-tracking branch 'upstream/master'
Make kernel update work for devices that boot the kernel from NAND memory, such as Amlogic G18 MX2 devices.
Merge remote-tracking branch 'upstream/master'
Make flash_eraseall and nandwrite available in initramfs for kernel update to work properly.
Update kernel configuration file for Amlogic.
Add patches that fix some of the XBMC issues on Amlogic devices.
Add the amffmpeg, libamavutils and libamplayer libraries required for hardware decoding of video on Amlogic devices. Compile XBMC with amcodec support on Amlogic platform.
Add a patch to allow decoding of MPEG-2 SD video on Amlogic platform using hardware decoding.
Merge remote-tracking branch 'upstream/master'
Add support for Amlogic IR remotes.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Replace the ALSA sound output patch for Amlogic-based devices with another one

Previous sound-fixing patch for Amlogic caused problems (no sound) when using audio passthrough.
The new patch uses another approach that works well with audio passthrough.
Allow reboot only in shutdown menu on Amlogic.
Merge remote-tracking branch 'upstream/master'
Rename allow_reboot_only_in_shutdown_menu.patch into allow_only_reboot_in_shutdown_menu.patch