[MIPS] Enable config options to match the defaults of the goldfish target.

Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>
goldfish: enable kernel preemption(CONFIG_PREEMPT) for ARM and Mips

- it is already enabled for x86

Change-Id: Ic33c27af19613e4ebc237eb337f3a24f93954e0c
Signed-off-by: keunyoung <keunyoung@google.com>
add missing dma memory init

- lack of this allowed default of only 2MB.
- set it to 4MB.

Change-Id: Ie09b6b936c882ed33b92a81f38990a33ba3242e8
Signed-off-by: keunyoung <keunyoung@google.com>
goldfish: enable SELinux for ARM

Enable "NSA SELinux Support". This option depends on the following
other options:
* Socket and Networking Security Hooks
* Auditing support

Change-Id: Icb0f58985ee2b283c563ebc8513cebfcc7a3f871
Signed-off-by: Nick Kralevich <nnk@google.com>
goldfish: enable CONFIG_SECURITY_SELINUX_BOOTPARAM

Allow SELinux to be enabled / disabled via a kernel command
line option. Make the default "1" (enabled).

Change-Id: Ib1ba09009d4b92f9dd66c0120938560260bcb315
Signed-off-by: Nick Kralevich <nnk@google.com>
goldfish: enable SELinux for x86

Change-Id: I644f4fcf892e11c162fcccdbdce3e3043b41f4f2
Signed-off-by: Nick Kralevich <nnk@google.com>
goldfish: enable SELinux for mips

Change-Id: Ie03da0d670698757979adda415243fe5ad76576b
Signed-off-by: Nick Kralevich <nnk@google.com>
goldfish_nand.c: remove length restrictions

Remove limitations on the size of a read / write request.
AFAIK, there's no consequence to allowing the upper layers
to specify different read / write sizes.

This is needed to support running ext4 on goldfish.

Bug: https://code.google.com/p/android/issues/detail?id=38561
Change-Id: I68a03c67a485e023d4a0fa60100a7b36927ffac0
Signed-off-by: Nick Kralevich <nnk@google.com>