From c5f917c48b4ce93513c205d10c80da49afa200d0 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Tue, 25 Sep 2012 13:02:48 -0400
Subject: [PATCH] meta: emenlow: clean emenlow configuration warnings

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 bsp/emenlow/emenlow.cfg  | 14 +++-----------
 bsp/emenlow/emenlow.scc  |  7 +++----
 bsp/emenlow/hardware.cfg |  1 +
 3 files changed, 7 insertions(+), 15 deletions(-)
 create mode 100644 bsp/emenlow/hardware.cfg

diff --git a/bsp/emenlow/emenlow.cfg b/bsp/emenlow/emenlow.cfg
index d6d8cb3a5..a7617286d 100644
--- a/bsp/emenlow/emenlow.cfg
+++ b/bsp/emenlow/emenlow.cfg
@@ -1,8 +1,6 @@
 CONFIG_X86_32=y
-CONFIG_PRINTK=y
 
 # Basic hardware support for the box - network, PCI, sound
-CONFIG_NETDEVICES=y
 CONFIG_ATA=y
 CONFIG_ATA_GENERIC=y
 CONFIG_ATA_SFF=y
@@ -13,22 +11,16 @@ CONFIG_R8169=y
 CONFIG_PATA_SCH=y
 CONFIG_MMC_SDHCI_PCI=y
 CONFIG_PCIEPORTBUS=y
-CONFIG_NET=y
 CONFIG_CHR_DEV_SG=y
 CONFIG_SOUND=y
 CONFIG_SND=y
-CONFIG_SND_HDA_INTEL=y
 CONFIG_I2C=y
 CONFIG_AGP=y
 CONFIG_PM=y
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_INPUT=y
+CONFIG_SND_HDA_INTEL=y
 
-# Make sure these are on, otherwise the bootup won't be fun
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_MODULES=y
-CONFIG_SHMEM=y
-CONFIG_TMPFS=y
-CONFIG_PACKET=y
+# CONFIG_HPET_EMULATE_RTC is not set
+# CONFIG_MICROCODE_AMD is not set
diff --git a/bsp/emenlow/emenlow.scc b/bsp/emenlow/emenlow.scc
index b382f8956..d688ee557 100644
--- a/bsp/emenlow/emenlow.scc
+++ b/bsp/emenlow/emenlow.scc
@@ -1,7 +1,3 @@
-kconf hardware emenlow.cfg
-
-kconf non-hardware reboot-quirk.cfg 
-
 include cfg/x86.scc
 include features/intel-e1xxxx/intel-e100.scc
 include features/intel-e1xxxx/intel-e1xxxx.scc
@@ -12,6 +8,9 @@ include cfg/vesafb.scc
 include features/usb/ehci-hcd.scc
 include features/usb/uhci-hcd.scc
 
+kconf hardware emenlow.cfg
+kconf non-hardware reboot-quirk.cfg 
+
 patch drm-add-the-base-source-of-the-Poulsbo-psb-2D-X11-dr.patch
 patch drm-psb-remove-the-package-Makefile-and-replace-it-w.patch
 patch drm-apply-psb-kernel-source-package-s-build.patch.patch
diff --git a/bsp/emenlow/hardware.cfg b/bsp/emenlow/hardware.cfg
new file mode 100644
index 000000000..d0ec08396
--- /dev/null
+++ b/bsp/emenlow/hardware.cfg
@@ -0,0 +1 @@
+CONFIG_SND_HDA_INTEL
-- 
GitLab