Skip to contentSkip to conversation

some meta-intel bsp cleanup, v2

PATCH New [email protected] 1 participant 6 messages Oct 7, 2011

lore
Share & tools
lore
#0 lore raw

cover some meta-intel bsp cleanup, v2

From: Tom Zanussi <[email protected]>

This patchset is another step in some cleanup I'm doing for the meta-intel bsps, basically removing unneeded or redundant options and abstracting out useful features, in this case a new vesafb feature used in this patchset by crownbay, emenlow, and jasperforest.

v2: rebased on top of intervening changes

Please pull into linux-yocto-3.0.

Pull URL: git://git.pokylinux.org/linux-yocto-2.6.37-contrib
Branch: tzanussi/bsp-cleanup-v2
Browse: http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/bsp-cleanup-v2

Thanks,

Tom

Tom Zanussi (5):
features/drm-psb: add related config options
meta: add vesafb feature
crownbay: cleanup bsp config
emenlow: cleanup bsp config
jasperforest: cleanup bsp config

 meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg    |   34 ++++--------------
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    5 ++-
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg      |   35 +++++--------------
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    2 +
 .../kernel-cache/bsp/jasperforest/jasperforest.cfg |    7 +---
 .../kernel-cache/bsp/jasperforest/jasperforest.scc |    2 +
 meta/cfg/kernel-cache/features/drm-psb/drm-psb.cfg |   13 +++++++
 .../kernel-cache/features/framebuffer/vesafb.cfg   |    8 ++++
 .../kernel-cache/features/framebuffer/vesafb.scc   |    1 +
 9 files changed, 48 insertions(+), 59 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/features/framebuffer/vesafb.cfg
 create mode 100644 meta/cfg/kernel-cache/features/framebuffer/vesafb.scc
#1 lore raw

PATCH 1/5 features/drm-psb: add related config options

From: Tom Zanussi <[email protected]>

This allows us to move them out of the bsp config.

---
 meta/cfg/kernel-cache/features/drm-psb/drm-psb.cfg |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
meta/cfg/kernel-cache/features/drm-psb/drm-psb.cfg +13 -0
index cdd805b..ea7cbfc 100644
@@ -1,2 +1,15 @@
 CONFIG_DRM=y
 CONFIG_DRM_PSB=m
+
+CONFIG_I2C=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEO_IVTV=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_VIDEO_FB_IVTV=y
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/5 meta: add vesafb feature

From: Tom Zanussi <[email protected]>

Add a 'vesafb feature' that adds basic vesa framebuffer support.

---
 .../kernel-cache/features/framebuffer/vesafb.cfg   |    8 ++++++++
 .../kernel-cache/features/framebuffer/vesafb.scc   |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/features/framebuffer/vesafb.cfg
 create mode 100644 meta/cfg/kernel-cache/features/framebuffer/vesafb.scc
meta/cfg/kernel-cache/features/framebuffer/vesafb.cfg new file +8 -0
new file mode 100644
index 0000000..9c7f35d
@@ -0,0 +1,8 @@
+CONFIG_FB=y
+CONFIG_FB_VESA=y
+CONFIG_FB_BOOT_VESA_SUPPORT=y
+CONFIG_FB_MODE_HELPERS=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
meta/cfg/kernel-cache/features/framebuffer/vesafb.scc new file +1 -0
new file mode 100644
index 0000000..c113097
@@ -0,0 +1 @@
+kconf non-hardware vesafb.cfg
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 3/5 crownbay: cleanup bsp config

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Remove unnecessary options or options already defined in base configs.

---
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg |   34 +++++-----------------
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc |    5 ++-
 2 files changed, 11 insertions(+), 28 deletions(-)
meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg +8 -26
index 8081001..e93c0b8 100644
@@ -27,6 +27,12 @@ CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_HDA_INTEL=y
 CONFIG_SATA_AHCI=y
+CONFIG_AGP=y
+CONFIG_PM=y
+CONFIG_ACPI=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_INPUT=y
 
 # Make sure these are on, otherwise the bootup won't be fun
 CONFIG_EXT3_FS=y
@@ -37,36 +43,12 @@ CONFIG_SHMEM=y
 CONFIG_TMPFS=y
 CONFIG_PACKET=y
 
-# These are needed for the Poulsbo kernel modules
-CONFIG_I2C=y
-CONFIG_AGP=y
-CONFIG_VFAT_FS=y
-CONFIG_PM=y
-CONFIG_ACPI=y
-CONFIG_FB=y
-CONFIG_BACKLIGHT_LCD_SUPPORT=y
-CONFIG_BACKLIGHT_CLASS_DEVICE=y
-CONFIG_INPUT=y
-CONFIG_VIDEO_V4L2=y
-CONFIG_VIDEO_IVTV=y
-CONFIG_MEDIA_SUPPORT=y
-CONFIG_VIDEO_CAPTURE_DRIVERS=y
-CONFIG_VIDEO_DEV=y
-CONFIG_VIDEO_V4L2_COMMON=y
-CONFIG_I2C_ALGOBIT=y
-CONFIG_FB_CFB_COPYAREA=y
-CONFIG_FB_CFB_IMAGEBLIT=y
-CONFIG_FB_CFB_FILLRECT=y
-CONFIG_VIDEO_FB_IVTV=y
-
 # Needed for booting (and using) USB memory sticks
-CONFIG_USB_STORAGE=y
-CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_RD_GZIP=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
 
+CONFIG_RD_GZIP=y
+
 # Needed for booting (and using) CD images
 CONFIG_BLK_DEV_SR=y
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +3 -2
index 54284b2..391b955 100644
@@ -8,11 +8,12 @@ include features/intel-e1xxxx/intel-e1xxxx.scc
 include features/drm-emgd/drm-emgd.scc
 include features/dmaengine/dmaengine.scc
 include features/serial/8250.scc
+include features/hpet/hpet.scc
+include features/framebuffer/vesafb.scc
+include cfg/usb-mass-storage.scc
 include cfg/boot-live.scc
 
 include features/logbuf/size-normal.scc
 
 include features/latencytop/latencytop.scc
 include features/profiling/profiling.scc
-
-include features/hpet/hpet.scc
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 4/5 emenlow: cleanup bsp config

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Remove unnecessary options or options already defined in base configs.

---
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg |   35 ++++++------------------
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc |    2 +
 2 files changed, 11 insertions(+), 26 deletions(-)
meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg +9 -26
index d527e8d..b9704c5 100644
@@ -24,6 +24,13 @@ 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_ACPI=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_INPUT=y
 
 # Make sure these are on, otherwise the bootup won't be fun
 CONFIG_EXT3_FS=y
@@ -34,36 +41,12 @@ CONFIG_SHMEM=y
 CONFIG_TMPFS=y
 CONFIG_PACKET=y
 
-# These are needed for the Poulsbo kernel modules
-CONFIG_I2C=y
-CONFIG_AGP=y
-CONFIG_VFAT_FS=y
-CONFIG_PM=y
-CONFIG_ACPI=y
-CONFIG_FB=y
-CONFIG_BACKLIGHT_LCD_SUPPORT=y
-CONFIG_BACKLIGHT_CLASS_DEVICE=y
-CONFIG_INPUT=y
-CONFIG_VIDEO_V4L2=y
-CONFIG_VIDEO_IVTV=y
-CONFIG_MEDIA_SUPPORT=y
-CONFIG_VIDEO_CAPTURE_DRIVERS=y
-CONFIG_VIDEO_DEV=y
-CONFIG_VIDEO_V4L2_COMMON=y
-CONFIG_I2C_ALGOBIT=y
-CONFIG_FB_CFB_COPYAREA=y
-CONFIG_FB_CFB_IMAGEBLIT=y
-CONFIG_FB_CFB_FILLRECT=y
-CONFIG_VIDEO_FB_IVTV=y
-
 # Needed for booting (and using) USB memory sticks
-CONFIG_USB_STORAGE=y
-CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_RD_GZIP=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
 
+CONFIG_RD_GZIP=y
+
 # Needed for booting (and using) CD images
 CONFIG_BLK_DEV_SR=y
meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc +2 -0
index e5b2097..8ee3558 100644
@@ -5,6 +5,8 @@ include features/intel-e1xxxx/intel-e100.scc
 include features/intel-e1xxxx/intel-e1xxxx.scc
 include features/drm-psb/drm-psb.scc
 include features/serial/8250.scc
+include features/framebuffer/vesafb.scc
+include cfg/usb-mass-storage.scc
 include cfg/boot-live.scc
 
 include features/logbuf/size-normal.scc
Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 5/5 jasperforest: cleanup bsp config

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Remove unnecessary options or options already defined in base configs.

---
 .../kernel-cache/bsp/jasperforest/jasperforest.cfg |    7 ++-----
 .../kernel-cache/bsp/jasperforest/jasperforest.scc |    2 ++
 2 files changed, 4 insertions(+), 5 deletions(-)
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.cfg +2 -5
index b0f993b..743fc7d 100644
@@ -35,20 +35,17 @@ CONFIG_PACKET=y
 
 CONFIG_I2C=y
 CONFIG_AGP=y
-CONFIG_VFAT_FS=y
 CONFIG_PM=y
 CONFIG_ACPI=y
 CONFIG_INPUT=y
 
 # Needed for booting (and using) USB memory sticks
-CONFIG_USB_STORAGE=y
-CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_RD_GZIP=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
 
+CONFIG_RD_GZIP=y
+
 # NUMA support
 CONFIG_NUMA=y
 CONFIG_X86_64_ACPI_NUMA=y
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc +2 -0
index 9e5ca8d..defddec 100644
@@ -1,6 +1,8 @@
 kconf hardware jasperforest.cfg
 
 include features/serial/8250.scc
+include features/framebuffer/vesafb.scc
+include cfg/usb-mass-storage.scc
 
 include features/logbuf/size-normal.scc
 
Signature · 1 line
1.7.0.4