[meego-commits] 15063: Changes to devel:kernel/kernel-adaptation-medfield

Chris Ferron no_reply at build.meego.com
Mon Mar 21 20:33:12 UTC 2011


Hi,
I have made the following changes to kernel-adaptation-medfield in project devel:kernel. Please review and accept ASAP.

Thank You,
Chris Ferron

[This message was auto-generated]

---

Request #15063:

  submit:   home:ceferron:branches:devel:kernel/kernel-adaptation-medfield(r2)(cleanup) -> devel:kernel/kernel-adaptation-medfield


Message:
    removed non medfiled configs and added medfeild-kboot configs in package only No kernel changes

State:   new          2011-03-21T13:33:03 ceferron
Comment: None



changes files:
--------------
--- kernel.changes
+++ kernel.changes
@@ -0,0 +1,4 @@
+* Mon Mar 21 2011 Chris E Ferron <chris.e.ferron at linux.intel.com> - 2.6.35.3
+- updated and cleaned packaing config to explude all non medfield configs 
+- added dirived medfeild kboot configs
+

old:
----
  config-aava
  config-ivi
  config-netbook

new:
----
  config-mid-kboot
  kernel-adaptation-medfield-kboot.spec

spec files:
-----------

++++++ new spec file:
--- kernel-adaptation-medfield-kboot.spec
+++ kernel-adaptation-medfield-kboot.spec
+#
+# Spec file originally created for Fedora, modified for Moblin Linux
+#
+
+Summary: The Linux kernel (the core of the Linux operating system)
+
+
+# For a stable, released kernel, released_kernel should be 1. For rawhide
+# and/or a kernel built from an rc snapshot, released_kernel should
+# be 0.
+%define released_kernel 1
+
+# Versions of various parts
+
+# base_sublevel is the kernel version we're starting with and patching
+# on top of -- for example, 2.6.22-rc7 starts with a 2.6.21 base,
+# which yields a base_sublevel of 21.
+
+%define base_sublevel 35
+
+
+## If this is a released kernel ##
+%if 0%{?released_kernel}
+# Do we have a 2.6.21.y update to apply?
+%define stable_update 3
+# Set rpm version accordingly
+%if 0%{?stable_update}
+%define stablerev .%{stable_update}
+%endif
+%define rpmversion 2.6.%{base_sublevel}%{?stablerev}
+
+## The not-released-kernel case ##
+%else
+# The next upstream release sublevel (base_sublevel+1)
+%define upstream_sublevel %(expr %{base_sublevel} + 1)
+# The rc snapshot level
+
+%define rcrev 0
+
+
+%if 0%{?rcrev}
+%define rctag ~rc%rcrev
+%endif
+
+%if !0%{?rcrev}
+%define rctag ~rc0
+%endif
+
+# Set rpm version accordingly
+%define rpmversion 2.6.%{upstream_sublevel}%{?rctag}
+%endif
+
+# The kernel tarball/base version
+%define kversion 2.6.%{base_sublevel}
+
+%define make_target bzImage
+
+%define KVERREL %{version}-%{release}
+%define hdrarch %_target_cpu
+
+%define compat_wireless_ver 2011-01-30
+
+%define all_x86 i386 i586 i686 %{ix86}
+
+%define all_arm %{arm}
+
+%define _default_patch_fuzz 0
+
+# Per-arch tweaks
+
+%ifarch %{all_x86}
+%define image_install_path boot
+%define hdrarch i386
+%define kernel_image arch/x86/boot/bzImage
+%endif
+
+%ifarch x86_64
+%define image_install_path boot
+%define kernel_image arch/x86/boot/bzImage
+%endif
+
+%ifarch %{all_arm}
+%define image_install_path boot
+%define kernel_image arch/arm/boot/zImage
+%define make_target zImage
+%endif
+
+%define oldconfig_target nonint_oldconfig
+
+ExclusiveArch: %{all_x86}
+#
+# Packages that need to be installed before the kernel is, because the %post
+# scripts use them.
+#
+%define kernel_prereq  fileutils, module-init-tools, fastinit, mkinitrd >= 6.0.39-1
+
+#
+# This macro does requires, provides, conflicts, obsoletes for a kernel package.
+#	%%kernel_reqprovconf <subpackage>
+# It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
+# macros defined above.
+#
+%define kernel_reqprovconf \
+Provides: kernel = %{rpmversion}-%{release}\
+Provides: kernel-uname-r = %{KVERREL}%{?1:-%{1}}\
+Requires(pre): %{kernel_prereq}\
+%{?1:%{expand:%%{?kernel_%{1}_conflicts:Conflicts: %%{kernel_%{1}_conflicts}}}}\
+%{?1:%{expand:%%{?kernel_%{1}_provides:Provides: %%{kernel_%{1}_provides}}}}\
+# We can't let RPM do the dependencies automatic because it'll then pick up\
+# a correct but undesirable perl dependency from the module headers which\
+# isn't required for the kernel proper to function\
+AutoReq: no\
+AutoProv: yes\
+%{nil}
+
+
+Name: kernel-adaptation-medfield-kboot
+
+Group: System/Kernel
+License: GPLv2
+URL: http://www.kernel.org/
+Version: %{rpmversion}
+Release: 6
+
+%kernel_reqprovconf
+
+#
+# List the packages used during the kernel build
+#
+BuildRequires: module-init-tools, bash >= 2.03, sh-utils
+BuildRequires:  findutils,  make >= 3.78
+BuildRequires: linux-firmware
+BuildRequires: elfutils-libelf-devel binutils-devel newt-devel
+
+Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
+Source1: compat-wireless-%{compat_wireless_ver}.tar.bz2
+Source2: series
+
+Source10: COPYING.modules
+
+Source15: merge.pl
+Source20: Makefile.config
+
+Source100: config-generic
+Source104: config-mid
+Source105: config-mid-kboot
+
+# For a stable release kernel
+%if 0%{?stable_update}
+Patch00: patch-2.6.%{base_sublevel}.%{stable_update}.bz2
+%endif
+%if 0%{?rcrev}
+Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
+%endif
+
+# Reminder of the patch filename format:
+# linux-<version it is supposed to be upstream>-<description-separated-with-dashes>.patch
+#
+
+
+#
+# Stable patch - critical bugfixes
+#
+
+Patch1: patch-2.6.35.3.bz2
+
+
+#
+# Patch to add a "nonintconfig" option to the Makefile
+# needed for unattended builds
+#
+Patch2: linux-2.6-build-nonintconfig.patch
+
+
+
+#####################################################################
+#
+# Direct Backport section.. only patches already in Linus' or maintainer git trees
+# (for linux-next) should go here.
+# We will regularly drop patches from this section as we rebase to newer
+# kernels.
+#
+
+Patch100: linux-2.6.37-x86-add_core_threshold_support_to_therm_throt.c.patch
+Patch101: linux-2.6.37-x86-mrst-set-vrtc-irq-to-level-trigger-type.patch 
+
+Patch102: linux-2.6.37-x86-mwait.h-backport.patch
+Patch103: linux-2.6.37-x86-hotplug-Use-mwait-to-offline-a-processor-fix-the.patch
+Patch104: linux-2.6.37-x86-hotplug-Move-WBINVD-back-outside-the-play_dead-l.patch
+Patch105: linux-2.6.37-x86-hotplug-In-the-MWAIT-case-of-play_dead-CLFLUSH-t.patch
+
+# backport for wakes optimization
+Patch106: linux-2.6.37-sched-Avoid-side-effect-of-tickless-idle-on-update_c.patch
+Patch107: linux-2.6.37-sched-Change-nohz-idle-load-balancing-logic-to-push-.patch
+
+# Smack - backport from linux-next for MSSFv2 support
+Patch108: linux-2.6.38-fix-typos-concerning-initiali-zs-e.patch
+Patch109: linux-2.6.38-smack-opt_dentry-is-never-null-in-in-smack_d_instant.patch
+Patch110: linux-2.6.38-security-make-LSMs-explicitly-mask-off-permissions.patch
+Patch111: linux-2.6.38-security-remove-unused-parameter-from-security_task_.patch
+Patch112: linux-2.6.38-security-secid_to_secctx-returns-len-when-data-is-NU.patch
+Patch113: linux-2.6.38-security-move-LSM-xattrnames-to-xattr.h.patch
+Patch114: linux-2.6.38-Smack-UDS-revision.patch
+Patch115: linux-2.6.38-This-patch-adds-a-new-security-attribute-to-Smack-ca.patch
+Patch116: linux-2.6.38-Smack-Transmute-labels-on-specified-directories.patch
+Patch117: linux-2.6.38-Smack-mmap-controls-for-library-containment.patch
+
+# Runtime PM patches - backport from linux-2.6.37
+Patch118: linux-2.6.37-sysfs-Add-sysfs_merge_group-and-sysfs_unmerge_group.patch
+Patch119: linux-2.6.37-PM-Make-it-possible-to-avoid-races-between-wakeup-an.patch
+Patch120: linux-2.6.37-PM-Do-not-use-dynamically-allocated-objects-in-pm_wa.patch
+Patch121: linux-2.6.37-PM-Runtime-Make-runtime_status-attribute-not-debug-o.patch
+Patch122: linux-2.6.37-PM-Runtime-Add-runtime-PM-statistics-v3.patch
+Patch123: linux-2.6.37-PM-Prevent-waiting-forever-on-asynchronous-resume-af.patch
+Patch124: linux-2.6.37-PM-Runtime-Lenient-generic-runtime-pm-callbacks.patch
+Patch125: linux-2.6.37-PM-Fix-signed-unsigned-warning-in-dpm_show_time.patch
+Patch126: linux-2.6.37-PM-describe-kernel-policy-regarding-wakeup-defaults-.patch
+Patch127: linux-2.6.37-PM-Wakeup-Introduce-wakeup-source-objects-and-event-.patch
+Patch128: linux-2.6.37-PM-Fix-potential-issue-with-failing-asynchronous-sus.patch
+Patch129: linux-2.6.37-PM-Runtime-Move-code-in-drivers-base-power-runtime.c.patch
+Patch130: linux-2.6.37-PM-Runtime-Replace-boolean-arguments-with-bitflags.patch
+Patch131: linux-2.6.37-PM-Runtime-Merge-synchronous-and-async-runtime-routi.patch
+Patch132: linux-2.6.37-PM-Runtime-Combine-runtime-PM-entry-points.patch
+Patch133: linux-2.6.37-PM-Runtime-Add-no_callbacks-flag.patch
+Patch134: linux-2.6.37-PM-Runtime-Implement-autosuspend-support.patch
+Patch135: linux-2.6.37-PM-Runtime-Reduce-code-duplication-in-core-helper-fu.patch
+Patch136: linux-2.6.37-PM-Runtime-Remove-idle-notification-after-failing-su.patch
+Patch137: linux-2.6.37-PM-Lock-PM-device-list-mutex-in-show_dev_hash.patch
+Patch138: linux-2.6.37-PM-Add-sysfs-attr-for-rechecking-dev-hash-from-PM-tr.patch
+Patch139: linux-2.6.37-PM-Wakeup-Show-wakeup-sources-statistics-in-debugfs.patch
+Patch140: linux-2.6.37-PM-Runtime-fix-recursive-locking-warning-of-lockdep-.patch
+Patch141: linux-2.6.37-PM-Runtime-Fix-typo-in-status-comparison-causing-war.patch
+Patch142: linux-2.6.37-PM-Allow-devices-to-be-removed-during-late-suspend-a.patch
+
+# BDI wake optimizations - backport from linux-2.6.36
+Patch143: linux-2.6.36-writeback-remove-wb_list.patch
+Patch144: linux-2.6.36-writeback-merge-bdi_writeback_task-and-bdi_start_fn.patch
+Patch145: linux-2.6.36-writeback-Initial-tracing-support.patch
+Patch146: linux-2.6.36-writeback-Add-tracing-to-balance_dirty_pages.patch
+Patch147: linux-2.6.36-writeback-remove-wb-in-get_next_work_item.patch
+Patch148: linux-2.6.36-writeback-harmonize-writeback-threads-naming.patch
+Patch149: linux-2.6.36-writeback-fix-possible-race-when-creating-bdi-thread.patch
+Patch150: linux-2.6.36-writeback-do-not-lose-wake-ups-in-the-forker-thread-1.patch
+Patch151: linux-2.6.36-writeback-do-not-lose-wake-ups-in-the-forker-thread-2.patch
+Patch152: linux-2.6.36-writeback-do-not-lose-wake-ups-in-bdi-threads.patch
+Patch153: linux-2.6.36-writeback-simplify-bdi-code-a-little.patch
+Patch154: linux-2.6.36-writeback-do-not-remove-bdi-from-bdi_list.patch
+Patch155: linux-2.6.36-writeback-move-last_active-to-bdi.patch
+Patch156: linux-2.6.36-writeback-restructure-bdi-forker-loop-a-little.patch
+Patch157: linux-2.6.36-writeback-move-bdi-threads-exiting-logic-to-the-fork.patch
+Patch158: linux-2.6.36-writeback-prevent-unnecessary-bdi-threads-wakeups.patch
+Patch159: linux-2.6.36-writeback-optimize-periodic-bdi-thread-wakeups.patch
+Patch160: linux-2.6.36-writeback-remove-unnecessary-init_timer-call.patch
+Patch161: linux-2.6.36-writeback-add-new-tracepoints.patch
+Patch162: linux-2.6.36-writeback-cleanup-bdi_register.patch
+Patch163: linux-2.6.36-writeback-do-not-lose-wakeup-events-when-forking-bdi.patch
+Patch164: linux-2.6.36-writeback-Fix-lost-wake-up-shutting-down-writeback-t.patch
+Patch165: linux-2.6.36-writeback-fix-bad-_bh-spinlock-nesting.patch
+
+Patch166: linux-2.6.36-fix-unprotected-acess-to-task-credentials.patch
+Patch167: linux-2.6.36-battery.patch
+Patch168: linux-2.6.36-battery2.patch
+
+Patch169: linux-2.6.37-rc1-mmc-backport.patch
+Patch170: linux-2.6.36-mmc-fix-printing-of-card-ddr-type.patch
+Patch171: linux-2.6.39-mmc-Fix-the-block-device-read-only-flag.patch
+
+Patch172: linux-3.6.36-rcu_squash.patch
+
+Patch173: linux-2.6.37-rc1-ti-backport.patch
+Patch174: linux-2.6.37-rc1-ti-backport-2.patch
+Patch175: linux-2.6.37-rc1-ti-backport-3.patch
+Patch176: linux-2.6.37-ti-ndisc-number.patch
+
+# sound - backported from linux-2.6.38-rc5
+Patch177: linux-2.6.38-rc5-sound-backport.patch
+
+Patch178: linux-2.6.37-thermal-Add-event-notification-to-thermal-framework.patch
+Patch179: linux-2.6.37-irda-prevent-integer-underflow-in-IRLMP_ENUMDEVICES.patch
+
+# cherry picking the important security/corruption fixes from
+# the stable series
+
+Patch180: linux-2.6.35-stable-cherry-picks.patch
+
+# Kernel CVE patches - these go last in the backport section
+# no non-cve patches should go here!
+
+
+
+#
+# End of the Direct Backports section
+#
+#####################################################################
+
+
+
+
+
+#####################################################################
+#
+# Moorestown and Medfield architecture patches
+# Section maintainer: Arjan van de Ven <arjan at linux.intel.com>
+#
+
+#
+# The main consolidated MRST/MFLD tree from
+# git://git.kernel.org/pub/scm/linux/kernel/git/alan/linux-2.6-mid-ref
+#
+
+Patch200: linux-2.6.35-ac-2010-08-24.patch
+Patch201: linux-2.6.35-ac-pending.patch
+Patch202: linux-2.6.36-mrst-mmc-errata.patch
+#linux-2.6.36-mmc-medfield-a-step-errata.patch
+
+# Aava specific patches
+Patch203: linux-2.6.35-Add-MIP-header-update-when-FW-is-upgraded.patch
+Patch204: linux-2.6.35-Fix-loadfw.patch
+
+# Core architecture patches
+Patch205: linux-2.6.35-Fix-Moorestown-VRTC-fixmap-placement.patch
+Patch206: linux-2.6.35-mrst-rtc.patch
+Patch207: linux-2.6.36-rtc-mrst-Fix-section-types.patch
+Patch208: linux-2.6.37-x86-lapic-timer-increase-max_delta-to-31-bits.patch
+Patch209: linux-2.6.36-x86-mrst-pti-add-pti-early-console.patch
+Patch210: linux-2.6.36-export_get_task_comm.patch
+Patch211: linux-2.6.36-ipc-medfield-firmware-update.patch
+Patch212: linux-2.6.36-ipc-medfield-firmware-update-cleanup.patch
+Patch213: linux-2.6.36-intel-scu-ipcutil-add-ioctl-to-get-fw-version.patch
+Patch214: linux-2.6.36-intel-scu-ipcutil-allow-ipcutil-compile-as-module.patch
+Patch215: linux-2.6.36-intel-scu-ipc-add-smip-umip-access-cmd-support.patch
+
+#
+# Atom C state fixes
+#
+Patch216: linux-2.6.35-intel-idle.patch
+
+# Atom P state driver patches
+Patch217: linux-2.6.36-Removing-SFI-C-and-P-state-divers.patch
+Patch218: linux-2.6.36-p-state-driver-based-on-sfi-idle.patch
+Patch219: linux-2.6.36-sfi-cpufreq-fix-compilation-warnings.patch
+Patch220: linux-2.6.36-p-state-HACK-fix-max-freq.patch
+
+# MID PMU patches
+Patch221: linux-2.6.36-intel-idle-s0ix-implementation.patch
+Patch222: linux-2.6.36-mid_pci-pci-ops-registration.patch
+Patch223: linux-2.6.36-mid_pmu-driver-that-controls-pmus.patch
+Patch224: linux-2.6.36-mid_pmu-bug-fix-fixed-device-lss-reporting-lss0-wron.patch
+Patch225: linux-2.6.36-mid_pmu-disable-scu-semaphore-watchdog-by-default.patch
+Patch226: linux-2.6.36-mid_pmu-bug-fix-change-lpmp3-command-value.patch
+Patch227: linux-2.6.36-mid_pmu-clear-cpu-offload-cntrl-reg-in-error-scenari.patch
+Patch228: linux-2.6.36-mid_pmu-wake-source-counter-statistics.patch
+Patch229: linux-2.6.36-mid_pmu-wait-for-interactive-command-complete-in-pmu.patch
+Patch230: linux-2.6.36-mid_pmu-cleanup-fix-sparse-check-warnings.patch
+Patch231: linux-2.6.36-mid_pmu-correct-d0ix-state-during-s0ix-entry.patch
+
+# pytimechart patches
+Patch232: linux-2.6.37-ftrace-check-if-a-traced-string-is-null.patch
+Patch233: linux-2.6.37-intel_idle-re-order-power_trace.patch
+Patch234: linux-2.6.37-trace-runtime_pm-add-runtime_pm-trace-event.patch
+Patch235: linux-2.6.37-trace-workqueue-also-trace-workqueues-end.patch
+
+# HS UART driver
+Patch236: linux-2.6.37-serial-mfd-runtime-check-for-whether-to-use-dma-rx-timer.patch
+Patch237: linux-2.6.37-serial-mfd-adjust-baud-rate-setting.patch
+Patch238: linux-2.6.37-serial-mfd-fix-bug-in-serial-hsu-remove.patch
+
+Patch239: linux-2.6.36-SFI-Add-SD-type-to-SFI-device-parsing.patch
+Patch240: linux-2.6.36-mrst.c-make-the-delayed-device-mechanism-more-gener.patch
+
+# eMMC/SDIO
+Patch241: linux-2.6.36-mmc-remove-unused-code.patch
+Patch242: linux-2.6.36-mmc-add-new-mmc-capability-for-some-host-controller.patch
+Patch243: linux-2.6.36-mmc-add-erase-cap-and-new-quirk-for-MFLD-sdhci-host.patch
+Patch244: linux-2.6.36-mmc-add-emmc4.41-enhanced-area-feature.patch
+Patch245: linux-2.6.36-mmc-enable-BKOPS-feature-for-supported-emmc-card.patch
+Patch246: linux-2.6.36-mmc-Add-background-operations.patch
+Patch247: linux-2.6.36-mmc-Enabled-HPI-feature.patch
+Patch248: linux-2.6.36-mmc-Add-HPI-operation-to-interrupt-BKOPS.patch
+Patch249: linux-2.6.36-mmc-add-a-Kconfig-option-to-disable-eMMC-BKOPS-HPI.patch
+Patch250: linux-2.6.36-mmc-not-use-return-value-in-mmc_wait_for_bkops.patch
+Patch251: linux-2.6.36-mmc-change-print-level-to-avoid-too-many-output-messages.patch
+Patch252: linux-2.6.37-mmc-Aggressive-clock-gating-framework.patch
+Patch253: linux-2.6.37-mmc-clean-up-clock-gating-code.patch
+Patch254: linux-2.6.37-mmc-protect-against-clock-gating-races.patch
+Patch255: linux-2.6.37-mmc-protect-some-clock-gating-variables.patch
+Patch256: linux-2.6.37-mmc-put-led-blinking-code-after-clock-ungating.patch
+Patch257: linux-2.6.37-mmc-sdhci-pci-Enable-runtime-PM-support.patch
+Patch258: linux-2.6.37-mmc-sdhci-v2-use-ios-clock-to-know-when-sdhci-is-idle.patch
+Patch259: linux-2.6.37-mmc-add-per-device-quirk-placeholder.patch
+Patch260: linux-2.6.37-mmc-add-MMC_QUIRK_BROKEN_CLK_GATING.patch
+Patch261: linux-2.6.37-mmc-remove-BROCKEN_CLK_GATING-quirk-for-wl1271.patch
+Patch262: linux-2.6.36-mmc-emmc-mutex-support-for-medfield.patch
+Patch263: linux-2.6.36-mmc-emmc-mutex-api-to-protect-emmc0.patch
+Patch264: linux-2.6.37-mmc-check-for-one-clk_requests-when-disabling-gating.patch
+Patch265: linux-2.6.37-mmc-fix-devision-by-zero-in-mmc-core.patch
+Patch266: linux-2.6.36-mmc-get-device-first-before-remove-controller.patch
+Patch267: linux-2.6.36-mmc-enable-HW-reset-cap-of-MMC-card-if-card-supports.patch
+Patch268: linux-2.6.36-mmc-initialize-eMMC-card-if-r-w-e-occurs-timeout.patch
+Patch269: linux-2.6.36-mmc-implement-hardware-reset-feature-for-MFLD-SDHCI-.patch
+Patch270: linux-2.6.36-mmc-sdhci-manage-pm-of-the-card-via-regulator.patch
+Patch271: linux-2.6.36-mmc-sdhci-regulator-power-down-power-up-handling.patch
+
+# dw_spi patches
+Patch272: linux-2.6.36-dw_spi-add-support-for-runtime_pm.patch
+
+# Patches to force early SCU probe
+Patch273: linux-2.6.36-intel_scu-change-init-time-to-early-in-the-boot.patch
+Patch274: linux-2.6.36-langwell_gpio-change-init-time-to-early-in-the-boot.patch
+
+# Graphics Driver
+Patch275: linux-2.6.35-make-gma600-work-on-IA.patch
+Patch276: linux-2.6.36-gma600-update-to-version-1.6.patch
+Patch277: linux-2.6.36-Modified-sysconfig.h-to-disable-the-host-port-usage.patch
+Patch278: linux-2.6.36-Use-the-in-Kernel-TTM-implementation.patch
+Patch279: linux-2.6.36-Move-Video-Driver-files-to-it-s-own-folder.patch
+Patch280: linux-2.6.36-Enable-D0i3-Support-for-Medfield-Video-Driver.patch
+Patch281: linux-2.6.36-Fix-for-Bugzilla-5074-Enable-non-root-X-for-handset.patch
+Patch282: linux-2.6.36-GFX-Display-Fixed-display-panning-extend-mode-issues.patch
+Patch283: linux-2.6.36-Adding-support-for-Overlay-Register-Read-back.patch
+Patch284: linux-2.6.36-GFX-Display-Platform-ID-needs-to-be-checked-to-suppo.patch
+Patch285: linux-2.6.36-Add-support-for-Display-Save-Restore.patch
+Patch286: linux-2.6.36-Avoid-using-some-TTM-interfaces-directly-for-buildin.patch
+Patch287: linux-2.6.36-Medfield-Topaz-D0i3-support.patch
+Patch288: linux-2.6.36-gma600-ospm-cleanup.patch
+Patch289: linux-2.6.36-gma600-display-suspend.patch
+Patch290: linux-2.6.36-gma600-s0i3-support.patch
+Patch291: linux-2.6.36-gma600-video-encode-workaround.patch
+Patch292: linux-2.6.36-gma600-runtime-pm-support.patch
+Patch293: linux-2.6.36-gma600-pci-device-id-mask.patch
+Patch294: linux-2.6.36-gma600-dsi-display-support.patch
+Patch295: linux-2.6.36-gma600-video-runtime-pm-support.patch
+Patch296: linux-2.6.36-gma600-resolution-clip.patch
+Patch297: linux-2.6.36-gma600-add-mipi-support.patch
+Patch298: linux-2.6.36-gma600-disable-vblank.patch
+Patch299: linux-2.6.36-gma600-fix-1gb-crash.patch
+Patch300: linux-2.6.36-gma600-subpicture-support.patch
+Patch301: linux-2.6.36-gma600-tmd-support.patch
+Patch302: linux-2.6.36-gma600-version-number.patch
+Patch303: linux-2.6.36-gma600-fix-pci-goof.patch
+Patch304: linux-2.6.36-gma600-more-gct-support.patch
+Patch305: linux-2.6.36-gma600-remove-mipi-dep.patch
+Patch306: linux-2.6.36-gma600-hdmi-audio-hookup.patch
+Patch307: linux-2.6.36-gma600-medfield-runtime-pm.patch
+Patch308: linux-2.6.36-gma600-updates-from-imgtek.patch
+Patch309: linux-2.6.36-gma600-error-handling-types.patch
+Patch310: linux-2.6.36-gma600-fix-hdmi-code.patch
+Patch311: linux-2.6.36-gma600-fix-hardcoded-modelines.patch
+Patch312: linux-2.6.36-gma600-use-frequency-instead-of-sku-id.patch
+Patch313: linux-2.6.36-gma600-move-opregion-to-separate-file.patch
+Patch314: linux-2.6.36-gma600-newer-version-from-imgtek.patch
+Patch315: linux-2.6.36-gma600-fix-ttm-video-playback.patch
+Patch316: linux-2.6.36-gma600-fix-decoder-issue.patch
+Patch317: linux-2.6.36-gma600-encode-runtime-pm-support.patch
+Patch318: linux-2.6.36-gma600-reenable-pageflip.patch
+Patch319: linux-2.6.36-gma600-ospm-refactoring.patch
+Patch320: linux-2.6.36-gma600-hdmi-audio-support.patch
+Patch321: linux-2.6.36-gma600-refactor-backlight-code.patch
+Patch322: linux-2.6.36-gma600-fix-xinit-launch.patch
+Patch323: linux-2.6.36-gma600-fix-module-build-failure.patch
+Patch324: linux-2.6.36-gma600-version-update.patch
+Patch325: linux-2.6.36-GFX-Enable-Tearing-Effect.patch
+Patch326: linux-2.6.36-GFX-Added-command-line-option-to-control-LABC.patch
+Patch327: linux-2.6.36-GFX-Fixed-the-bug-in-the-case-where-default-depth-is.patch
+Patch328: linux-2.6.36-GFX-Fix-for-HSD-Issue-3470628-Can-t-resume-after-DPM.patch
+Patch329: linux-2.6.36-GFX-Enable-DSR-in-kernel.patch
+Patch330: linux-2.6.36-GFX-Support-HDMI-Rails.patch
+Patch331: linux-2.6.36-GFX-New-MSVDX-Firmware-Support.patch
+Patch332: linux-2.6.36-GFX-Enabled-DSR-in-kernel-by-default.patch
+Patch333: linux-2.6.36-GFX-Ovelay-needs-to-Sync-at-vblank.patch
+Patch334: linux-2.6.36-GFX-Kernel-part-for-support-egl-resource_profiling-2.patch
+Patch335: linux-2.6.36-GFX-Fix-Moorestown-DPST.patch
+Patch336: linux-2.6.36-GFX-Make-gfx-runtime-pm-configurable-by-cmdline.patch
+Patch337: linux-2.6.36-GFX-Stabilizd-DPU-DSR-code.patch
+Patch338: linux-2.6.36-GFX-Fixes-X-booting-to-blank-display.patch
+Patch339: linux-2.6.36-GFX-Remove-the-resolution-limitations-to-HDMI-displa.patch
+Patch340: linux-2.6.36-GFX-Remove-un-necessary-pci-device-get.patch
+Patch341: linux-2.6.36-GFX-Enable-Panel-detection-using-GCT.patch
+Patch342: linux-2.6.36-GFX-Enabled-GL3.patch
+Patch343: linux-2.6.36-GFX-Fix-issue-TTM-Buffer-Object-Validation.patch
+Patch344: linux-2.6.36-GFX-Klocwork-Fixes.patch
+Patch345: linux-2.6.36-GFX-Fix-HSD-Issue-3741439-Enable-Disable-alpha.patch
+Patch346: linux-2.6.36-GFX-IMG-Engineering-Integraion-3977-3999.patch
+Patch347: linux-2.6.36-GFX-Enable-HDMI-HPD-MSIC-interrupt.patch
+Patch348: linux-2.6.36-GFX-Remove-lock-mutex-which-isn-t-needed.patch
+Patch349: linux-2.6.36-GFX-Enable-MSVDX-PM-D0i3-state.patch
+Patch350: linux-2.6.36-GFX-Fixed-HSD-bug-3741489-MIPI1-blackout-after-rotat.patch
+Patch351: linux-2.6.36-GFX-Fix-for-Bugzilla-10748-REG-Gfx-driver-0031-resul.patch
+Patch352: linux-2.6.36-GFX-Graphics-Driver-release-version-5.3.0.0031.patch
+Patch353: linux-2.6.36-GFX-Added-HPD-umevent-notification.patch
+Patch354: linux-2.6.36-GFX-Remove-the-6ms-delay-following-TopazSC-MTX-regis.patch
+Patch355: linux-2.6.36-GFX-Add-bc_video-driver-for-texture-streaming.patch
+Patch356: linux-2.6.36-GFX-fixed-the-issue-that-the-cases-gles1test1-ovg_un.patch
+Patch357: linux-2.6.36-GFX-Enable-GL3-Optimization-for-video.patch
+Patch358: linux-2.6.36-GFX-fixed-HSD-3741318-xrandr-and-brightness-paramete.patch
+Patch359: linux-2.6.36-GFX-fixed-HSD-3741617-HDMI-device-can-not-be-configu.patch
+Patch360: linux-2.6.36-GFX-Refine-sysfs-status-for-msvdx-and-Topaz-for-D0i3.patch
+Patch361: linux-2.6.36-GFX-fixed-HSD-3741788-Mfld-DC-xrandr-screen-cannot-b.patch
+Patch362: linux-2.6.36-GFX-MSVDS-only-need-to-wait-when-needed.patch
+Patch363: linux-2.6.36-GFX-Modified-ospm_power_using_hw_begin-interface.patch
+Patch364: linux-2.6.36-GFX-Disable-per-context-PB-using-shared-PB-to-save-s.patch
+Patch365: linux-2.6.36-GFX-IMG-Engineering-Drop-4043-Integration.patch
+Patch366: linux-2.6.36-GFX-Modify-the-HDMI-display-and-audio-interface.patch
+Patch367: linux-2.6.36-GFX-Enable-planeB-subpicture-blending.patch
+Patch368: linux-2.6.36-GFX-Enable-GL3-Power-management.patch
+Patch369: linux-2.6.36-GFX-Delete-DSR-timer-runtime-PM.patch
+Patch370: linux-2.6.36-GFX-Enable-GFX-Runtime-PM-supports-s0ix-with-DSR.patch
+Patch371: linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0032.patch
+Patch372: linux-2.6.36-GFX-Fix-HSD-3577028-Display-not-resuming.patch
+Patch373: linux-2.6.36-GFX-Remove-MSVDX-firmware-verion-check.patch
+Patch374: linux-2.6.36-GFX-Added-hard-coded-mipi-panel-physical-sizes.patch
+Patch375: linux-2.6.36-GFX-Intermediate-build-failures-with-buffer-class-vi.patch
+Patch376: linux-2.6.36-GFX-Added-the-Panel-info-for-querying-from-sysfs.patch
+Patch377: linux-2.6.36-GFX-Add-encode-system-buffer-reset-function-and-Vide.patch
+Patch378: linux-2.6.36-GFX-Remove-Menlow-Support-from-UMG-Driver.patch
+Patch379: linux-2.6.36-GFX-Integration-of-HDMI-Audio-Runtime-PM-with-GFX-Ru.patch
+Patch380: linux-2.6.36-GFX-Added-more-hard-coded-EDID-info-to-support-more-.patch
+Patch381: linux-2.6.36-GFX-fixed-HSD-3741786-HDMI-doesn-t-suppot-864x480-mo.patch
+Patch382: linux-2.6.36-GFX-Use-TE-interrupt-as-vblank-for-B0-command-mode-p.patch
+Patch383: linux-2.6.36-GFX-Make-MIPI1-display-work-with-dual-TMP-Panels.patch
+Patch384: linux-2.6.36-GFX-Coding-Style-indents-and-comments-changes.patch
+Patch385: linux-2.6.36-GFX-Change-for-MRST-decode-error-concealment.patch
+Patch386: linux-2.6.36-GFX-Refine-Topaz-suspend-resume.patch
+Patch387: linux-2.6.36-GFX-Add-support-switch-between-firmware.patch
+Patch388: linux-2.6.36-GFX-Fix-the-potential-sleep-in-semphore-when-in-SPIN.patch
+Patch389: linux-2.6.36-GFX-Refine-video-context-support.patch
+Patch390: linux-2.6.36-GFX-Refine-TopazSC-error-handling-in-save-restore.patch
+Patch391: linux-2.6.36-GFX-Codeing-Style-Code-Cleanup-in-Video-Code.patch
+Patch392: linux-2.6.36-GFX-Handle-host_be_opp-cmd-msg-for-msvdx.patch
+Patch393: linux-2.6.36-GFX-Added-VCM-definition-for-MRST-MeeGo-Topaz.patch
+Patch394: linux-2.6.36-GFX-Refine-video-context-for-MRST-Topaz-firmware-swi.patch
+Patch395: linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0035.patch
+Patch396: linux-2.6.36-GFX-Port-error-concealment-feature-for-MRST-decode.patch
+Patch397: linux-2.6.36-GFX-Fix-some-issue-when-merge-error-concealment-code.patch
+Patch398: linux-2.6.36-GFX-Correct-the-number-of-Topaz-firmwares.patch
+Patch399: linux-2.6.36-GFX-decrease-timeout-of-IEP-BLE-min-max-Y-value-read.patch
+Patch400: linux-2.6.36-GFX-Added-DSI-packet-sender-implementation.patch
+Patch401: linux-2.6.36-GFX-A-WA-for-PYR-panel-update.patch
+Patch402: linux-2.6.36-GFX-Display-Update-display-runtime-PM.patch
+Patch403: linux-2.6.36-GFX-Fix-coding-style-problems.patch
+Patch404: linux-2.6.36-GFX-re-enable-video-driver-OSPM.patch
+Patch405: linux-2.6.36-GFX-modified-the-coding-style-in-Display-Controller.patch
+Patch406: linux-2.6.36-GFX-Coding-Style-fixes-usage-of-tmp-variable.patch
+Patch407: linux-2.6.36-GFX-fixed-hang-issue-on-ES2-B0-TPO-panel.patch
+Patch408: linux-2.6.36-GFX-HSD-3576230-Build-issue-when-using-different-out.patch
+Patch409: linux-2.6.36-GFX-HSD-3741804-glesgears-fullscreen-on-HDMI.patch
+Patch410: linux-2.6.36-GFX-Fixed-TPO-rotation-slow-issue.patch
+Patch411: linux-2.6.36-GFX-speed-up-TMD-panel-mode-setting-and-rotation.patch
+Patch412: linux-2.6.36-GFX-Re-enabled-second-TMD-panel.patch
+Patch413: linux-2.6.36-GFX-Display-Register-Read-write-through-proc.patch
+Patch414: linux-2.6.36-GFX-Refine-HDMI-Hotplug.patch
+Patch415: linux-2.6.36-GFX-HSD-3741251-Backlight-will-not-dim.patch
+Patch416: linux-2.6.36-GFX-HSD-3741978-Kernel-Ops-Crash-in-X-during-browser.patch
+Patch417: linux-2.6.36-GFX-Add-support-for-MSVDX-deblock.patch
+Patch418: linux-2.6.36-GFX-HSD-3741572-APM-D0i3-not-enabled-in-meego.patch
+Patch419: linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0036.patch
+Patch420: linux-2.6.36-GFX-HSD-3741978-UI-crash-Meego-Stability.patch
+Patch421: linux-2.6.36-GFX-PM-avoid-sleeping-routine-in-atomic-context.patch
+Patch422: linux-2.6.36-GFX-PM-read-modify-only-gfx-specific-bits-in-APM_CMD.patch
+Patch423: linux-2.6.36-GFX-PM-patch-to-support-dsr-with-dpms-s0ix.patch
+Patch424: linux-2.6.36-GFX-PM-fix-dsr-status-flag.patch
+Patch425: linux-2.6.36-GFX-PM-HACK-add-delay-before-starting-gfx-pm.patch
+Patch426: linux-2.6.36-GFX-Refine-plane-pixformat-switch-for-subpicture.patch
+Patch427: linux-2.6.36-GFX-Brighness-can-t-be-changed-on-TMD-Panel.patch
+Patch428: linux-2.6.36-GFX-Enable-MSVDX-D0i3.patch
+Patch429: linux-2.6.36-GFX-DSR-Fix-to-not-update-Damage-region-when-MIPI-is.patch
+Patch430: linux-2.6.36-GFX-MRST-topaz-print-VCM-codec-name.patch
+Patch431: linux-2.6.36-GFX-HSD-3577374-Wrong-HDMI-screen-orientation-on-iCD.patch
+Patch432: linux-2.6.36-GFX-HSD-3470555-The-file-proc-dri-0-mrst_blc-is-empt.patch
+Patch433: linux-2.6.36-GFX-Tearing-when-use-TE-interrupt.patch
+Patch434: linux-2.6.36-GFX-Return-EOPNOTSUPP-error-code-Correctly.patch
+Patch435: linux-2.6.36-GFX-Release-memory-when-X-Crash.patch
+Patch436: linux-2.6.36-GFX-Revert-Work-around-for-HSD-3741978.patch
+Patch437: linux-2.6.36-GFX-Save-current-cursor-and-overlay-display-register.patch
+Patch438: linux-2.6.36-GFX-To-fix-kernel-oops-due-to-X-crashes.patch
+Patch439: linux-2.6.36-GFX-Reduce-Program-Buffer-and-3D-parameter-heap-Size.patch
+Patch440: linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0037.patch
+Patch441: linux-2.6.36-GFX-MSVDX-add-the-data-structure-for-error-concealme.patch
+Patch442: linux-2.6.36-GFX-Differentiate-mrst-and-mdfld-vblank-handle-path.patch
+Patch443: linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0038.patch
+#linux-2.6.36-GFX-Fixed-glsync-tearing-issue-on-MIPI-panel.patch
+#linux-2.6.36-GFX-Enlarge-GENERAL_MAPPING-heap-to-make-sure-more-a.patch
+#linux-2.6.36-GFX-fixed-MIPI0-tearing-while-page-flipping.patch
+#linux-2.6.36-GFX-Fixed-a-code-defect-which-may-lead-to-seg-fault.patch
+#linux-2.6.36-GFX-make-MeeGo-UI-display-well-with-TMD-panel-in-por.patch
+#linux-2.6.36-GFX-Do-not-disable-TE-interrupt-while-DSR-is-off.patch
+#linux-2.6.36-GFX-Quick-Fixing-for-TPO-panel-randomly-hang-issue.patch
+#linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0039.patch
+
+# Media Controller patches
+Patch444: linux-2.6.36-v4l-Load-I2C-modules-based-on-modalias.patch
+Patch445: linux-2.6.36-v4l-Remove-hardcoded-module-names-passed-to-v4l2_i2c.patch
+Patch446: linux-2.6.36-go7007-Add-MODULE_DEVICE_TABLE-to-the-go7007-I2C-mod.patch
+Patch447: linux-2.6.36-go7007-Fix-the-TW2804-I2C-type-name.patch
+Patch448: linux-2.6.36-go7007-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch449: linux-2.6.36-zoran-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch450: linux-2.6.36-pvrusb2-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch451: linux-2.6.36-sh_vou-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch452: linux-2.6.36-radio-si4713-Don-t-use-module-names-to-load-I2C-modu.patch
+Patch453: linux-2.6.36-soc_camera-Don-t-use-module-names-to-load-I2C-module.patch
+Patch454: linux-2.6.36-vpfe_capture-Don-t-use-module-names-to-load-I2C-modu.patch
+Patch455: linux-2.6.36-vpif_display-Don-t-use-module-names-to-load-I2C-modu.patch
+Patch456: linux-2.6.36-vpif_capture-Don-t-use-module-names-to-load-I2C-modu.patch
+Patch457: linux-2.6.36-ivtv-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch458: linux-2.6.36-cx18-Don-t-use-module-names-to-load-I2C-modules.patch
+Patch459: linux-2.6.36-V4L-DVB-v4l-Use-v4l2_get_subdevdata-instead-of-acces.patch
+Patch460: linux-2.6.36-V4L-DVB-v4l-Add-a-v4l2_subdev-host-private-data-fiel.patch
+Patch461: linux-2.6.36-V4L-DVB-mediabus-fix-ambiguous-pixel-code-names.patch
+Patch462: linux-2.6.36-V4L-DVB-V4L2-mediabus-add-12-bit-Bayer-and-YUV420-pi.patch
+Patch463: linux-2.6.36-v4l2-mediabus-Add-pixelcodes-for-BGR565-formats.patch
+Patch464: linux-2.6.36-V4L-DVB-v4l-add-new-YUV-mediabus-formats.patch
+Patch465: linux-2.6.36-V4L-DVB-v4l-add-RGB444-mediabus-formats.patch
+Patch466: linux-2.6.36-V4L-DVB-v4l2-Add-new-control-handling-framework.patch
+Patch467: linux-2.6.36-V4L-DVB-v4l2-ctrls-reorder-case-statements-to-match-.patch
+Patch468: linux-2.6.36-V4L-DVB-Documentation-add-v4l2-controls.txt-document.patch
+Patch469: linux-2.6.36-V4L-DVB-v4l2-hook-up-the-new-control-framework-into-.patch
+Patch470: linux-2.6.36-V4L-DVB-v4l2-ctrls-Whitespace-cleanups.patch
+Patch471: linux-2.6.36-V4L-DVB-v4l2-ctrls.c-needs-to-include-slab.h.patch
+Patch472: linux-2.6.36-v4l-Remove-module_name-argument-to-the-v4l2_i2c_new_.patch
+Patch473: linux-2.6.36-v4l-Share-code-between-video_usercopy-and-video_ioct.patch
+Patch474: linux-2.6.36-v4l-subdev-Don-t-require-core-operations.patch
+Patch475: linux-2.6.36-v4l-subdev-Merge-v4l2_i2c_new_subdev_cfg-and-v4l2_i2.patch
+Patch476: linux-2.6.36-v4l-subdev-Add-device-node-support.patch
+Patch477: linux-2.6.36-v4l-subdev-Uninline-the-v4l2_subdev_init-function.patch
+Patch478: linux-2.6.36-v4l-subdev-Control-ioctls-support.patch
+Patch479: linux-2.6.36-v4l-subdev-Events-support.patch
+Patch480: linux-2.6.36-media-Media-device-node-support.patch
+Patch481: linux-2.6.36-media-Media-device.patch
+Patch482: linux-2.6.36-media-Entities-pads-and-links.patch
+Patch483: linux-2.6.36-media-Entity-graph-traversal.patch
+Patch484: linux-2.6.36-media-Reference-count-and-power-handling.patch
+Patch485: linux-2.6.36-media-Media-device-information-query.patch
+Patch486: linux-2.6.36-media-Entities-pads-and-links-enumeration.patch
+Patch487: linux-2.6.36-media-Links-setup.patch
+Patch488: linux-2.6.36-media-Pipelines-and-media-streams.patch
+Patch489: linux-2.6.36-v4l-Add-a-media_device-pointer-to-the-v4l2_device-st.patch
+Patch490: linux-2.6.36-v4l-Make-video_device-inherit-from-media_entity.patch
+Patch491: linux-2.6.36-v4l-Make-v4l2_subdev-inherit-from-media_entity.patch
+Patch492: linux-2.6.36-v4l-Move-the-media-v4l2-mediabus.h-header-to-include.patch
+Patch493: linux-2.6.36-v4l-Replace-enums-with-fixed-sized-fields-in-public-.patch
+Patch494: linux-2.6.36-v4l-Rename-V4L2_MBUS_FMT_GREY8_1X8-to-V4L2_MBUS_FMT_.patch
+Patch495: linux-2.6.36-v4l-Group-media-bus-pixel-codes-by-types-and-sort-th.patch
+Patch496: linux-2.6.36-v4l-Add-8-bit-YUYV-on-16-bit-bus-and-SGRBG10-media-b.patch
+Patch497: linux-2.6.36-v4l-Add-remaining-RAW10-patterns-w-DPCM-pixel-code-v.patch
+Patch498: linux-2.6.36-v4l-Create-v4l2-subdev-file-handle-structure.patch
+Patch499: linux-2.6.36-v4l-subdev-Add-a-new-file-operations-class.patch
+Patch500: linux-2.6.36-v4l-v4l2_subdev-pad-level-operations.patch
+Patch501: linux-2.6.36-v4l-v4l2_subdev-userspace-format-API.patch
+Patch502: linux-2.6.36-v4l-v4l2_subdev-userspace-frame-interval-API.patch
+Patch503: linux-2.6.36-v4l-v4l2_subdev-userspace-crop-API.patch
+Patch504: linux-2.6.36-v4l-subdev-Generic-ioctl-support.patch
+Patch505: linux-2.6.36-v4l-Add-subdev-sensor-g_skip_frames-operation.patch
+Patch506: linux-2.6.36-v4l-Include-linux-videodev2.h-in-media-v4l2-ctrls.h.patch
+Patch507: linux-2.6.36-v4l-Fix-a-use-before-set-in-the-control-framework.patch
+
+# TI FM driver
+Patch508: linux-2.6.36-ti-st-fm-include-linux-videodev2-for-FM-receivers.patch
+Patch509: linux-2.6.36-ti-st-fm-docbook-update-control-xml-for-ti-fm-driver.patch
+Patch510: linux-2.6.36-ti-st-fm-drv-common-header-file.patch
+Patch511: linux-2.6.36-ti-st-fm-drv-v4l2-sources.patch
+Patch512: linux-2.6.36-ti-st-fm-drv-common-sources.patch
+Patch513: linux-2.6.36-ti-st-fm-drv-rx-sources.patch
+Patch514: linux-2.6.36-ti-st-fm-drv-tx-sources.patch
+Patch515: linux-2.6.36-ti-st-fm-kconfig-makefile.patch
+Patch516: linux-2.6.36-ti-st-fm-update-TODO-for-fm-v4l2.patch
+Patch517: linux-2.6.36-ti-st-fm-delete-traces.patch
+
+# SMIA++ 
+Patch518: linux-2.6.36-V4L-Create-control-class-for-sensor-mode.patch
+Patch519: linux-2.6.36-smiaregs-Generic-i2c-register-writing.patch
+Patch520: linux-2.6.36-smiapp-Add-driver.patch
+Patch521: linux-2.6.36-smiapp-Add-module-idents-for-et8en2-and-tcm8580md.patch
+Patch522: linux-2.6.36-smiapp-add-camera-module-major-version-number-to-sys.patch
+Patch523: linux-2.6.36-smiapp-Initialize-try-format-in-open.patch
+Patch524: linux-2.6.36-smiapp-Drop-V4L2-chip-idents.patch
+
+# Lens
+Patch525: linux-2.6.36-ad58xx-Add-driver.patch
+Patch526: linux-2.6.36-ad58xx-Drop-chip-ident-numbers.patch
+
+# LED Flash
+Patch527: linux-2.6.36-as3645a-Add-driver.patch
+Patch528: linux-2.6.36-as3645a-Drop-chip-ident-numbers.patch
+
+# DMA driver
+Patch529: linux-2.6.35-DMA-driver-Add-runtime-PM.patch
+Patch530: linux-2.6.36-DMA-Fix-terminate-issue.patch
+Patch531: linux-2.6.36-dma-fix-audio-failure-when-runtime-pm-enabled.patch
+Patch532: linux-2.6.36-dma-fix-runtime_pm.patch
+
+# Audio driver
+#linux-2.6.39-asoc-soc-core-move-card-cleanup-from-soc_remove.patch 
+#linux-2.6.39-asoc-soc-core-move-the-card-debugfs-init.patch 
+#linux-2.6.39-asoc-soc-core-add-inline-to-handle-card-list-init.patch
+#linux-2.6.39-asoc-soc-core-allow-machine-driver-to-register-the-card.patch 
+#linux-2.6.39-asoc-add-support-for-multiple-jack-types.patch
+
+#linux-2.6.39-ASoC-sst-v2-Add-sn95031-codec-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-mid-platform-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-medfield-machine-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-makefiles-and-kconfigs-changes.patch
+#linux-2.6.39-ASoC-sst-platform-fix-the-style-inconsistency.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-code-style-and-format-inconsist.patch
+#linux-2.6.39-ASoC-mid-x86-remove-the-flag-in-makefile.patch
+#linux-2.6.39-ASoC-sst_platform-created-helper-functions.patch
+#linux-2.6.39-ASoC-Add-dependency-on-INTEL_SCU_IPC-for-Intel-MID-d.patch
+#linux-2.6.39-ASoC-sn95031-add-capture-support.patch
+#linux-2.6.39-ASoC-sst_platform-add-support-for-capture-stream-on-.patch
+#linux-2.6.39-ASoC-mid-x86-Add-support-for-capture-in-machine-driv.patch
+#linux-2.6.39-ASoC-sst_platform-porting-sst-dsp-driver-interface-a.patch
+#linux-2.6.39-ASoC-mid-x86-Fix-dependency-on-intel_sst-driver.patch
+#linux-2.6.39-ASoC-sn95031-Add-jack-support-in-the-codec.patch
+#linux-2.6.39-ASoC-mfld_machine-Add-support-for-jack-detection.patch
+#linux-2.6.39-ASoC-sn95031-Add-support-for-reading-mic-bias.patch
+#linux-2.6.39-ASoC-mid-x86-Use-the-soc-jack-apis-for-jack-type-det.patch
+#linux-2.6.39-ASoC-sn95031-make-playback-rails-depend-on-actual-pi.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-DMIC-path-routing.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-amic-tlv-scale.patch
+#linux-2.6.39-ASoC-mfld_machine-make-use-of-soc_register_card-API.patch
+#linux-2.6.39-ASoC-sst_platform-fix-the-pulseaudio-error.patch
+
+Patch533: linux-2.6.36-Audio-Change-the-SST-driver-PCM-interface.patch
+Patch534: linux-2.6.36-Audio-Audio-driver-uses-reworked-PCM-interface.patch
+Patch535: linux-2.6.36-Audio-Add-SST-driver-runtime-PM-support.patch
+Patch536: linux-2.6.36-Audio-Construct-fw-string-name-runtime.patch
+Patch537: linux-2.6.36-Audio-Firmware-error-codes-force-number-values.patch
+Patch538: linux-2.6.36-Audio-log-error-retuened-by-scu-ipc-read-write.patch
+Patch539: linux-2.6.36-Audio-Fix-Moorestown-sound-card-bugs.patch
+Patch540: linux-2.6.36-Audio-disable-the-logs-by-default.patch
+Patch541: linux-2.6.36-sst-add-post-processing-algorithm-support.patch
+Patch542: linux-2.6.36-sst-fix-audio-power-optimzation-of-codec.patch
+Patch543: linux-2.6.36-sst-add-firmware-context-restore.patch
+Patch544: linux-2.6.36-sst-fix-driver-to-work-as-module.patch
+Patch545: linux-2.6.36-sst-make-ioctls-unlocked.patch
+Patch546: linux-2.6.36-sst-fix-handling-interrupt-for-shared-irq-when-suspended.patch
+Patch547: linux-2.6.36-sst-fix-dmic-capture-on-v2-pmic.patch
+Patch548: linux-2.6.36-sst-lineout-implementation.patch
+Patch549: linux-2.6.36-sst-new-ioctl-for-lpe-parameter-tuning.patch
+Patch550: linux-2.6.36-sst-multiple-dmic-selection.patch
+Patch551: linux-2.6.36-sst-fix-audio-capture-per-mixer-selection.patch
+Patch552: linux-2.6.36-sst-jack-code-moved-to-vendor-specific-files.patch
+Patch553: linux-2.6.36-sst-clean-up-jack-reporting-code.patch
+Patch554: linux-2.6.36-sst-jack-detection-for-msic.patch
+Patch555: linux-2.6.36-sst-american-headset-detection.patch
+Patch556: linux-2.6.36-sst-VAUD-Power-register-fix.patch
+Patch557: linux-2.6.36-sst-clock-ratio-change-for-lpe.patch
+Patch558: linux-2.6.36-sst-correct-file-header.patch
+Patch559: linux-2.6.36-sst-remove-compilation-warnings.patch
+
+#linux-2.6.36-ASoc-sst_platform-change-include-files-to-sound-dir.patch
+#linux-2.6.36-Remove-old-intelmid-driver-from-build.patch
+#linux-2.6.36-mrst.c-add-asoc-platfrom-devices-and-audio-resource.patch
+#linux-2.6.36-ASoC-mid-x86-fix-the-asoc-sound-card-list-initialzat.patch
+#linux-2.6.36-sst-fix-the-changes-required-for-asoc-driver-interfa.patch
+
+# HDMI audio
+Patch560: linux-2.6.36-hdmi-audio-display-driver-interfaces.patch
+Patch561: linux-2.6.36-hdmi-audio-iec958-interfaces.patch
+Patch562: linux-2.6.36-hdmi-audio-alsa-interfaces.patch
+Patch563: linux-2.6.36-hdmi-audio-hdmi-hw-interfaces.patch
+
+# I2S/ALSA/CMT-speech
+Patch564: linux-2.6.36-I2S-SSP-common-driver-for-Intel-MID-Platforms.patch
+Patch565: linux-2.6.36-CMT-speech-provides-support-for-send-receive-audio-s.patch
+Patch566: linux-2.6.36-ALSA-sound-card-for-TI-WL1273-Chip-BT-FM-WLAN.patch
+Patch567: linux-2.6.36-Remove-unnecessary-mutex-in-intel_mid_i2s.patch
+Patch568: linux-2.6.36-Call-the-DMA-Terminate-All-interface-when-closing-in.patch
+Patch569: linux-2.6.36-intel-mid-i2s-fix-handling-interrupt-for-shared-irq.patch
+Patch570: linux-2.6.36-intel-mid-i2s-improve-flush.patch
+Patch571: linux-2.6.36-intel-mid-i2s-set-ssp-in-suspend-state.patch
+Patch572: linux-2.6.36-intel-mid-i2s-fix-fabric-error.patch
+Patch573: linux-2.6.36-intel-mid-i2s-fix-non-handled-ssp-intr.patch
+Patch574: linux-2.6.36-intel-mid-i2s-fix-fabric-error-when-CONFIG_PM_SLEEP-enabled.patch
+Patch575: linux-2.6.36-intel-mid-i2s-remove-unneccessary-debug-messages.patch
+Patch576: linux-2.6.36-Modify-CMT-speech-folder-to-prepare-for-interface-mo.patch
+Patch577: linux-2.6.36-Modify-CMT-speech-to-enable-different-modem-interfac.patch
+Patch578: linux-2.6.36-cmt-speech-allow-buffer-bigger-than-required.patch
+Patch579: linux-2.6.36-intel-alsa-ssp-use-work-queue-to-start-the-playback.patch
+Patch580: linux-2.6.36-intel-alsa-ssp-fix-open-call-back.patch
+Patch581: linux-2.6.36-intel-alsa-ssp-fix-BT-capture-and-BT-playback.patch
+
+# USB controller
+Patch582: linux-2.6.37-usb-composite-gadget-set-vbus_draw-current-backport.patch
+Patch583: linux-2.6.36-usb-ehci-add-power-budget-limitation-for-penwell.patch
+Patch584: linux-2.6.36-usb-langwell_udc-set-vbus_active-flag-according-to.patch
+Patch585: linux-2.6.36-usb-penwell_otg-enable-PHY-low-power-mode.patch
+Patch586: linux-2.6.36-usb-langwell_udc-enable-PHY-low-power-mode-for-pen.patch
+Patch587: linux-2.6.36-usb-langwell_udc-cancel-pending-requests-when-cont.patch
+Patch588: linux-2.6.36-usb-langwell_udc-fix-big-file-transfer-issue.patch
+Patch589: linux-2.6.36-usb-langwell_udc-add-HighSpeed-FullSpeed-events-no.patch
+Patch590: linux-2.6.36-usb-penwell_otg-add-USB-charger-detection.patch
+Patch591: linux-2.6.36-usb-penwell_otg-add-charging-current-negotiation-a.patch
+Patch592: linux-2.6.36-usb-penwell_otg-put-PHY-back-to-normal-mode-before.patch
+Patch593: linux-2.6.36-usb-penwell_otg-add-runtime-pm-support.patch
+Patch594: linux-2.6.36-usb-ehci-langwell-pci-add-transceiver-driver-inter.patch
+Patch595: linux-2.6.36-usb-core-add-runtime-pm-support-for-Intel-Medfield.patch
+Patch596: linux-2.6.36-usb-langwell_udc-add-runtime-pm-support-for-otg.patch
+Patch597: linux-2.6.36-usb-langwell_udc-add-runtime-pm-support.patch
+Patch598: linux-2.6.36-usb-intel-mid-otg-fix-compilaton-error-when-config-pm-off.patch
+Patch599: linux-2.6.37-usb-add-test-mode-support-for-langwell-gadget.patch
+Patch600: linux-2.6.36-usb-penwell-otg-fix-usb-interrupt-issue.patch
+Patch601: linux-2.6.36-usb-penwell-otg-add-aca-device-support.patch
+Patch602: linux-2.6.36-usb-penwell-otg-add-srp-support.patch
+Patch603: linux-2.6.36-usb-gadget-add-host-request-flag-for-hnp-polling.patch
+Patch604: linux-2.6.36-usb-langwell-udc-add-hnp-polling-support.patch
+Patch605: linux-2.6.36-usb-penwell-otg-add-hnp-polling-support.patch
+Patch606: linux-2.6.36-usb-penwell-otg-add-hnp-polling.patch
+Patch607: linux-2.6.36-usb-langwell-udc-fix-max-packet-size-for-iso-transfer.patch
+Patch608: linux-2.6.36-usb-penwell-otg-add-current_event-in-charing-cap-query-func.patch
+
+# these usb patches are not healthy enough. it's a short-live patchset 
+# temporarily needed to enable runtime_pm use-cases 
+Patch609: linux-2.6.36-usb-langwell-udc-add-rumtine_pm-support-in-probe-function.patch
+Patch610: linux-2.6.36-usb-langwell_udc-HACK-disable-bus-syspend-detection.patch
+Patch611: linux-2.6.36-usb-hcd-pci-remove-duplicate-code.patch
+Patch612: linux-2.6.36-usb-ehci-langwell-pci-ignore-event-on-external-hub.patch
+Patch613: linux-2.6.36-usb-penwell_otg-reduce-wakeups.patch
+Patch614: linux-2.6.36-usb-penwell_otg-add-phy-config.patch
+Patch615: linux-2.6.36-usb-penwell_otg-update-otg-state-machine-for-runtime_pm.patch
+Patch616: linux-2.6.36-usb-penwell_otg-HACK-resume-controller-before-reg-access.patch
+Patch617: linux-2.6.36-usb-penwell_otg-HACK-keep-runtime-active-when-micro-a-device-inserted.patch
+Patch618: linux-2.6.36-usb-penwell_otg-HACK-fix-missing-intr.patch
+Patch619: linux-2.6.36-usb-penwell_otg-HACK-disable-aca-detection.patch
+Patch620: linux-2.6.36-usb-runtime_pm-mode-change-in-gadget-unregister-ops.patch
+Patch621: linux-2.6.36-usb-penwell_otg-fix-bug-when-user-set-a_bus_drop.patch
+Patch622: linux-2.6.36-usb-ehci-hub-clear-phcd-before-resuming.patch
+
+# i2c-designware
+Patch623: linux-2.6.37-i2c-designware-Add-designware-PCI-config-option.patch
+Patch624: linux-2.6.37-i2c-designware-Initial-split-of-i2c-designware.c-int.patch
+Patch625: linux-2.6.37-i2c-designware-retrieve-clock-frequency-based-CONFIG.patch
+Patch626: linux-2.6.37-i2c-designware-Add-support-for-Designware-core-behin.patch
+Patch627: linux-2.6.37-i2c-designware-move-i2c-functionality-bit-field-to-b.patch
+Patch628: linux-2.6.37-i2c-designware-move-controller-config-to-bus-specifi.patch
+Patch629: linux-2.6.37-i2c-designware-Allow-mixed-endianness-accesses.patch
+Patch630: linux-2.6.37-i2c-designware-pci-Add-runtime-power-management-supp.patch
+Patch631: linux-2.6.37-i2c-designware-Support-multiple-cores-using-same-ISR.patch
+Patch632: linux-2.6.37-i2c-designware-fix-runtime-pm.patch
+Patch633: linux-2.6.37-i2c-designware-fix-the-clock-settings.patch
+
+# i2c-mrst - deprecated - to be deleted soon
+Patch634: linux-2.6.35-mrst-i2c-power-fix.patch
+Patch635: linux-2.6.36-i2c-frequency-fix.patch
+Patch636: linux-2.6.36-i2c-interrupt-clear.patch
+Patch637: linux-2.6.36-i2c-interrupt-sharing.patch
+Patch638: linux-2.6.36-i2c-keypatch.patch
+Patch639: linux-2.6.36-i2c-power.patch
+Patch640: linux-2.6.36-i2c-detect-fix.patch
+Patch641: linux-2.6.36-i2c-mrst-enhance-error-msg.patch
+Patch642: linux-2.6.36-i2c-mrst-fixing-xfer-timeout.patch
+Patch643: linux-2.6.36-i2c-mrst-add-delay-suspend-support.patch
+Patch644: linux-2.6.36-i2c-mrst-enhance-i2c-to-support-fifo-entries.patch
+Patch645: linux-2.6.36-i2c-mrst-support-32-bytes-i2c-fifo-size.patch
+Patch646: linux-2.6.36-i2c-mrst-workaround-for-hw-limitation.patch
+Patch647: linux-2.6.36-i2c-mrst-fix-i2c-receive-bug.patch
+
+# SPI controller
+Patch648: linux-2.6.36-PM-support-for-SSP-SPI-master-controller-driver.patch
+Patch649: linux-2.6.36-SSP-SPI-spi-config-space-patch.patch
+Patch650: linux-2.6.36-Enable-testhooks-in-standard-build.patch
+Patch651: linux-2.6.36-Bugfix-for-how-the-SSP-clock-divisor-is-configured.patch
+
+# Modem related patches
+Patch652: linux-2.6.35-mux-oops.patch
+Patch653: linux-2.6.35-mux-define.patch
+Patch654: linux-2.6.35-mux-12-channels.patch
+
+Patch655: linux-2.6.36-ifx_spi-Silent-reset-patch.patch
+Patch656: linux-2.6.36-Removed-unneeded-ioctls.patch
+Patch657: linux-2.6.36-ifx_spi-correct-IRQ-free-on-unload.patch
+Patch658: linux-2.6.36-ifx_spi-Replace-use-of-mdelay-to-msleep-during-prob.patch
+Patch659: linux-2.6.36-ifx_spi-Changes-to-support-multiple-modems.patch
+Patch660: linux-2.6.36-Exposed-testmode-module-parameters-by-default.patch
+Patch661: linux-2.6.36-ifx_spi-Reset-MRDY-after-SPI-timeout-and-last-close.patch
+Patch662: linux-2.6.36-ifx_spi-Initialize-reset-po-gpios-to-0-instead-of-1.patch
+Patch663: linux-2.6.36-ifx_spi-Begin-to-tidy-up-for-upstream-submission.patch
+Patch664: linux-2.6.36-ifx-Tidy-up-the-documentation-side.patch
+Patch665: linux-2.6.36-ifx_spi-Fix-ioctl-cast.patch
+Patch666: linux-2.6.36-Add-static-to-lots-of-functions.patch
+Patch667: linux-2.6.36-ifx-rename.patch
+
+Patch668: linux-2.6.36-spi-ifx6x60-use-id-table-method-to-register-modems.patch
+Patch669: linux-2.6.36-spi-ifx6x60-add-ioctl-to-perform-modem-reset.patch
+Patch670: linux-2.6.36-spi-ifx6x60-fix-mrdy-set-high-low-parameters.patch
+Patch671: linux-2.6.36-spi-ifx6x60-replace-some-defines-with-enums.patch
+Patch672: linux-2.6.36-spi-ifx6x60-make-module-parameters-writeable.patch
+Patch673: linux-2.6.36-spi-ifx6x60-remove-runtime-pm-methods-and-init.patch
+Patch674: linux-2.6.36-spi-ifx6x60-ensure-runtime-pm-called-in-case-timeout.patch
+Patch675: linux-2.6.36-spi-ifx6x60-change-runtime-pm-func-calls.patch
+Patch676: linux-2.6.36-spi-ifx6x60-only-retry-trans-if-spi-async-ret-err.patch
+Patch677: linux-2.6.36-spi-ifx6x60-add-io-retry-delay-timer-if-controller-busy.patch
+Patch678: linux-2.6.36-spi-ifx6x60-increase-max-freq-to-16.67mhz.patch
+Patch679: linux-2.6.36-spi-ifx6x60-move-device-free-to-remove-routine.patch
+Patch680: linux-2.6.36-spi-ifx6x60-back-to-back-transfer-support.patch
+Patch681: linux-2.6.36-spi-ifx6x60-add-blank-modem-support.patch
+Patch682: linux-2.6.36-serial-ifx6x60-new-ioctls-to-get-set-spi-msg-length.patch
+Patch683: linux-2.6.36-serial-ifx6x60-kmalloc-strength-reduction.patch
+Patch684: linux-2.6.36-serial-ifx6x60-improve-error-handling-in-probe-routine.patch
+Patch685: linux-2.6.36-serial-ifx6x60-eliminate-use-of-virt_to_phys.patch
+Patch686: linux-2.6.36-serial-ifx6x60-clear-spi-drvdata-on-device-remove.patch
+Patch687: linux-2.6.36-serial-ifx6x60-remove-dead-open-state-code.patch
+Patch688: linux-2.6.36-serial-ifx6x60-remove-unneeded-work-queue-task.patch
+Patch689: linux-2.6.36-serial-ifx6x60-remove-unneeded-init_termios-code.patch
+Patch690: linux-2.6.36-serial-ifx6x60-code-refactoring.patch
+Patch691: linux-2.6.36-serial-ifx6x60-remove-unneeded-port_get-call.patch
+Patch692: linux-2.6.36-serial-ifx6x60-remove-single-device-restriction.patch
+Patch693: linux-2.6.36-serial-ifx6x60-free-irq-on-error.patch
+Patch694: linux-2.6.36-serial-ifx6x60-fix-memory-leak.patch
+Patch695: linux-2.6.36-serial-ifx6x60-set-rts-bit-in-outbound-spi-msg.patch
+Patch696: linux-2.6.36-serial-ifx6x60-add-clarifying-comments.patch
+Patch697: linux-2.6.36-serial-ifx6x60-increase-max-spi-freq-to-25mhz.patch
+Patch698: linux-2.6.36-serial-ifx6x60-fix-use-of-low_latency.patch
+Patch699: linux-2.6.36-serial-ifx6x60-fix-pm-activity-bug.patch
+
+Patch700: linux-2.6.36-spi-pw-spi-clear-msg-ptr-at-end-of-spi-transaction.patch
+Patch701: linux-2.6.36-spi-pw-spi-change-runtime-pm-initialization.patch
+Patch702: linux-2.6.36-spi-pw-spi-runtime-pm-replace-pci-prepare-to-sleep.patch
+Patch703: linux-2.6.36-spi-pw-spi-fix-compilation-warnings.patch
+Patch704: linux-2.6.36-spi-pw-spi-add-runtime-idle-routine-for-runtime-pm.patch
+Patch705: linux-2.6.36-spi-pw-spi-return-retryable-error-during-runtime-resume.patch
+Patch706: linux-2.6.36-spi-pw_spi-fix-corruption-of-device-state.patch
+Patch707: linux-2.6.36-spi-pw_spi-fix-bug-changing-bits_per_word.patch
+Patch708: linux-2.6.36-spi-pw_spi-fix-dma-unmap-problem.patch
+Patch709: linux-2.6.36-spi-pw_spi-correct-length-boundaries.patch
+Patch710: linux-2.6.36-spi-pw_spi-use-likely-unlikely-in-dma_transfer-patch.patch
+Patch711: linux-2.6.36-spi-pw_spi-release-dma-channels-when-not-active.patch
+Patch712: linux-2.6.36-spi-pw_spi-add-work_queue-for-pm_runtime-resume-work.patch
+
+Patch713: linux-2.6.36-remove-old-intel_mid_ssp_spi_driver.patch
+Patch714: linux-2.6.36-spi-rename-pw_spi3-to-intel_mid_ssp_spi.patch
+Patch715: linux-2.6.36-intel_mid_ssp_spi-add-missing-iounmap-call.patch
+Patch716: linux-2.6.36-spi-intel_mid_ssp_spi-release-dma-channels-on-d0i3-entry.patch
+
+Patch717: linux-2.6.36-27.010-mux-driver-code-cleanup.patch
+Patch718: linux-2.6.36-Bug-fixes-for-the-27.010-mux-driver.patch
+Patch719: linux-2.6.36-n-gsm-copy-mtu.patch 
+Patch720: linux-2.6.36-n-gsm-fix-message-length-handling.patch
+Patch721: linux-2.6.36-n-gsm-add-null-check-for-data-alloc-pointer.patch 
+Patch722: linux-2.6.36-n_gsm-add-raw-ip-support.patch
+Patch723: linux-2.6.36-n_gsm-generate-gsmtty-device-nodes.patch
+Patch724: linux-2.6.36-n_gsm-ioctl-for-network-setup.patch
+Patch725: linux-2.6.36-n_gsm-fix-max-mtu-size-issue.patch
+Patch726: linux-2.6.36-n_gsm-allow-interface-name-settings.patch
+Patch727: linux-2.6.36-n_gsm-fix-tx_bytes-not-being-updated-properly.patch
+Patch728: linux-2.6.36-n_gsm-fix-kernel-crash-on-mux-deactivate.patch
+Patch729: linux-2.6.36-n_gsm-prevent-possible-crash.patch 
+Patch730: linux-2.6.36-n_gsm-add-lock-to-create-destroy-ioctls.patch
+
+# HSI
+Patch731: linux-2.6.36-mrst.c-hsi-add-sfi-dev.patch
+Patch732: linux-2.6.36-hsi-platform-data-structures-to-hsi-system.patch
+Patch733: linux-2.6.36-mrst.c-hsi-add-platform-data.patch
+
+# watchdog
+Patch734: linux-2.6.36-watchdog-fix-system-hang-issue-when-dmse-enabled.patch
+
+# PTI / debug port related patches
+Patch735: linux-2.6.35-remove-pti-driver.patch
+Patch736: linux-2.6.37-ac-pti-backport-2010-12-15.patch
+Patch737: linux-2.6.36-pti-fix-interleaving-calls.patch
+Patch738: linux-2.6.36-pti-move-console-from-boot-console-to-normal-console.patch
+Patch739: linux-2.6.36-pti-linux-kernel-documentation-for-pti-subsys.patch
+Patch740: linux-2.6.36-pti-sparse-cleanup-for-linux-upstream.patch
+
+# tracerouter & tracesink
+Patch741: linux-2.6.35-remove-ptirouter.patch
+Patch742: linux-2.6.37-ac-tracesink-backport-2010-12-15.patch
+Patch743: linux-2.6.36-n_tracesink-sparse-cleanup.patch
+Patch744: linux-2.6.37-ac-tracerouter-backport-2010-12-15.patch
+Patch745: linux-2.6.36-n_tracerouter-sparse-cleanup.patch
+
+# Touch screen patches
+Patch746: linux-2.6.36-input-evdev-increase-input-event-circular-buffer-size.patch
+Patch747: linux-2.6.35-fix-build-for-cy8ctmg110-driver.patch
+Patch748: linux-2.6.36-cptm-avoid-null-pointer-deref.patch
+Patch749: linux-2.6.36-cptm-sync-on-finger-lift.patch
+Patch750: linux-2.6.36-cptm-uninitialized-var.patch
+
+Patch751: linux-2.6.36-atmel-touch-backport.patch
+Patch752: linux-2.6.36-atmel-use-factory-settings.patch
+Patch753: linux-2.6.36-atmel-mrst-integration.patch
+Patch754: linux-2.6.36-atmel-2.patch
+Patch755: linux-2.6.36-atmel-3.patch
+Patch756: linux-2.6.36-atmel-multitouch.patch
+Patch757: linux-2.6.36-atmel-fix-multitouch-event-issue.patch
+Patch758: linux-2.6.36-mrst.c-set-default-ts-orientation.patch
+Patch759: linux-2.6.36-atmel-set-default-ts-orientation.patch
+Patch760: linux-2.6.36-atmel-fix-name-defines.patch
+Patch761: linux-2.6.36-atmel-fix-extra-finger-up-down-events.patch
+
+Patch762: linux-2.6.36-cyttsp-add-sTMA3406.patch
+Patch763: linux-2.6.36-cyttsp-mrst-c.patch
+Patch764: linux-2.6.36-cyttsp-low-power-mode.patch
+Patch765: linux-2.6.36-cyttsp-fix-read-retry-issue.patch
+Patch766: linux-2.6.36-cyttsp-correct-platform_data.patch
+Patch767: linux-2.6.36-cyttsp-enable-multitouch-support.patch
+Patch768: linux-2.6.36-cyttsp-remove-tracking-id.patch
+
+# keypad
+Patch769: linux-2.6.36-keypad-tc35894xbg-fix-keypad-poll-rate.patch
+
+# Various sensors connected to i2c
+Patch770: linux-2.6.35-lednames.patch
+Patch771: linux-2.6.36-mfd-led-flash.patch
+Patch772: linux-2.6.35-apds9802als-fix-als-sensing-range-value.patch
+Patch773: linux-2.6.36-apds9802als-runtime-pm.patch
+Patch774: linux-2.6.36-apds9802als-fix-runtime-pm.patch
+Patch775: linux-2.6.36-ak8974-add-runtime-pm.patch
+Patch776: linux-2.6.36-ak8974-optimize-i2c-transaction.patch
+Patch777: linux-2.6.36-ak8974-add-selftest-support.patch
+Patch778: linux-2.6.36-apds9802ps-fix-runtime-pm.patch
+Patch779: linux-2.6.36-hwmon-device-driver-for-ak8975-eCompass.patch
+Patch780: linux-2.6.36-ak8975-improve-error-handling.patch
+
+Patch781: linux-2.6.37-APDS990X-upstream.patch
+Patch782: linux-2.6.37-APDS990X-backport.patch
+Patch783: linux-2.6.37-APDS990X-driver-name.patch
+Patch784: linux-2.6.37-APDS990X-resource-setup.patch
+Patch785: linux-2.6.37-APDS990X-mrst-c-part.patch
+Patch786: linux-2.6.37-apds990x-workaround-for-CONFIG_REGULATOR_DUMMY-being-off.patch
+Patch787: linux-2.6.37-apds990x-mrst.c-workaround-for-CONFIG_REGULATOR_DUMMY-being-off.patch
+
+# GPS & NFC drivers
+Patch788: linux-2.6.36-broadcom-gps.patch
+Patch789: linux-2.6.36-nfc-NXP-PN544.patch
+
+Patch790: linux-2.6.35-lis-pm-init-fix.patch
+Patch791: linux-2.6.36-lis-single-click.patch
+Patch792: linux-2.6.36-lis3-6d-support.patch
+Patch793: linux-2.6.36-lis3-add-selftest-to-16bit-lis3dh-accelerometer.patch
+
+# Various devices connected to SPI
+Patch794: linux-2.6.35-mrst_max3110-Make-the-IRQ-option-runtime.patch
+Patch795: linux-2.6.35-mrst-max3110-HACK-adaptive-polling-control.patch
+
+# wifi/bluetooth connectivity
+Patch796: linux-2.6.36-wl1271-add-platform_data.patch
+Patch797: linux-2.6.36-mrst.c-add-platform-support-for-wl12xx.patch
+Patch798: linux-2.6.36-mrst.c-Add-btfm_init-to-enable-bluetooth.patch
+Patch799: linux-2.6.36-Section-mismatch-warning-from-mrst.c.patch
+
+# battery driver
+Patch800: linux-2.6.36-intel_mid-Intel-MSIC-battery-driver.patch
+Patch801: linux-2.6.36-intel_mid-Medfield-battery-driver-tidy-up.patch
+Patch802: linux-2.6.36-Register-Initialization-and-conversion-of-coulombs-t.patch
+Patch803: linux-2.6.36-Added-support-for-Emergency-call-Charging.patch
+Patch804: linux-2.6.36-Added-Support-for-status-monitoring.patch
+Patch805: linux-2.6.36-Added-Support-for-Fuel-Gauging.patch
+Patch806: linux-2.6.36-Added-Support-for-SW-Charge-Termination.patch
+Patch807: linux-2.6.36-battery-emergency-call-charging-fix.patch
+Patch808: linux-2.6.36-battery-add-charger-type-support.patch
+Patch809: linux-2.6.36-battery-clean-nested-locking.patch
+Patch810: linux-2.6.36-battery-code-cleanup-and-format-fixes.patch
+Patch811: linux-2.6.36-battery-add-support-for-weak-vim.patch
+Patch812: linux-2.6.36-battery-remove-charge-type-property-from-usb-charger.patch
+Patch813: linux-2.6.36-battery-charge-full-design-attribute.patch
+Patch814: linux-2.6.36-battery-charger-enable-or-disable-from-user-space.patch
+Patch815: linux-2.6.36-battery-modify-discharge-curve-lookup-function.patch
+Patch816: linux-2.6.36-battery-update-disconnect-status-function.patch
+Patch817: linux-2.6.36-battery-cleanup-charge-cycle-counting-function.patch
+Patch818: linux-2.6.36-battery-adaptive-monitoring-support.patch
+Patch819: linux-2.6.36-battery-fix-adc-init-issue.patch
+Patch820: linux-2.6.36-battery-charger-led-disable-fix.patch
+Patch821: linux-2.6.36-battery-charger-disable-fix.patch
+Patch822: linux-2.6.36-battery-add-delayed-work-to-handle-otg-event.patch
+Patch823: linux-2.6.36-battery-change-event_lock-from-spinlock-to-mutex.patch
+Patch824: linux-2.6.36-battery-fix-KFIFO_FULL-message-on-USB-cable-insertion.patch
+#linux-2.6.36-battery-mask-battery-detect-intr.patch
+#linux-2.6.36-battery-sysfs-temperature.patch
+#linux-2.6.36-battery-fix-emergency-charging.patch
+#linux-2.6.36-battery-enable-charger-low-power-mode.patch
+#linux-2.6.36-battery-fix-sysfs-charger-interface.patch
+#linux-2.6.36-battery-update-discharge-curve-table.patch
+
+# other drivers
+Patch825: linux-2.6.35-keycodes-fixup.patch
+Patch826: linux-2.6.35-backlight-fixup.patch 
+
+# Rar register driver - backported from linux-next 2.6.37 kernel
+Patch827: linux-2.6.37-rar-register-backport.patch
+
+# Chaabi SEP driver - backported from linux-next 2.6.37 kernel
+Patch828: linux-2.6.35-Staging-sep-removing-sep-driver.patch
+Patch829: linux-2.6.37-Staging-sep-driver-backport.patch
+Patch830: linux-2.6.37-Staging-sep-minimal-fix-for-wrong-include.patch
+Patch831: linux-2.6.37-Staging-sep-handle-rar-definition.patch
+Patch832: linux-2.6.37-Staging-sep-handle-memrar-stuff-in-the-headers.patch
+Patch833: linux-2.6.37-Staging-sep-netlink-what-netlink.patch
+Patch834: linux-2.6.37-Staging-sep-clean-up-caller_id-function.patch
+Patch835: linux-2.6.37-Staging-sep-Fix-the-kernel-doc-in-SEP.patch
+Patch836: linux-2.6.37-Staging-sep-clean-up-some-of-the-obvious-sillies.patch
+Patch837: linux-2.6.37-Staging-sep-Use-kzalloc-when-needed.patch
+Patch838: linux-2.6.37-Staging-sep-Make-SEP-consistent.patch
+Patch839: linux-2.6.37-Staging-sep-cant-is-an-angular-inclination.patch
+Patch840: linux-2.6.37-Staging-sep-clean-up-a-couple-of-spots-missed-in-pas.patch
+Patch841: linux-2.6.37-Staging-sep-Fix-crash-if-a-device-is-not-found.patch
+Patch842: linux-2.6.37-Staging-sep-do-not-select-the-driver-by-default.patch
+Patch843: linux-2.6.37-staging-sep-Fix-sparse-warning-do-while-statement-is.patch
+Patch844: linux-2.6.37-staging-sep-Fix-sparse-warning-Using-plain-integer-a.patch
+Patch845: linux-2.6.37-staging-sep-Fix-printk-format-warning.patch
+Patch846: linux-2.6.37-Staging-sep-remove-virtual-address-being-passed-to-u.patch
+Patch847: linux-2.6.37-Staging-sep-remove-spaces-at-end-of-lines.patch
+Patch848: linux-2.6.37-Staging-sep-sram_addr-is-32-bit-this-is-not-a-kernel.patch
+Patch849: linux-2.6.37-Staging-sep-clean-up-error-checking-in-probe-functio.patch
+Patch850: linux-2.6.37-Staging-sep-initialize-driver-copy-of-send-and-recei.patch
+Patch851: linux-2.6.37-Staging-sep-remove-code-for-Moorestown-device.patch
+Patch852: linux-2.6.37-Staging-sep-remove-completed-items-in-TODO.patch
+Patch853: linux-2.6.37-Staging-sep-limit-time-to-wait-for-reconfig-shared-a.patch
+Patch854: linux-2.6.37-Staging-sep-reduce-64-and-32-bit-compile-warnings.patch
+Patch855: linux-2.6.37-Staging-sep-ensure-that-caller-id-buffer-is-little-e.patch
+Patch856: linux-2.6.37-Staging-sep-eliminate-kernel-crash-due-to-null-param.patch
+Patch857: linux-2.6.37-Staging-sep-fix-comments-in-sep_get_static_pool_addr.patch
+Patch858: linux-2.6.37-Staging-sep-update-driver-for-CC-5.2-version-3.4.5.patch
+Patch859: linux-2.6.37-Staging-sep-rename-sep-driver.c-to-sep-main.c.patch
+Patch860: linux-2.6.37-Staging-sep-update-Makefile-and-Kconfig.patch
+Patch861: linux-2.6.37-Staging-sep-add-sep_crypto-resources.patch
+Patch862: linux-2.6.37-Staging-sep-update-headers.patch
+Patch863: linux-2.6.37-Staging-sep-sep-main.c-updates.patch
+
+# over current detection driver
+Patch864: linux-2.6.36-over-current-detection.patch
+Patch865: linux-2.6.36-over-current-detection-mrst.c.patch
+Patch866: linux-2.6.36-over-current-detection-fix-bcu-status-input.patch
+
+# Medfield thermal driver
+Patch867: linux-2.6.36-hwmon-thermal-adding-dts-support.patch
+Patch868: linux-2.6.36-Medfield_Thermal_Driver_Rework.patch
+Patch869: linux-2.6.36-thermal-enhance-adc-to-temperature-conversion.patch
+Patch870: linux-2.6.36-thermal-sys-added-generic-originators.patch
+Patch871: linux-2.6.36-hwmon-coretemp-thermal-event-notification-support.patch
+
+# Power Button driver
+Patch872: linux-2.6.36-powerbutton-add-power-button-driver.patch
+Patch873: linux-2.6.36-powerbutton-mrst.c-implement-power-off-and-reboot.patch
+
+# gyroscope
+Patch874: linux-2.6.36-l3g4200-gyroscope-driver.patch
+Patch875: linux-2.6.36-l3g4200-mrst.c-gyroscope.patch
+Patch876: linux-2.6.36-l3g4200-gyroscope-regulator-workaround.patch
+
+# compat-wireless-2011-01-30
+Patch877: linux-2.6.36-fastforward-compat-to-lucas-tree-Thu-Jan-13-commit-a.patch
+Patch878: linux-2.6.36-wl12xx-mcp2.5-add-config_ps-acx.patch
+Patch879: linux-2.6.36-wl12xx-move-to-new-firmware-mcp-2.5.patch
+Patch880: linux-2.6.36-wl12xx-use-the-conf-struct-instead-of-macros-for-mem.patch
+Patch881: linux-2.6.36-wl12xx-add-a-few-debug-prints.patch
+Patch882: linux-2.6.36-wl12xx-move-IRQ-polarity-setting-after-FW-download.patch
+Patch883: linux-2.6.36-wl12xx-1281-1283-chip-support-Add-Definitions.patch
+Patch884: linux-2.6.36-wl12xx-1281-1283-chip-support-acx-commands.patch
+Patch885: linux-2.6.36-wl12xx-1281-1283-chip-support-ini-radio-structures.patch
+Patch886: linux-2.6.36-wl12xx-1281-1283-chip-support-functionality.patch
+Patch887: linux-2.6.36-wl12xx-BA-initiator-support.patch
+Patch888: linux-2.6.36-wl12xx-BA-receiver-support.patch
+Patch889: linux-2.6.36-wl12xx-config-makefile-compat-adaptation.patch
+Patch890: linux-2.6.36-wl12xx-Load-firmware-and-nvs-file-for-1273-or-1283.patch
+Patch891: linux-2.6.36-wl12xx-Add-channel-14-to-list-of-supported-2ghz-channels.patch
+
+#
+# End of the Moorestown and Medfield architecture patches
+#
+#####################################################################
+
+
+
+
+#####################################################################
+#
+# Nokia N900 patches
+# Section maintainer: Ameya Palande <ameya.palande at nokia.com>
+#
+
+# Hacks
+#linux-2.6-Hacks-for-Nokia-N900.patch
+# Touch screen
+#linux-2.6.36-Introduce-and-enable-tsc2005-driver.patch
+# GPU
+#linux-2.6-SGX-PVR-driver-for-N900.patch
+# Bluetooth
+#linux-2.6-Bluetooth-Support-for-n900-bluetooth-hardware.patch
+# TWL4030 MADC (Battery Charging)
+#linux-2.6-mfd-twl4030-Driver-for-twl4030-madc-module.patch
+#linux-2.6-mfd-implement-twl4030-poweroff.patch
+#linux-2.6-HACK-mfd-twl4030-power-disable-scripts.patch
+# Ambient light sensor
+#linux-2.6.36-omap-rx51-Platform-support-for-tsl2563-ALS.patch
+# Accelerometer
+#linux-2.6.36-omap-rx51-Platform-support-for-lis3lv02d-acceleromet.patch
+# Fixes
+#linux-2.6.36-wl1251-Use-MODULE_ALIAS-macro-at-correct-postion-for.patch
+# Cellular modem support
+# Introduce EEM support in g_nokia which should fix usb networking
+Patch900: linux-2.6.37-EEM-support-for-g_nokia.patch
+
+Patch901: linux-2.6-n900-modem-support.patch
+
+# omap3isp-rx51 driver
+# TI dspbridge driver
+#linux-2.6.36-tidspbridge.patch
+# lp5523 platform data for rx51 board
+# usb charger platform device support
+# isp1704 usb charger detection driver
+Patch902: linux-2.6.37-power_supply-add-isp1704-charger-detection-driver.patch
+Patch903: linux-2.6.37-power_supply-add-types-for-USB-chargers.patch
+Patch904: linux-2.6-usb-musb-ignore-spurious-SESSREQ-interrupts.patch
+
+#Bugfixes
+#linux-2.6.37-N900-Set-keypad-slide-gpio-as-active-low.patch
+
+Patch905: linux-2.6.36-Adding-CS_FEAT_BURST_MODE-for-cmt_speech-driver.patch
+Patch906: linux-2.6.36-cmt-speech-add-ul-timer.patch
+
+#
+# End of the Nokia N900 patches
+#
+#####################################################################
+
+
+
+
+#####################################################################
+#
+# Netbook hardware patches
+# Section maintainer: Yong Wang <yong.y.wang at intel.com> 
+#
+
+#
+# Quiet down some printks that shows up falsly during boot
+#
+#linux-2.6.29-silence-acer-message.patch
+# spurious debug spew
+#linux-2.6.34-rt2860-no-debug.patch
+# Fix 2 bugs in the rt2860 driver
+#linux-2.6.33-rt2860-1-2.patch
+#linux-2.6.33-rt2860-2-2.patch
+
+
+#
+# End of the Netbook hardware patches
+#
+#####################################################################
+
+
+#####################################################################
+#
+# IVI hardware patches
+# Section maintainer: Yin Kangkai <kangkai.yin at intel.com>
+#
+
+#linux-2.6.36-ivi-workaround-touchscreen-bugs.patch
+#linux-2.6.36-mfd-platform-null.patch
+
+
+#
+# End of the IVI hardware patches
+#
+#####################################################################
+
+
+#####################################################################
+#
+# Intel Integrated Graphics patches
+# Section maintainer:  Li Peng <peng.li at intel.com>
+#
+
+#
+# KMS (note: upstream backports go in the backport section higher up!)
+#
+#linux-2.6.29-kms-edid-cache.patch
+#linux-2.6.29-kms-run-async.patch
+#linux-2.6.29-kms-after-sata.patch
+
+
+#
+# End of the Intel Integrated Graphics patches
+#
+#####################################################################
+
+
+
+#####################################################################
+#
+# Boot time and power patches
+# Section maintainer:  Arjan van de Ven <arjan at linux.intel.com
+#
+
+#
+# Patch to try mounting / before all devices (the mouse)
+# are done probing. This saves several seconds of boot time.
+#
+Patch1300: linux-2.6.29-dont-wait-for-mouse.patch
+#
+# Patch to support the old sreadahead versions
+#
+Patch1301: linux-2.6.29-sreadahead.patch
+
+#
+# USB Selective Suspend patches
+#
+Patch1302: linux-2.6-usb-uvc-autosuspend.patch
+Patch1303: linux-2.6-usb-bt-autosuspend.patch
+
+#
+# Patches to help PowerTOP
+#
+Patch1304: linux-2.6.33-vfs-tracepoints.patch
+Patch1305: linux-2.6.33-ahci-alpm-accounting.patch
+Patch1306: linux-2.6.36-powertop-timer-tracing.patch
+
+#
+# Fix the slab timer to not be a power hog
+#
+Patch1307: linux-2.6.35-slab-timer.patch
+
+#
+# Fix Linux deliberately skewing the timer for 
+# historic reasons that are no longer true.
+#
+Patch1308: linux-2.6.35-dont-skew-the-tick.patch
+
+#
+# End of the boot time and power patches
+#
+#####################################################################
+
+
+
+#####################################################################
+#
+# All other patches
+# 
+
+
+
+# Multitouch input driver for event devices
+#linux-2.6.34-multi-touch-input-driver-for-event-devices.patch
+
+# Enable stantum and cando drivers to use mtdev driver
+#linux-2.6.34-enable-hid-dg-contact-count-stantum-and-cando-touch-drivers.patch
+
+# turn on "print fatal signals" by default, so that we can debug /sbin/init
+# crashes
+Patch1309: linux-2.6.35-fatal-signals.patch
+
+
+
+
+BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
+
+#
+# This macro creates a kernel-<subpackage>-devel package.
+#	%%kernel_devel_package <subpackage> <pretty-name>
+#
+%define kernel_devel_package() \
+%package -n kernel-%{?1:%{1}-}devel\
+Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
+Group: System/Kernel\
+Provides: kernel%{?1:-%{1}}-devel = %{version}-%{release}\
+Provides: kernel-devel = %{version}-%{release}%{?1:-%{1}}\
+Provides: kernel-devel = %{version}-%{release}%{?1:-%{1}}\
+Provides: kernel-devel-uname-r = %{KVERREL}%{?1:-%{1}}\
+Requires: kernel%{?1:-%{1}} = %{version}-%{release}\
+Requires: hardlink \
+AutoReqProv: no\
+Requires(pre): /usr/bin/find\
+%description -n kernel%{?1:-%{1}}-devel\
+This package provides kernel headers and makefiles sufficient to build modules\
+against the %{?2:%{2} }kernel package.\
+%{nil}
+
+#
+# This macro creates a kernel-<subpackage> and its -devel too.
+#	%%define variant_summary The Linux kernel compiled for <configuration>
+#	%%kernel_variant_package [-n <pretty-name>] <subpackage>
+#
+%define kernel_variant_package(n:) \
+%package -n kernel-%1\
+Summary: %{variant_summary}\
+Group: System/Kernel\
+%kernel_reqprovconf\
+%{nil}
+
+
+# First the auxiliary packages of the main kernel package.
+%kernel_devel_package
+
+
+# Now, each variant package.
+
+%define variant_summary Adaptation kboot kernel for the Medfield platform
+%kernel_devel_package adaptation-medfield-kboot
+%description -n kernel-adaptation-medfield-kboot
+This package contains the kboot kernel optimized for the Medfield platform
+
+
+%prep
+
+# First we unpack the kernel tarball.
+# If this isn't the first make prep, we use links to the existing clean tarball
+# which speeds things up quite a bit.
+
+# Update to latest upstream.
+%if 0%{?released_kernel}
+%define vanillaversion 2.6.%{base_sublevel}
+# released_kernel with stable_update available case
+%if 0%{?stable_update}
+%define vanillaversion 2.6.%{base_sublevel}.%{stable_update}
+%endif
+# non-released_kernel case
+%else
+%if 0%{?rcrev}
+%define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
+%endif
+%else
+# pre-{base_sublevel+1}-rc1 case
+%endif
+
+
+#
+# Unpack the kernel tarbal
+#
+%setup -q -c
+cd linux-%{kversion}
+
+
+#
+# The add an -rc patch if needed
+#
+%if 0%{?rcrev}
+# patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
+%patch00 -p1
+%endif
+
+#
+# Add the compat-wireless package
+#
+tar -jxf %{SOURCE1}
+
+#
+# Then apply all the patches
+#
+# Reminder of the patch filename format:
+# linux-<version it is supposed to be upstream>-<description-separated-with-dashes>.patch
+#
+
+
+#
+# Stable patch - critical bugfixes
+#
+
+# patch-2.6.35.3.bz2
+%patch1 -p1
+
+
+#
+# Patch to add a "nonintconfig" option to the Makefile
+# needed for unattended builds
+#
+# linux-2.6-build-nonintconfig.patch
+%patch2 -p1
+
+
+
+#####################################################################
+#
+# Direct Backport section.. only patches already in Linus' or maintainer git trees
+# (for linux-next) should go here.
+# We will regularly drop patches from this section as we rebase to newer
+# kernels.
+#
+
+# linux-2.6.37-x86-add_core_threshold_support_to_therm_throt.c.patch
+%patch100 -p1
+# linux-2.6.37-x86-mrst-set-vrtc-irq-to-level-trigger-type.patch 
+%patch101 -p1
+
+# linux-2.6.37-x86-mwait.h-backport.patch
+%patch102 -p1
+# linux-2.6.37-x86-hotplug-Use-mwait-to-offline-a-processor-fix-the.patch
+%patch103 -p1
+# linux-2.6.37-x86-hotplug-Move-WBINVD-back-outside-the-play_dead-l.patch
+%patch104 -p1
+# linux-2.6.37-x86-hotplug-In-the-MWAIT-case-of-play_dead-CLFLUSH-t.patch
+%patch105 -p1
+
+# backport for wakes optimization
+# linux-2.6.37-sched-Avoid-side-effect-of-tickless-idle-on-update_c.patch
+%patch106 -p1
+# linux-2.6.37-sched-Change-nohz-idle-load-balancing-logic-to-push-.patch
+%patch107 -p1
+
+# Smack - backport from linux-next for MSSFv2 support
+# linux-2.6.38-fix-typos-concerning-initiali-zs-e.patch
+%patch108 -p1
+# linux-2.6.38-smack-opt_dentry-is-never-null-in-in-smack_d_instant.patch
+%patch109 -p1
+# linux-2.6.38-security-make-LSMs-explicitly-mask-off-permissions.patch
+%patch110 -p1
+# linux-2.6.38-security-remove-unused-parameter-from-security_task_.patch
+%patch111 -p1
+# linux-2.6.38-security-secid_to_secctx-returns-len-when-data-is-NU.patch
+%patch112 -p1
+# linux-2.6.38-security-move-LSM-xattrnames-to-xattr.h.patch
+%patch113 -p1
+# linux-2.6.38-Smack-UDS-revision.patch
+%patch114 -p1
+# linux-2.6.38-This-patch-adds-a-new-security-attribute-to-Smack-ca.patch
+%patch115 -p1
+# linux-2.6.38-Smack-Transmute-labels-on-specified-directories.patch
+%patch116 -p1
+# linux-2.6.38-Smack-mmap-controls-for-library-containment.patch
+%patch117 -p1
+
+# Runtime PM patches - backport from linux-2.6.37
+# linux-2.6.37-sysfs-Add-sysfs_merge_group-and-sysfs_unmerge_group.patch
+%patch118 -p1
+# linux-2.6.37-PM-Make-it-possible-to-avoid-races-between-wakeup-an.patch
+%patch119 -p1
+# linux-2.6.37-PM-Do-not-use-dynamically-allocated-objects-in-pm_wa.patch
+%patch120 -p1
+# linux-2.6.37-PM-Runtime-Make-runtime_status-attribute-not-debug-o.patch
+%patch121 -p1
+# linux-2.6.37-PM-Runtime-Add-runtime-PM-statistics-v3.patch
+%patch122 -p1
+# linux-2.6.37-PM-Prevent-waiting-forever-on-asynchronous-resume-af.patch
+%patch123 -p1
+# linux-2.6.37-PM-Runtime-Lenient-generic-runtime-pm-callbacks.patch
+%patch124 -p1
+# linux-2.6.37-PM-Fix-signed-unsigned-warning-in-dpm_show_time.patch
+%patch125 -p1
+# linux-2.6.37-PM-describe-kernel-policy-regarding-wakeup-defaults-.patch
+%patch126 -p1
+# linux-2.6.37-PM-Wakeup-Introduce-wakeup-source-objects-and-event-.patch
+%patch127 -p1
+# linux-2.6.37-PM-Fix-potential-issue-with-failing-asynchronous-sus.patch
+%patch128 -p1
+# linux-2.6.37-PM-Runtime-Move-code-in-drivers-base-power-runtime.c.patch
+%patch129 -p1
+# linux-2.6.37-PM-Runtime-Replace-boolean-arguments-with-bitflags.patch
+%patch130 -p1
+# linux-2.6.37-PM-Runtime-Merge-synchronous-and-async-runtime-routi.patch
+%patch131 -p1
+# linux-2.6.37-PM-Runtime-Combine-runtime-PM-entry-points.patch
+%patch132 -p1
+# linux-2.6.37-PM-Runtime-Add-no_callbacks-flag.patch
+%patch133 -p1
+# linux-2.6.37-PM-Runtime-Implement-autosuspend-support.patch
+%patch134 -p1
+# linux-2.6.37-PM-Runtime-Reduce-code-duplication-in-core-helper-fu.patch
+%patch135 -p1
+# linux-2.6.37-PM-Runtime-Remove-idle-notification-after-failing-su.patch
+%patch136 -p1
+# linux-2.6.37-PM-Lock-PM-device-list-mutex-in-show_dev_hash.patch
+%patch137 -p1
+# linux-2.6.37-PM-Add-sysfs-attr-for-rechecking-dev-hash-from-PM-tr.patch
+%patch138 -p1
+# linux-2.6.37-PM-Wakeup-Show-wakeup-sources-statistics-in-debugfs.patch
+%patch139 -p1
+# linux-2.6.37-PM-Runtime-fix-recursive-locking-warning-of-lockdep-.patch
+%patch140 -p1
+# linux-2.6.37-PM-Runtime-Fix-typo-in-status-comparison-causing-war.patch
+%patch141 -p1
+# linux-2.6.37-PM-Allow-devices-to-be-removed-during-late-suspend-a.patch
+%patch142 -p1
+
+# BDI wake optimizations - backport from linux-2.6.36
+# linux-2.6.36-writeback-remove-wb_list.patch
+%patch143 -p1
+# linux-2.6.36-writeback-merge-bdi_writeback_task-and-bdi_start_fn.patch
+%patch144 -p1
+# linux-2.6.36-writeback-Initial-tracing-support.patch
+%patch145 -p1
+# linux-2.6.36-writeback-Add-tracing-to-balance_dirty_pages.patch
+%patch146 -p1
+# linux-2.6.36-writeback-remove-wb-in-get_next_work_item.patch
+%patch147 -p1
+# linux-2.6.36-writeback-harmonize-writeback-threads-naming.patch
+%patch148 -p1
+# linux-2.6.36-writeback-fix-possible-race-when-creating-bdi-thread.patch
+%patch149 -p1
+# linux-2.6.36-writeback-do-not-lose-wake-ups-in-the-forker-thread-1.patch
+%patch150 -p1
+# linux-2.6.36-writeback-do-not-lose-wake-ups-in-the-forker-thread-2.patch
+%patch151 -p1
+# linux-2.6.36-writeback-do-not-lose-wake-ups-in-bdi-threads.patch
+%patch152 -p1
+# linux-2.6.36-writeback-simplify-bdi-code-a-little.patch
+%patch153 -p1
+# linux-2.6.36-writeback-do-not-remove-bdi-from-bdi_list.patch
+%patch154 -p1
+# linux-2.6.36-writeback-move-last_active-to-bdi.patch
+%patch155 -p1
+# linux-2.6.36-writeback-restructure-bdi-forker-loop-a-little.patch
+%patch156 -p1
+# linux-2.6.36-writeback-move-bdi-threads-exiting-logic-to-the-fork.patch
+%patch157 -p1
+# linux-2.6.36-writeback-prevent-unnecessary-bdi-threads-wakeups.patch
+%patch158 -p1
+# linux-2.6.36-writeback-optimize-periodic-bdi-thread-wakeups.patch
+%patch159 -p1
+# linux-2.6.36-writeback-remove-unnecessary-init_timer-call.patch
+%patch160 -p1
+# linux-2.6.36-writeback-add-new-tracepoints.patch
+%patch161 -p1
+# linux-2.6.36-writeback-cleanup-bdi_register.patch
+%patch162 -p1
+# linux-2.6.36-writeback-do-not-lose-wakeup-events-when-forking-bdi.patch
+%patch163 -p1
+# linux-2.6.36-writeback-Fix-lost-wake-up-shutting-down-writeback-t.patch
+%patch164 -p1
+# linux-2.6.36-writeback-fix-bad-_bh-spinlock-nesting.patch
+%patch165 -p1
+
+# linux-2.6.36-fix-unprotected-acess-to-task-credentials.patch
+%patch166 -p1
+# linux-2.6.36-battery.patch
+%patch167 -p1
+# linux-2.6.36-battery2.patch
+%patch168 -p1
+
+# linux-2.6.37-rc1-mmc-backport.patch
+%patch169 -p1
+# linux-2.6.36-mmc-fix-printing-of-card-ddr-type.patch
+%patch170 -p1
+# linux-2.6.39-mmc-Fix-the-block-device-read-only-flag.patch
+%patch171 -p1
+
+# linux-3.6.36-rcu_squash.patch
+%patch172 -p1
+
+# linux-2.6.37-rc1-ti-backport.patch
+%patch173 -p1
+# linux-2.6.37-rc1-ti-backport-2.patch
+%patch174 -p1
+# linux-2.6.37-rc1-ti-backport-3.patch
+%patch175 -p1
+# linux-2.6.37-ti-ndisc-number.patch
+%patch176 -p1
+
+# sound - backported from linux-2.6.38-rc5
+# linux-2.6.38-rc5-sound-backport.patch
+%patch177 -p1
+
+# linux-2.6.37-thermal-Add-event-notification-to-thermal-framework.patch
+%patch178 -p1
+# linux-2.6.37-irda-prevent-integer-underflow-in-IRLMP_ENUMDEVICES.patch
+%patch179 -p1
+
+# cherry picking the important security/corruption fixes from
+# the stable series
+
+# linux-2.6.35-stable-cherry-picks.patch
+%patch180 -p1
+
+# Kernel CVE patches - these go last in the backport section
+# no non-cve patches should go here!
+
+
+
+#
+# End of the Direct Backports section
+#
+#####################################################################
+
+
+
+
+
+#####################################################################
+#
+# Moorestown and Medfield architecture patches
+# Section maintainer: Arjan van de Ven <arjan at linux.intel.com>
+#
+
+#
+# The main consolidated MRST/MFLD tree from
+# git://git.kernel.org/pub/scm/linux/kernel/git/alan/linux-2.6-mid-ref
+#
+
+# linux-2.6.35-ac-2010-08-24.patch
+%patch200 -p1
+# linux-2.6.35-ac-pending.patch
+%patch201 -p1
+# linux-2.6.36-mrst-mmc-errata.patch
+%patch202 -p1
+#linux-2.6.36-mmc-medfield-a-step-errata.patch
+
+# Aava specific patches
+# linux-2.6.35-Add-MIP-header-update-when-FW-is-upgraded.patch
+%patch203 -p1
+# linux-2.6.35-Fix-loadfw.patch
+%patch204 -p1
+
+# Core architecture patches
+# linux-2.6.35-Fix-Moorestown-VRTC-fixmap-placement.patch
+%patch205 -p1
+# linux-2.6.35-mrst-rtc.patch
+%patch206 -p1
+# linux-2.6.36-rtc-mrst-Fix-section-types.patch
+%patch207 -p1
+# linux-2.6.37-x86-lapic-timer-increase-max_delta-to-31-bits.patch
+%patch208 -p1
+# linux-2.6.36-x86-mrst-pti-add-pti-early-console.patch
+%patch209 -p1
+# linux-2.6.36-export_get_task_comm.patch
+%patch210 -p1
+# linux-2.6.36-ipc-medfield-firmware-update.patch
+%patch211 -p1
+# linux-2.6.36-ipc-medfield-firmware-update-cleanup.patch
+%patch212 -p1
+# linux-2.6.36-intel-scu-ipcutil-add-ioctl-to-get-fw-version.patch
+%patch213 -p1
+# linux-2.6.36-intel-scu-ipcutil-allow-ipcutil-compile-as-module.patch
+%patch214 -p1
+# linux-2.6.36-intel-scu-ipc-add-smip-umip-access-cmd-support.patch
+%patch215 -p1
+
+#
+# Atom C state fixes
+#
+# linux-2.6.35-intel-idle.patch
+%patch216 -p1
+
+# Atom P state driver patches
+# linux-2.6.36-Removing-SFI-C-and-P-state-divers.patch
+%patch217 -p1
+# linux-2.6.36-p-state-driver-based-on-sfi-idle.patch
+%patch218 -p1
+# linux-2.6.36-sfi-cpufreq-fix-compilation-warnings.patch
+%patch219 -p1
+# linux-2.6.36-p-state-HACK-fix-max-freq.patch
+%patch220 -p1
+
+# MID PMU patches
+# linux-2.6.36-intel-idle-s0ix-implementation.patch
+%patch221 -p1
+# linux-2.6.36-mid_pci-pci-ops-registration.patch
+%patch222 -p1
+# linux-2.6.36-mid_pmu-driver-that-controls-pmus.patch
+%patch223 -p1
+# linux-2.6.36-mid_pmu-bug-fix-fixed-device-lss-reporting-lss0-wron.patch
+%patch224 -p1
+# linux-2.6.36-mid_pmu-disable-scu-semaphore-watchdog-by-default.patch
+%patch225 -p1
+# linux-2.6.36-mid_pmu-bug-fix-change-lpmp3-command-value.patch
+%patch226 -p1
+# linux-2.6.36-mid_pmu-clear-cpu-offload-cntrl-reg-in-error-scenari.patch
+%patch227 -p1
+# linux-2.6.36-mid_pmu-wake-source-counter-statistics.patch
+%patch228 -p1
+# linux-2.6.36-mid_pmu-wait-for-interactive-command-complete-in-pmu.patch
+%patch229 -p1
+# linux-2.6.36-mid_pmu-cleanup-fix-sparse-check-warnings.patch
+%patch230 -p1
+# linux-2.6.36-mid_pmu-correct-d0ix-state-during-s0ix-entry.patch
+%patch231 -p1
+
+# pytimechart patches
+# linux-2.6.37-ftrace-check-if-a-traced-string-is-null.patch
+%patch232 -p1
+# linux-2.6.37-intel_idle-re-order-power_trace.patch
+%patch233 -p1
+# linux-2.6.37-trace-runtime_pm-add-runtime_pm-trace-event.patch
+%patch234 -p1
+# linux-2.6.37-trace-workqueue-also-trace-workqueues-end.patch
+%patch235 -p1
+
+# HS UART driver
+# linux-2.6.37-serial-mfd-runtime-check-for-whether-to-use-dma-rx-timer.patch
+%patch236 -p1
+# linux-2.6.37-serial-mfd-adjust-baud-rate-setting.patch
+%patch237 -p1
+# linux-2.6.37-serial-mfd-fix-bug-in-serial-hsu-remove.patch
+%patch238 -p1
+
+# linux-2.6.36-SFI-Add-SD-type-to-SFI-device-parsing.patch
+%patch239 -p1
+# linux-2.6.36-mrst.c-make-the-delayed-device-mechanism-more-gener.patch
+%patch240 -p1
+
+# eMMC/SDIO
+# linux-2.6.36-mmc-remove-unused-code.patch
+%patch241 -p1
+# linux-2.6.36-mmc-add-new-mmc-capability-for-some-host-controller.patch
+%patch242 -p1
+# linux-2.6.36-mmc-add-erase-cap-and-new-quirk-for-MFLD-sdhci-host.patch
+%patch243 -p1
+# linux-2.6.36-mmc-add-emmc4.41-enhanced-area-feature.patch
+%patch244 -p1
+# linux-2.6.36-mmc-enable-BKOPS-feature-for-supported-emmc-card.patch
+%patch245 -p1
+# linux-2.6.36-mmc-Add-background-operations.patch
+%patch246 -p1
+# linux-2.6.36-mmc-Enabled-HPI-feature.patch
+%patch247 -p1
+# linux-2.6.36-mmc-Add-HPI-operation-to-interrupt-BKOPS.patch
+%patch248 -p1
+# linux-2.6.36-mmc-add-a-Kconfig-option-to-disable-eMMC-BKOPS-HPI.patch
+%patch249 -p1
+# linux-2.6.36-mmc-not-use-return-value-in-mmc_wait_for_bkops.patch
+%patch250 -p1
+# linux-2.6.36-mmc-change-print-level-to-avoid-too-many-output-messages.patch
+%patch251 -p1
+# linux-2.6.37-mmc-Aggressive-clock-gating-framework.patch
+%patch252 -p1
+# linux-2.6.37-mmc-clean-up-clock-gating-code.patch
+%patch253 -p1
+# linux-2.6.37-mmc-protect-against-clock-gating-races.patch
+%patch254 -p1
+# linux-2.6.37-mmc-protect-some-clock-gating-variables.patch
+%patch255 -p1
+# linux-2.6.37-mmc-put-led-blinking-code-after-clock-ungating.patch
+%patch256 -p1
+# linux-2.6.37-mmc-sdhci-pci-Enable-runtime-PM-support.patch
+%patch257 -p1
+# linux-2.6.37-mmc-sdhci-v2-use-ios-clock-to-know-when-sdhci-is-idle.patch
+%patch258 -p1
+# linux-2.6.37-mmc-add-per-device-quirk-placeholder.patch
+%patch259 -p1
+# linux-2.6.37-mmc-add-MMC_QUIRK_BROKEN_CLK_GATING.patch
+%patch260 -p1
+# linux-2.6.37-mmc-remove-BROCKEN_CLK_GATING-quirk-for-wl1271.patch
+%patch261 -p1
+# linux-2.6.36-mmc-emmc-mutex-support-for-medfield.patch
+%patch262 -p1
+# linux-2.6.36-mmc-emmc-mutex-api-to-protect-emmc0.patch
+%patch263 -p1
+# linux-2.6.37-mmc-check-for-one-clk_requests-when-disabling-gating.patch
+%patch264 -p1
+# linux-2.6.37-mmc-fix-devision-by-zero-in-mmc-core.patch
+%patch265 -p1
+# linux-2.6.36-mmc-get-device-first-before-remove-controller.patch
+%patch266 -p1
+# linux-2.6.36-mmc-enable-HW-reset-cap-of-MMC-card-if-card-supports.patch
+%patch267 -p1
+# linux-2.6.36-mmc-initialize-eMMC-card-if-r-w-e-occurs-timeout.patch
+%patch268 -p1
+# linux-2.6.36-mmc-implement-hardware-reset-feature-for-MFLD-SDHCI-.patch
+%patch269 -p1
+# linux-2.6.36-mmc-sdhci-manage-pm-of-the-card-via-regulator.patch
+%patch270 -p1
+# linux-2.6.36-mmc-sdhci-regulator-power-down-power-up-handling.patch
+%patch271 -p1
+
+# dw_spi patches
+# linux-2.6.36-dw_spi-add-support-for-runtime_pm.patch
+%patch272 -p1
+
+# Patches to force early SCU probe
+# linux-2.6.36-intel_scu-change-init-time-to-early-in-the-boot.patch
+%patch273 -p1
+# linux-2.6.36-langwell_gpio-change-init-time-to-early-in-the-boot.patch
+%patch274 -p1
+
+# Graphics Driver
+# linux-2.6.35-make-gma600-work-on-IA.patch
+%patch275 -p1
+# linux-2.6.36-gma600-update-to-version-1.6.patch
+%patch276 -p1
+# linux-2.6.36-Modified-sysconfig.h-to-disable-the-host-port-usage.patch
+%patch277 -p1
+# linux-2.6.36-Use-the-in-Kernel-TTM-implementation.patch
+%patch278 -p1
+# linux-2.6.36-Move-Video-Driver-files-to-it-s-own-folder.patch
+%patch279 -p1
+# linux-2.6.36-Enable-D0i3-Support-for-Medfield-Video-Driver.patch
+%patch280 -p1
+# linux-2.6.36-Fix-for-Bugzilla-5074-Enable-non-root-X-for-handset.patch
+%patch281 -p1
+# linux-2.6.36-GFX-Display-Fixed-display-panning-extend-mode-issues.patch
+%patch282 -p1
+# linux-2.6.36-Adding-support-for-Overlay-Register-Read-back.patch
+%patch283 -p1
+# linux-2.6.36-GFX-Display-Platform-ID-needs-to-be-checked-to-suppo.patch
+%patch284 -p1
+# linux-2.6.36-Add-support-for-Display-Save-Restore.patch
+%patch285 -p1
+# linux-2.6.36-Avoid-using-some-TTM-interfaces-directly-for-buildin.patch
+%patch286 -p1
+# linux-2.6.36-Medfield-Topaz-D0i3-support.patch
+%patch287 -p1
+# linux-2.6.36-gma600-ospm-cleanup.patch
+%patch288 -p1
+# linux-2.6.36-gma600-display-suspend.patch
+%patch289 -p1
+# linux-2.6.36-gma600-s0i3-support.patch
+%patch290 -p1
+# linux-2.6.36-gma600-video-encode-workaround.patch
+%patch291 -p1
+# linux-2.6.36-gma600-runtime-pm-support.patch
+%patch292 -p1
+# linux-2.6.36-gma600-pci-device-id-mask.patch
+%patch293 -p1
+# linux-2.6.36-gma600-dsi-display-support.patch
+%patch294 -p1
+# linux-2.6.36-gma600-video-runtime-pm-support.patch
+%patch295 -p1
+# linux-2.6.36-gma600-resolution-clip.patch
+%patch296 -p1
+# linux-2.6.36-gma600-add-mipi-support.patch
+%patch297 -p1
+# linux-2.6.36-gma600-disable-vblank.patch
+%patch298 -p1
+# linux-2.6.36-gma600-fix-1gb-crash.patch
+%patch299 -p1
+# linux-2.6.36-gma600-subpicture-support.patch
+%patch300 -p1
+# linux-2.6.36-gma600-tmd-support.patch
+%patch301 -p1
+# linux-2.6.36-gma600-version-number.patch
+%patch302 -p1
+# linux-2.6.36-gma600-fix-pci-goof.patch
+%patch303 -p1
+# linux-2.6.36-gma600-more-gct-support.patch
+%patch304 -p1
+# linux-2.6.36-gma600-remove-mipi-dep.patch
+%patch305 -p1
+# linux-2.6.36-gma600-hdmi-audio-hookup.patch
+%patch306 -p1
+# linux-2.6.36-gma600-medfield-runtime-pm.patch
+%patch307 -p1
+# linux-2.6.36-gma600-updates-from-imgtek.patch
+%patch308 -p1
+# linux-2.6.36-gma600-error-handling-types.patch
+%patch309 -p1
+# linux-2.6.36-gma600-fix-hdmi-code.patch
+%patch310 -p1
+# linux-2.6.36-gma600-fix-hardcoded-modelines.patch
+%patch311 -p1
+# linux-2.6.36-gma600-use-frequency-instead-of-sku-id.patch
+%patch312 -p1
+# linux-2.6.36-gma600-move-opregion-to-separate-file.patch
+%patch313 -p1
+# linux-2.6.36-gma600-newer-version-from-imgtek.patch
+%patch314 -p1
+# linux-2.6.36-gma600-fix-ttm-video-playback.patch
+%patch315 -p1
+# linux-2.6.36-gma600-fix-decoder-issue.patch
+%patch316 -p1
+# linux-2.6.36-gma600-encode-runtime-pm-support.patch
+%patch317 -p1
+# linux-2.6.36-gma600-reenable-pageflip.patch
+%patch318 -p1
+# linux-2.6.36-gma600-ospm-refactoring.patch
+%patch319 -p1
+# linux-2.6.36-gma600-hdmi-audio-support.patch
+%patch320 -p1
+# linux-2.6.36-gma600-refactor-backlight-code.patch
+%patch321 -p1
+# linux-2.6.36-gma600-fix-xinit-launch.patch
+%patch322 -p1
+# linux-2.6.36-gma600-fix-module-build-failure.patch
+%patch323 -p1
+# linux-2.6.36-gma600-version-update.patch
+%patch324 -p1
+# linux-2.6.36-GFX-Enable-Tearing-Effect.patch
+%patch325 -p1
+# linux-2.6.36-GFX-Added-command-line-option-to-control-LABC.patch
+%patch326 -p1
+# linux-2.6.36-GFX-Fixed-the-bug-in-the-case-where-default-depth-is.patch
+%patch327 -p1
+# linux-2.6.36-GFX-Fix-for-HSD-Issue-3470628-Can-t-resume-after-DPM.patch
+%patch328 -p1
+# linux-2.6.36-GFX-Enable-DSR-in-kernel.patch
+%patch329 -p1
+# linux-2.6.36-GFX-Support-HDMI-Rails.patch
+%patch330 -p1
+# linux-2.6.36-GFX-New-MSVDX-Firmware-Support.patch
+%patch331 -p1
+# linux-2.6.36-GFX-Enabled-DSR-in-kernel-by-default.patch
+%patch332 -p1
+# linux-2.6.36-GFX-Ovelay-needs-to-Sync-at-vblank.patch
+%patch333 -p1
+# linux-2.6.36-GFX-Kernel-part-for-support-egl-resource_profiling-2.patch
+%patch334 -p1
+# linux-2.6.36-GFX-Fix-Moorestown-DPST.patch
+%patch335 -p1
+# linux-2.6.36-GFX-Make-gfx-runtime-pm-configurable-by-cmdline.patch
+%patch336 -p1
+# linux-2.6.36-GFX-Stabilizd-DPU-DSR-code.patch
+%patch337 -p1
+# linux-2.6.36-GFX-Fixes-X-booting-to-blank-display.patch
+%patch338 -p1
+# linux-2.6.36-GFX-Remove-the-resolution-limitations-to-HDMI-displa.patch
+%patch339 -p1
+# linux-2.6.36-GFX-Remove-un-necessary-pci-device-get.patch
+%patch340 -p1
+# linux-2.6.36-GFX-Enable-Panel-detection-using-GCT.patch
+%patch341 -p1
+# linux-2.6.36-GFX-Enabled-GL3.patch
+%patch342 -p1
+# linux-2.6.36-GFX-Fix-issue-TTM-Buffer-Object-Validation.patch
+%patch343 -p1
+# linux-2.6.36-GFX-Klocwork-Fixes.patch
+%patch344 -p1
+# linux-2.6.36-GFX-Fix-HSD-Issue-3741439-Enable-Disable-alpha.patch
+%patch345 -p1
+# linux-2.6.36-GFX-IMG-Engineering-Integraion-3977-3999.patch
+%patch346 -p1
+# linux-2.6.36-GFX-Enable-HDMI-HPD-MSIC-interrupt.patch
+%patch347 -p1
+# linux-2.6.36-GFX-Remove-lock-mutex-which-isn-t-needed.patch
+%patch348 -p1
+# linux-2.6.36-GFX-Enable-MSVDX-PM-D0i3-state.patch
+%patch349 -p1
+# linux-2.6.36-GFX-Fixed-HSD-bug-3741489-MIPI1-blackout-after-rotat.patch
+%patch350 -p1
+# linux-2.6.36-GFX-Fix-for-Bugzilla-10748-REG-Gfx-driver-0031-resul.patch
+%patch351 -p1
+# linux-2.6.36-GFX-Graphics-Driver-release-version-5.3.0.0031.patch
+%patch352 -p1
+# linux-2.6.36-GFX-Added-HPD-umevent-notification.patch
+%patch353 -p1
+# linux-2.6.36-GFX-Remove-the-6ms-delay-following-TopazSC-MTX-regis.patch
+%patch354 -p1
+# linux-2.6.36-GFX-Add-bc_video-driver-for-texture-streaming.patch
+%patch355 -p1
+# linux-2.6.36-GFX-fixed-the-issue-that-the-cases-gles1test1-ovg_un.patch
+%patch356 -p1
+# linux-2.6.36-GFX-Enable-GL3-Optimization-for-video.patch
+%patch357 -p1
+# linux-2.6.36-GFX-fixed-HSD-3741318-xrandr-and-brightness-paramete.patch
+%patch358 -p1
+# linux-2.6.36-GFX-fixed-HSD-3741617-HDMI-device-can-not-be-configu.patch
+%patch359 -p1
+# linux-2.6.36-GFX-Refine-sysfs-status-for-msvdx-and-Topaz-for-D0i3.patch
+%patch360 -p1
+# linux-2.6.36-GFX-fixed-HSD-3741788-Mfld-DC-xrandr-screen-cannot-b.patch
+%patch361 -p1
+# linux-2.6.36-GFX-MSVDS-only-need-to-wait-when-needed.patch
+%patch362 -p1
+# linux-2.6.36-GFX-Modified-ospm_power_using_hw_begin-interface.patch
+%patch363 -p1
+# linux-2.6.36-GFX-Disable-per-context-PB-using-shared-PB-to-save-s.patch
+%patch364 -p1
+# linux-2.6.36-GFX-IMG-Engineering-Drop-4043-Integration.patch
+%patch365 -p1
+# linux-2.6.36-GFX-Modify-the-HDMI-display-and-audio-interface.patch
+%patch366 -p1
+# linux-2.6.36-GFX-Enable-planeB-subpicture-blending.patch
+%patch367 -p1
+# linux-2.6.36-GFX-Enable-GL3-Power-management.patch
+%patch368 -p1
+# linux-2.6.36-GFX-Delete-DSR-timer-runtime-PM.patch
+%patch369 -p1
+# linux-2.6.36-GFX-Enable-GFX-Runtime-PM-supports-s0ix-with-DSR.patch
+%patch370 -p1
+# linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0032.patch
+%patch371 -p1
+# linux-2.6.36-GFX-Fix-HSD-3577028-Display-not-resuming.patch
+%patch372 -p1
+# linux-2.6.36-GFX-Remove-MSVDX-firmware-verion-check.patch
+%patch373 -p1
+# linux-2.6.36-GFX-Added-hard-coded-mipi-panel-physical-sizes.patch
+%patch374 -p1
+# linux-2.6.36-GFX-Intermediate-build-failures-with-buffer-class-vi.patch
+%patch375 -p1
+# linux-2.6.36-GFX-Added-the-Panel-info-for-querying-from-sysfs.patch
+%patch376 -p1
+# linux-2.6.36-GFX-Add-encode-system-buffer-reset-function-and-Vide.patch
+%patch377 -p1
+# linux-2.6.36-GFX-Remove-Menlow-Support-from-UMG-Driver.patch
+%patch378 -p1
+# linux-2.6.36-GFX-Integration-of-HDMI-Audio-Runtime-PM-with-GFX-Ru.patch
+%patch379 -p1
+# linux-2.6.36-GFX-Added-more-hard-coded-EDID-info-to-support-more-.patch
+%patch380 -p1
+# linux-2.6.36-GFX-fixed-HSD-3741786-HDMI-doesn-t-suppot-864x480-mo.patch
+%patch381 -p1
+# linux-2.6.36-GFX-Use-TE-interrupt-as-vblank-for-B0-command-mode-p.patch
+%patch382 -p1
+# linux-2.6.36-GFX-Make-MIPI1-display-work-with-dual-TMP-Panels.patch
+%patch383 -p1
+# linux-2.6.36-GFX-Coding-Style-indents-and-comments-changes.patch
+%patch384 -p1
+# linux-2.6.36-GFX-Change-for-MRST-decode-error-concealment.patch
+%patch385 -p1
+# linux-2.6.36-GFX-Refine-Topaz-suspend-resume.patch
+%patch386 -p1
+# linux-2.6.36-GFX-Add-support-switch-between-firmware.patch
+%patch387 -p1
+# linux-2.6.36-GFX-Fix-the-potential-sleep-in-semphore-when-in-SPIN.patch
+%patch388 -p1
+# linux-2.6.36-GFX-Refine-video-context-support.patch
+%patch389 -p1
+# linux-2.6.36-GFX-Refine-TopazSC-error-handling-in-save-restore.patch
+%patch390 -p1
+# linux-2.6.36-GFX-Codeing-Style-Code-Cleanup-in-Video-Code.patch
+%patch391 -p1
+# linux-2.6.36-GFX-Handle-host_be_opp-cmd-msg-for-msvdx.patch
+%patch392 -p1
+# linux-2.6.36-GFX-Added-VCM-definition-for-MRST-MeeGo-Topaz.patch
+%patch393 -p1
+# linux-2.6.36-GFX-Refine-video-context-for-MRST-Topaz-firmware-swi.patch
+%patch394 -p1
+# linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0035.patch
+%patch395 -p1
+# linux-2.6.36-GFX-Port-error-concealment-feature-for-MRST-decode.patch
+%patch396 -p1
+# linux-2.6.36-GFX-Fix-some-issue-when-merge-error-concealment-code.patch
+%patch397 -p1
+# linux-2.6.36-GFX-Correct-the-number-of-Topaz-firmwares.patch
+%patch398 -p1
+# linux-2.6.36-GFX-decrease-timeout-of-IEP-BLE-min-max-Y-value-read.patch
+%patch399 -p1
+# linux-2.6.36-GFX-Added-DSI-packet-sender-implementation.patch
+%patch400 -p1
+# linux-2.6.36-GFX-A-WA-for-PYR-panel-update.patch
+%patch401 -p1
+# linux-2.6.36-GFX-Display-Update-display-runtime-PM.patch
+%patch402 -p1
+# linux-2.6.36-GFX-Fix-coding-style-problems.patch
+%patch403 -p1
+# linux-2.6.36-GFX-re-enable-video-driver-OSPM.patch
+%patch404 -p1
+# linux-2.6.36-GFX-modified-the-coding-style-in-Display-Controller.patch
+%patch405 -p1
+# linux-2.6.36-GFX-Coding-Style-fixes-usage-of-tmp-variable.patch
+%patch406 -p1
+# linux-2.6.36-GFX-fixed-hang-issue-on-ES2-B0-TPO-panel.patch
+%patch407 -p1
+# linux-2.6.36-GFX-HSD-3576230-Build-issue-when-using-different-out.patch
+%patch408 -p1
+# linux-2.6.36-GFX-HSD-3741804-glesgears-fullscreen-on-HDMI.patch
+%patch409 -p1
+# linux-2.6.36-GFX-Fixed-TPO-rotation-slow-issue.patch
+%patch410 -p1
+# linux-2.6.36-GFX-speed-up-TMD-panel-mode-setting-and-rotation.patch
+%patch411 -p1
+# linux-2.6.36-GFX-Re-enabled-second-TMD-panel.patch
+%patch412 -p1
+# linux-2.6.36-GFX-Display-Register-Read-write-through-proc.patch
+%patch413 -p1
+# linux-2.6.36-GFX-Refine-HDMI-Hotplug.patch
+%patch414 -p1
+# linux-2.6.36-GFX-HSD-3741251-Backlight-will-not-dim.patch
+%patch415 -p1
+# linux-2.6.36-GFX-HSD-3741978-Kernel-Ops-Crash-in-X-during-browser.patch
+%patch416 -p1
+# linux-2.6.36-GFX-Add-support-for-MSVDX-deblock.patch
+%patch417 -p1
+# linux-2.6.36-GFX-HSD-3741572-APM-D0i3-not-enabled-in-meego.patch
+%patch418 -p1
+# linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0036.patch
+%patch419 -p1
+# linux-2.6.36-GFX-HSD-3741978-UI-crash-Meego-Stability.patch
+%patch420 -p1
+# linux-2.6.36-GFX-PM-avoid-sleeping-routine-in-atomic-context.patch
+%patch421 -p1
+# linux-2.6.36-GFX-PM-read-modify-only-gfx-specific-bits-in-APM_CMD.patch
+%patch422 -p1
+# linux-2.6.36-GFX-PM-patch-to-support-dsr-with-dpms-s0ix.patch
+%patch423 -p1
+# linux-2.6.36-GFX-PM-fix-dsr-status-flag.patch
+%patch424 -p1
+# linux-2.6.36-GFX-PM-HACK-add-delay-before-starting-gfx-pm.patch
+%patch425 -p1
+# linux-2.6.36-GFX-Refine-plane-pixformat-switch-for-subpicture.patch
+%patch426 -p1
+# linux-2.6.36-GFX-Brighness-can-t-be-changed-on-TMD-Panel.patch
+%patch427 -p1
+# linux-2.6.36-GFX-Enable-MSVDX-D0i3.patch
+%patch428 -p1
+# linux-2.6.36-GFX-DSR-Fix-to-not-update-Damage-region-when-MIPI-is.patch
+%patch429 -p1
+# linux-2.6.36-GFX-MRST-topaz-print-VCM-codec-name.patch
+%patch430 -p1
+# linux-2.6.36-GFX-HSD-3577374-Wrong-HDMI-screen-orientation-on-iCD.patch
+%patch431 -p1
+# linux-2.6.36-GFX-HSD-3470555-The-file-proc-dri-0-mrst_blc-is-empt.patch
+%patch432 -p1
+# linux-2.6.36-GFX-Tearing-when-use-TE-interrupt.patch
+%patch433 -p1
+# linux-2.6.36-GFX-Return-EOPNOTSUPP-error-code-Correctly.patch
+%patch434 -p1
+# linux-2.6.36-GFX-Release-memory-when-X-Crash.patch
+%patch435 -p1
+# linux-2.6.36-GFX-Revert-Work-around-for-HSD-3741978.patch
+%patch436 -p1
+# linux-2.6.36-GFX-Save-current-cursor-and-overlay-display-register.patch
+%patch437 -p1
+# linux-2.6.36-GFX-To-fix-kernel-oops-due-to-X-crashes.patch
+%patch438 -p1
+# linux-2.6.36-GFX-Reduce-Program-Buffer-and-3D-parameter-heap-Size.patch
+%patch439 -p1
+# linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0037.patch
+%patch440 -p1
+# linux-2.6.36-GFX-MSVDX-add-the-data-structure-for-error-concealme.patch
+%patch441 -p1
+# linux-2.6.36-GFX-Differentiate-mrst-and-mdfld-vblank-handle-path.patch
+%patch442 -p1
+# linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0038.patch
+%patch443 -p1
+#linux-2.6.36-GFX-Fixed-glsync-tearing-issue-on-MIPI-panel.patch
+#linux-2.6.36-GFX-Enlarge-GENERAL_MAPPING-heap-to-make-sure-more-a.patch
+#linux-2.6.36-GFX-fixed-MIPI0-tearing-while-page-flipping.patch
+#linux-2.6.36-GFX-Fixed-a-code-defect-which-may-lead-to-seg-fault.patch
+#linux-2.6.36-GFX-make-MeeGo-UI-display-well-with-TMD-panel-in-por.patch
+#linux-2.6.36-GFX-Do-not-disable-TE-interrupt-while-DSR-is-off.patch
+#linux-2.6.36-GFX-Quick-Fixing-for-TPO-panel-randomly-hang-issue.patch
+#linux-2.6.36-GFX-Graphics-Driver-build-release-5.3.0.0039.patch
+
+# Media Controller patches
+# linux-2.6.36-v4l-Load-I2C-modules-based-on-modalias.patch
+%patch444 -p1
+# linux-2.6.36-v4l-Remove-hardcoded-module-names-passed-to-v4l2_i2c.patch
+%patch445 -p1
+# linux-2.6.36-go7007-Add-MODULE_DEVICE_TABLE-to-the-go7007-I2C-mod.patch
+%patch446 -p1
+# linux-2.6.36-go7007-Fix-the-TW2804-I2C-type-name.patch
+%patch447 -p1
+# linux-2.6.36-go7007-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch448 -p1
+# linux-2.6.36-zoran-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch449 -p1
+# linux-2.6.36-pvrusb2-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch450 -p1
+# linux-2.6.36-sh_vou-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch451 -p1
+# linux-2.6.36-radio-si4713-Don-t-use-module-names-to-load-I2C-modu.patch
+%patch452 -p1
+# linux-2.6.36-soc_camera-Don-t-use-module-names-to-load-I2C-module.patch
+%patch453 -p1
+# linux-2.6.36-vpfe_capture-Don-t-use-module-names-to-load-I2C-modu.patch
+%patch454 -p1
+# linux-2.6.36-vpif_display-Don-t-use-module-names-to-load-I2C-modu.patch
+%patch455 -p1
+# linux-2.6.36-vpif_capture-Don-t-use-module-names-to-load-I2C-modu.patch
+%patch456 -p1
+# linux-2.6.36-ivtv-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch457 -p1
+# linux-2.6.36-cx18-Don-t-use-module-names-to-load-I2C-modules.patch
+%patch458 -p1
+# linux-2.6.36-V4L-DVB-v4l-Use-v4l2_get_subdevdata-instead-of-acces.patch
+%patch459 -p1
+# linux-2.6.36-V4L-DVB-v4l-Add-a-v4l2_subdev-host-private-data-fiel.patch
+%patch460 -p1
+# linux-2.6.36-V4L-DVB-mediabus-fix-ambiguous-pixel-code-names.patch
+%patch461 -p1
+# linux-2.6.36-V4L-DVB-V4L2-mediabus-add-12-bit-Bayer-and-YUV420-pi.patch
+%patch462 -p1
+# linux-2.6.36-v4l2-mediabus-Add-pixelcodes-for-BGR565-formats.patch
+%patch463 -p1
+# linux-2.6.36-V4L-DVB-v4l-add-new-YUV-mediabus-formats.patch
+%patch464 -p1
+# linux-2.6.36-V4L-DVB-v4l-add-RGB444-mediabus-formats.patch
+%patch465 -p1
+# linux-2.6.36-V4L-DVB-v4l2-Add-new-control-handling-framework.patch
+%patch466 -p1
+# linux-2.6.36-V4L-DVB-v4l2-ctrls-reorder-case-statements-to-match-.patch
+%patch467 -p1
+# linux-2.6.36-V4L-DVB-Documentation-add-v4l2-controls.txt-document.patch
+%patch468 -p1
+# linux-2.6.36-V4L-DVB-v4l2-hook-up-the-new-control-framework-into-.patch
+%patch469 -p1
+# linux-2.6.36-V4L-DVB-v4l2-ctrls-Whitespace-cleanups.patch
+%patch470 -p1
+# linux-2.6.36-V4L-DVB-v4l2-ctrls.c-needs-to-include-slab.h.patch
+%patch471 -p1
+# linux-2.6.36-v4l-Remove-module_name-argument-to-the-v4l2_i2c_new_.patch
+%patch472 -p1
+# linux-2.6.36-v4l-Share-code-between-video_usercopy-and-video_ioct.patch
+%patch473 -p1
+# linux-2.6.36-v4l-subdev-Don-t-require-core-operations.patch
+%patch474 -p1
+# linux-2.6.36-v4l-subdev-Merge-v4l2_i2c_new_subdev_cfg-and-v4l2_i2.patch
+%patch475 -p1
+# linux-2.6.36-v4l-subdev-Add-device-node-support.patch
+%patch476 -p1
+# linux-2.6.36-v4l-subdev-Uninline-the-v4l2_subdev_init-function.patch
+%patch477 -p1
+# linux-2.6.36-v4l-subdev-Control-ioctls-support.patch
+%patch478 -p1
+# linux-2.6.36-v4l-subdev-Events-support.patch
+%patch479 -p1
+# linux-2.6.36-media-Media-device-node-support.patch
+%patch480 -p1
+# linux-2.6.36-media-Media-device.patch
+%patch481 -p1
+# linux-2.6.36-media-Entities-pads-and-links.patch
+%patch482 -p1
+# linux-2.6.36-media-Entity-graph-traversal.patch
+%patch483 -p1
+# linux-2.6.36-media-Reference-count-and-power-handling.patch
+%patch484 -p1
+# linux-2.6.36-media-Media-device-information-query.patch
+%patch485 -p1
+# linux-2.6.36-media-Entities-pads-and-links-enumeration.patch
+%patch486 -p1
+# linux-2.6.36-media-Links-setup.patch
+%patch487 -p1
+# linux-2.6.36-media-Pipelines-and-media-streams.patch
+%patch488 -p1
+# linux-2.6.36-v4l-Add-a-media_device-pointer-to-the-v4l2_device-st.patch
+%patch489 -p1
+# linux-2.6.36-v4l-Make-video_device-inherit-from-media_entity.patch
+%patch490 -p1
+# linux-2.6.36-v4l-Make-v4l2_subdev-inherit-from-media_entity.patch
+%patch491 -p1
+# linux-2.6.36-v4l-Move-the-media-v4l2-mediabus.h-header-to-include.patch
+%patch492 -p1
+# linux-2.6.36-v4l-Replace-enums-with-fixed-sized-fields-in-public-.patch
+%patch493 -p1
+# linux-2.6.36-v4l-Rename-V4L2_MBUS_FMT_GREY8_1X8-to-V4L2_MBUS_FMT_.patch
+%patch494 -p1
+# linux-2.6.36-v4l-Group-media-bus-pixel-codes-by-types-and-sort-th.patch
+%patch495 -p1
+# linux-2.6.36-v4l-Add-8-bit-YUYV-on-16-bit-bus-and-SGRBG10-media-b.patch
+%patch496 -p1
+# linux-2.6.36-v4l-Add-remaining-RAW10-patterns-w-DPCM-pixel-code-v.patch
+%patch497 -p1
+# linux-2.6.36-v4l-Create-v4l2-subdev-file-handle-structure.patch
+%patch498 -p1
+# linux-2.6.36-v4l-subdev-Add-a-new-file-operations-class.patch
+%patch499 -p1
+# linux-2.6.36-v4l-v4l2_subdev-pad-level-operations.patch
+%patch500 -p1
+# linux-2.6.36-v4l-v4l2_subdev-userspace-format-API.patch
+%patch501 -p1
+# linux-2.6.36-v4l-v4l2_subdev-userspace-frame-interval-API.patch
+%patch502 -p1
+# linux-2.6.36-v4l-v4l2_subdev-userspace-crop-API.patch
+%patch503 -p1
+# linux-2.6.36-v4l-subdev-Generic-ioctl-support.patch
+%patch504 -p1
+# linux-2.6.36-v4l-Add-subdev-sensor-g_skip_frames-operation.patch
+%patch505 -p1
+# linux-2.6.36-v4l-Include-linux-videodev2.h-in-media-v4l2-ctrls.h.patch
+%patch506 -p1
+# linux-2.6.36-v4l-Fix-a-use-before-set-in-the-control-framework.patch
+%patch507 -p1
+
+# TI FM driver
+# linux-2.6.36-ti-st-fm-include-linux-videodev2-for-FM-receivers.patch
+%patch508 -p1
+# linux-2.6.36-ti-st-fm-docbook-update-control-xml-for-ti-fm-driver.patch
+%patch509 -p1
+# linux-2.6.36-ti-st-fm-drv-common-header-file.patch
+%patch510 -p1
+# linux-2.6.36-ti-st-fm-drv-v4l2-sources.patch
+%patch511 -p1
+# linux-2.6.36-ti-st-fm-drv-common-sources.patch
+%patch512 -p1
+# linux-2.6.36-ti-st-fm-drv-rx-sources.patch
+%patch513 -p1
+# linux-2.6.36-ti-st-fm-drv-tx-sources.patch
+%patch514 -p1
+# linux-2.6.36-ti-st-fm-kconfig-makefile.patch
+%patch515 -p1
+# linux-2.6.36-ti-st-fm-update-TODO-for-fm-v4l2.patch
+%patch516 -p1
+# linux-2.6.36-ti-st-fm-delete-traces.patch
+%patch517 -p1
+
+# SMIA++ 
+# linux-2.6.36-V4L-Create-control-class-for-sensor-mode.patch
+%patch518 -p1
+# linux-2.6.36-smiaregs-Generic-i2c-register-writing.patch
+%patch519 -p1
+# linux-2.6.36-smiapp-Add-driver.patch
+%patch520 -p1
+# linux-2.6.36-smiapp-Add-module-idents-for-et8en2-and-tcm8580md.patch
+%patch521 -p1
+# linux-2.6.36-smiapp-add-camera-module-major-version-number-to-sys.patch
+%patch522 -p1
+# linux-2.6.36-smiapp-Initialize-try-format-in-open.patch
+%patch523 -p1
+# linux-2.6.36-smiapp-Drop-V4L2-chip-idents.patch
+%patch524 -p1
+
+# Lens
+# linux-2.6.36-ad58xx-Add-driver.patch
+%patch525 -p1
+# linux-2.6.36-ad58xx-Drop-chip-ident-numbers.patch
+%patch526 -p1
+
+# LED Flash
+# linux-2.6.36-as3645a-Add-driver.patch
+%patch527 -p1
+# linux-2.6.36-as3645a-Drop-chip-ident-numbers.patch
+%patch528 -p1
+
+# DMA driver
+# linux-2.6.35-DMA-driver-Add-runtime-PM.patch
+%patch529 -p1
+# linux-2.6.36-DMA-Fix-terminate-issue.patch
+%patch530 -p1
+# linux-2.6.36-dma-fix-audio-failure-when-runtime-pm-enabled.patch
+%patch531 -p1
+# linux-2.6.36-dma-fix-runtime_pm.patch
+%patch532 -p1
+
+# Audio driver
+#linux-2.6.39-asoc-soc-core-move-card-cleanup-from-soc_remove.patch 
+#linux-2.6.39-asoc-soc-core-move-the-card-debugfs-init.patch 
+#linux-2.6.39-asoc-soc-core-add-inline-to-handle-card-list-init.patch
+#linux-2.6.39-asoc-soc-core-allow-machine-driver-to-register-the-card.patch 
+#linux-2.6.39-asoc-add-support-for-multiple-jack-types.patch
+
+#linux-2.6.39-ASoC-sst-v2-Add-sn95031-codec-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-mid-platform-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-medfield-machine-driver.patch
+#linux-2.6.39-ASoC-sst-v2-Add-makefiles-and-kconfigs-changes.patch
+#linux-2.6.39-ASoC-sst-platform-fix-the-style-inconsistency.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-code-style-and-format-inconsist.patch
+#linux-2.6.39-ASoC-mid-x86-remove-the-flag-in-makefile.patch
+#linux-2.6.39-ASoC-sst_platform-created-helper-functions.patch
+#linux-2.6.39-ASoC-Add-dependency-on-INTEL_SCU_IPC-for-Intel-MID-d.patch
+#linux-2.6.39-ASoC-sn95031-add-capture-support.patch
+#linux-2.6.39-ASoC-sst_platform-add-support-for-capture-stream-on-.patch
+#linux-2.6.39-ASoC-mid-x86-Add-support-for-capture-in-machine-driv.patch
+#linux-2.6.39-ASoC-sst_platform-porting-sst-dsp-driver-interface-a.patch
+#linux-2.6.39-ASoC-mid-x86-Fix-dependency-on-intel_sst-driver.patch
+#linux-2.6.39-ASoC-sn95031-Add-jack-support-in-the-codec.patch
+#linux-2.6.39-ASoC-mfld_machine-Add-support-for-jack-detection.patch
+#linux-2.6.39-ASoC-sn95031-Add-support-for-reading-mic-bias.patch
+#linux-2.6.39-ASoC-mid-x86-Use-the-soc-jack-apis-for-jack-type-det.patch
+#linux-2.6.39-ASoC-sn95031-make-playback-rails-depend-on-actual-pi.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-DMIC-path-routing.patch
+#linux-2.6.39-ASoC-sn95031-fix-the-amic-tlv-scale.patch
+#linux-2.6.39-ASoC-mfld_machine-make-use-of-soc_register_card-API.patch
+#linux-2.6.39-ASoC-sst_platform-fix-the-pulseaudio-error.patch
+
+# linux-2.6.36-Audio-Change-the-SST-driver-PCM-interface.patch
+%patch533 -p1
+# linux-2.6.36-Audio-Audio-driver-uses-reworked-PCM-interface.patch
+%patch534 -p1
+# linux-2.6.36-Audio-Add-SST-driver-runtime-PM-support.patch
+%patch535 -p1
+# linux-2.6.36-Audio-Construct-fw-string-name-runtime.patch
+%patch536 -p1
+# linux-2.6.36-Audio-Firmware-error-codes-force-number-values.patch
+%patch537 -p1
+# linux-2.6.36-Audio-log-error-retuened-by-scu-ipc-read-write.patch
+%patch538 -p1
+# linux-2.6.36-Audio-Fix-Moorestown-sound-card-bugs.patch
+%patch539 -p1
+# linux-2.6.36-Audio-disable-the-logs-by-default.patch
+%patch540 -p1
+# linux-2.6.36-sst-add-post-processing-algorithm-support.patch
+%patch541 -p1
+# linux-2.6.36-sst-fix-audio-power-optimzation-of-codec.patch
+%patch542 -p1
+# linux-2.6.36-sst-add-firmware-context-restore.patch
+%patch543 -p1
+# linux-2.6.36-sst-fix-driver-to-work-as-module.patch
+%patch544 -p1
+# linux-2.6.36-sst-make-ioctls-unlocked.patch
+%patch545 -p1
+# linux-2.6.36-sst-fix-handling-interrupt-for-shared-irq-when-suspended.patch
+%patch546 -p1
+# linux-2.6.36-sst-fix-dmic-capture-on-v2-pmic.patch
+%patch547 -p1
+# linux-2.6.36-sst-lineout-implementation.patch
+%patch548 -p1
+# linux-2.6.36-sst-new-ioctl-for-lpe-parameter-tuning.patch
+%patch549 -p1
+# linux-2.6.36-sst-multiple-dmic-selection.patch
+%patch550 -p1
+# linux-2.6.36-sst-fix-audio-capture-per-mixer-selection.patch
+%patch551 -p1
+# linux-2.6.36-sst-jack-code-moved-to-vendor-specific-files.patch
+%patch552 -p1
+# linux-2.6.36-sst-clean-up-jack-reporting-code.patch
+%patch553 -p1
+# linux-2.6.36-sst-jack-detection-for-msic.patch
+%patch554 -p1
+# linux-2.6.36-sst-american-headset-detection.patch
+%patch555 -p1
+# linux-2.6.36-sst-VAUD-Power-register-fix.patch
+%patch556 -p1
+# linux-2.6.36-sst-clock-ratio-change-for-lpe.patch
+%patch557 -p1
+# linux-2.6.36-sst-correct-file-header.patch
+%patch558 -p1
+# linux-2.6.36-sst-remove-compilation-warnings.patch
+%patch559 -p1
+
+#linux-2.6.36-ASoc-sst_platform-change-include-files-to-sound-dir.patch
+#linux-2.6.36-Remove-old-intelmid-driver-from-build.patch
+#linux-2.6.36-mrst.c-add-asoc-platfrom-devices-and-audio-resource.patch
+#linux-2.6.36-ASoC-mid-x86-fix-the-asoc-sound-card-list-initialzat.patch
+#linux-2.6.36-sst-fix-the-changes-required-for-asoc-driver-interfa.patch
+
+# HDMI audio
+# linux-2.6.36-hdmi-audio-display-driver-interfaces.patch
+%patch560 -p1
+# linux-2.6.36-hdmi-audio-iec958-interfaces.patch
+%patch561 -p1
+# linux-2.6.36-hdmi-audio-alsa-interfaces.patch
+%patch562 -p1
+# linux-2.6.36-hdmi-audio-hdmi-hw-interfaces.patch
+%patch563 -p1
+
+# I2S/ALSA/CMT-speech
+# linux-2.6.36-I2S-SSP-common-driver-for-Intel-MID-Platforms.patch
+%patch564 -p1
+# linux-2.6.36-CMT-speech-provides-support-for-send-receive-audio-s.patch
+%patch565 -p1
+# linux-2.6.36-ALSA-sound-card-for-TI-WL1273-Chip-BT-FM-WLAN.patch
+%patch566 -p1
+# linux-2.6.36-Remove-unnecessary-mutex-in-intel_mid_i2s.patch
+%patch567 -p1
+# linux-2.6.36-Call-the-DMA-Terminate-All-interface-when-closing-in.patch
+%patch568 -p1
+# linux-2.6.36-intel-mid-i2s-fix-handling-interrupt-for-shared-irq.patch
+%patch569 -p1
+# linux-2.6.36-intel-mid-i2s-improve-flush.patch
+%patch570 -p1
+# linux-2.6.36-intel-mid-i2s-set-ssp-in-suspend-state.patch
+%patch571 -p1
+# linux-2.6.36-intel-mid-i2s-fix-fabric-error.patch
+%patch572 -p1
+# linux-2.6.36-intel-mid-i2s-fix-non-handled-ssp-intr.patch
+%patch573 -p1
+# linux-2.6.36-intel-mid-i2s-fix-fabric-error-when-CONFIG_PM_SLEEP-enabled.patch
+%patch574 -p1
+# linux-2.6.36-intel-mid-i2s-remove-unneccessary-debug-messages.patch
+%patch575 -p1
+# linux-2.6.36-Modify-CMT-speech-folder-to-prepare-for-interface-mo.patch
+%patch576 -p1
+# linux-2.6.36-Modify-CMT-speech-to-enable-different-modem-interfac.patch
+%patch577 -p1
+# linux-2.6.36-cmt-speech-allow-buffer-bigger-than-required.patch
+%patch578 -p1
+# linux-2.6.36-intel-alsa-ssp-use-work-queue-to-start-the-playback.patch
+%patch579 -p1
+# linux-2.6.36-intel-alsa-ssp-fix-open-call-back.patch
+%patch580 -p1
+# linux-2.6.36-intel-alsa-ssp-fix-BT-capture-and-BT-playback.patch
+%patch581 -p1
+
+# USB controller
+# linux-2.6.37-usb-composite-gadget-set-vbus_draw-current-backport.patch
+%patch582 -p1
+# linux-2.6.36-usb-ehci-add-power-budget-limitation-for-penwell.patch
+%patch583 -p1
+# linux-2.6.36-usb-langwell_udc-set-vbus_active-flag-according-to.patch
+%patch584 -p1
+# linux-2.6.36-usb-penwell_otg-enable-PHY-low-power-mode.patch
+%patch585 -p1
+# linux-2.6.36-usb-langwell_udc-enable-PHY-low-power-mode-for-pen.patch
+%patch586 -p1
+# linux-2.6.36-usb-langwell_udc-cancel-pending-requests-when-cont.patch
+%patch587 -p1
+# linux-2.6.36-usb-langwell_udc-fix-big-file-transfer-issue.patch
+%patch588 -p1
+# linux-2.6.36-usb-langwell_udc-add-HighSpeed-FullSpeed-events-no.patch
+%patch589 -p1
+# linux-2.6.36-usb-penwell_otg-add-USB-charger-detection.patch
+%patch590 -p1
+# linux-2.6.36-usb-penwell_otg-add-charging-current-negotiation-a.patch
+%patch591 -p1
+# linux-2.6.36-usb-penwell_otg-put-PHY-back-to-normal-mode-before.patch
+%patch592 -p1
+# linux-2.6.36-usb-penwell_otg-add-runtime-pm-support.patch
+%patch593 -p1
+# linux-2.6.36-usb-ehci-langwell-pci-add-transceiver-driver-inter.patch
+%patch594 -p1
+# linux-2.6.36-usb-core-add-runtime-pm-support-for-Intel-Medfield.patch
+%patch595 -p1
+# linux-2.6.36-usb-langwell_udc-add-runtime-pm-support-for-otg.patch
+%patch596 -p1
+# linux-2.6.36-usb-langwell_udc-add-runtime-pm-support.patch
+%patch597 -p1
+# linux-2.6.36-usb-intel-mid-otg-fix-compilaton-error-when-config-pm-off.patch
+%patch598 -p1
+# linux-2.6.37-usb-add-test-mode-support-for-langwell-gadget.patch
+%patch599 -p1
+# linux-2.6.36-usb-penwell-otg-fix-usb-interrupt-issue.patch
+%patch600 -p1
+# linux-2.6.36-usb-penwell-otg-add-aca-device-support.patch
+%patch601 -p1
+# linux-2.6.36-usb-penwell-otg-add-srp-support.patch
+%patch602 -p1
+# linux-2.6.36-usb-gadget-add-host-request-flag-for-hnp-polling.patch
+%patch603 -p1
+# linux-2.6.36-usb-langwell-udc-add-hnp-polling-support.patch
+%patch604 -p1
+# linux-2.6.36-usb-penwell-otg-add-hnp-polling-support.patch
+%patch605 -p1
+# linux-2.6.36-usb-penwell-otg-add-hnp-polling.patch
+%patch606 -p1
+# linux-2.6.36-usb-langwell-udc-fix-max-packet-size-for-iso-transfer.patch
+%patch607 -p1
+# linux-2.6.36-usb-penwell-otg-add-current_event-in-charing-cap-query-func.patch
+%patch608 -p1
+
+# these usb patches are not healthy enough. it's a short-live patchset 
+# temporarily needed to enable runtime_pm use-cases 
+# linux-2.6.36-usb-langwell-udc-add-rumtine_pm-support-in-probe-function.patch
+%patch609 -p1
+# linux-2.6.36-usb-langwell_udc-HACK-disable-bus-syspend-detection.patch
+%patch610 -p1
+# linux-2.6.36-usb-hcd-pci-remove-duplicate-code.patch
+%patch611 -p1
+# linux-2.6.36-usb-ehci-langwell-pci-ignore-event-on-external-hub.patch
+%patch612 -p1
+# linux-2.6.36-usb-penwell_otg-reduce-wakeups.patch
+%patch613 -p1
+# linux-2.6.36-usb-penwell_otg-add-phy-config.patch
+%patch614 -p1
+# linux-2.6.36-usb-penwell_otg-update-otg-state-machine-for-runtime_pm.patch
+%patch615 -p1
+# linux-2.6.36-usb-penwell_otg-HACK-resume-controller-before-reg-access.patch
+%patch616 -p1
+# linux-2.6.36-usb-penwell_otg-HACK-keep-runtime-active-when-micro-a-device-inserted.patch
+%patch617 -p1
+# linux-2.6.36-usb-penwell_otg-HACK-fix-missing-intr.patch
+%patch618 -p1
+# linux-2.6.36-usb-penwell_otg-HACK-disable-aca-detection.patch
+%patch619 -p1
+# linux-2.6.36-usb-runtime_pm-mode-change-in-gadget-unregister-ops.patch
+%patch620 -p1
+# linux-2.6.36-usb-penwell_otg-fix-bug-when-user-set-a_bus_drop.patch
+%patch621 -p1
+# linux-2.6.36-usb-ehci-hub-clear-phcd-before-resuming.patch
+%patch622 -p1
+
+# i2c-designware
+# linux-2.6.37-i2c-designware-Add-designware-PCI-config-option.patch
+%patch623 -p1
+# linux-2.6.37-i2c-designware-Initial-split-of-i2c-designware.c-int.patch
+%patch624 -p1
+# linux-2.6.37-i2c-designware-retrieve-clock-frequency-based-CONFIG.patch
+%patch625 -p1
+# linux-2.6.37-i2c-designware-Add-support-for-Designware-core-behin.patch
+%patch626 -p1
+# linux-2.6.37-i2c-designware-move-i2c-functionality-bit-field-to-b.patch
+%patch627 -p1
+# linux-2.6.37-i2c-designware-move-controller-config-to-bus-specifi.patch
+%patch628 -p1
+# linux-2.6.37-i2c-designware-Allow-mixed-endianness-accesses.patch
+%patch629 -p1
+# linux-2.6.37-i2c-designware-pci-Add-runtime-power-management-supp.patch
+%patch630 -p1
+# linux-2.6.37-i2c-designware-Support-multiple-cores-using-same-ISR.patch
+%patch631 -p1
+# linux-2.6.37-i2c-designware-fix-runtime-pm.patch
+%patch632 -p1
+# linux-2.6.37-i2c-designware-fix-the-clock-settings.patch
+%patch633 -p1
+
+# i2c-mrst - deprecated - to be deleted soon
+# linux-2.6.35-mrst-i2c-power-fix.patch
+%patch634 -p1
+# linux-2.6.36-i2c-frequency-fix.patch
+%patch635 -p1
+# linux-2.6.36-i2c-interrupt-clear.patch
+%patch636 -p1
+# linux-2.6.36-i2c-interrupt-sharing.patch
+%patch637 -p1
+# linux-2.6.36-i2c-keypatch.patch
+%patch638 -p1
+# linux-2.6.36-i2c-power.patch
+%patch639 -p1
+# linux-2.6.36-i2c-detect-fix.patch
+%patch640 -p1
+# linux-2.6.36-i2c-mrst-enhance-error-msg.patch
+%patch641 -p1
+# linux-2.6.36-i2c-mrst-fixing-xfer-timeout.patch
+%patch642 -p1
+# linux-2.6.36-i2c-mrst-add-delay-suspend-support.patch
+%patch643 -p1
+# linux-2.6.36-i2c-mrst-enhance-i2c-to-support-fifo-entries.patch
+%patch644 -p1
+# linux-2.6.36-i2c-mrst-support-32-bytes-i2c-fifo-size.patch
+%patch645 -p1
+# linux-2.6.36-i2c-mrst-workaround-for-hw-limitation.patch
+%patch646 -p1
+# linux-2.6.36-i2c-mrst-fix-i2c-receive-bug.patch
+%patch647 -p1
+
+# SPI controller
+# linux-2.6.36-PM-support-for-SSP-SPI-master-controller-driver.patch
+%patch648 -p1
+# linux-2.6.36-SSP-SPI-spi-config-space-patch.patch
+%patch649 -p1
+# linux-2.6.36-Enable-testhooks-in-standard-build.patch
+%patch650 -p1
+# linux-2.6.36-Bugfix-for-how-the-SSP-clock-divisor-is-configured.patch
+%patch651 -p1
+
+# Modem related patches
+# linux-2.6.35-mux-oops.patch
+%patch652 -p1
+# linux-2.6.35-mux-define.patch
+%patch653 -p1
+# linux-2.6.35-mux-12-channels.patch
+%patch654 -p1
+
+# linux-2.6.36-ifx_spi-Silent-reset-patch.patch
+%patch655 -p1
+# linux-2.6.36-Removed-unneeded-ioctls.patch
+%patch656 -p1
+# linux-2.6.36-ifx_spi-correct-IRQ-free-on-unload.patch
+%patch657 -p1
+# linux-2.6.36-ifx_spi-Replace-use-of-mdelay-to-msleep-during-prob.patch
+%patch658 -p1
+# linux-2.6.36-ifx_spi-Changes-to-support-multiple-modems.patch
+%patch659 -p1
+# linux-2.6.36-Exposed-testmode-module-parameters-by-default.patch
+%patch660 -p1
+# linux-2.6.36-ifx_spi-Reset-MRDY-after-SPI-timeout-and-last-close.patch
+%patch661 -p1
+# linux-2.6.36-ifx_spi-Initialize-reset-po-gpios-to-0-instead-of-1.patch
+%patch662 -p1
+# linux-2.6.36-ifx_spi-Begin-to-tidy-up-for-upstream-submission.patch
+%patch663 -p1
+# linux-2.6.36-ifx-Tidy-up-the-documentation-side.patch
+%patch664 -p1
+# linux-2.6.36-ifx_spi-Fix-ioctl-cast.patch
+%patch665 -p1
+# linux-2.6.36-Add-static-to-lots-of-functions.patch
+%patch666 -p1
+# linux-2.6.36-ifx-rename.patch
+%patch667 -p1
+
+# linux-2.6.36-spi-ifx6x60-use-id-table-method-to-register-modems.patch
+%patch668 -p1
+# linux-2.6.36-spi-ifx6x60-add-ioctl-to-perform-modem-reset.patch
+%patch669 -p1
+# linux-2.6.36-spi-ifx6x60-fix-mrdy-set-high-low-parameters.patch
+%patch670 -p1
+# linux-2.6.36-spi-ifx6x60-replace-some-defines-with-enums.patch
+%patch671 -p1
+# linux-2.6.36-spi-ifx6x60-make-module-parameters-writeable.patch
+%patch672 -p1
+# linux-2.6.36-spi-ifx6x60-remove-runtime-pm-methods-and-init.patch
+%patch673 -p1
+# linux-2.6.36-spi-ifx6x60-ensure-runtime-pm-called-in-case-timeout.patch
+%patch674 -p1
+# linux-2.6.36-spi-ifx6x60-change-runtime-pm-func-calls.patch
+%patch675 -p1
+# linux-2.6.36-spi-ifx6x60-only-retry-trans-if-spi-async-ret-err.patch
+%patch676 -p1
+# linux-2.6.36-spi-ifx6x60-add-io-retry-delay-timer-if-controller-busy.patch
+%patch677 -p1
+# linux-2.6.36-spi-ifx6x60-increase-max-freq-to-16.67mhz.patch
+%patch678 -p1
+# linux-2.6.36-spi-ifx6x60-move-device-free-to-remove-routine.patch
+%patch679 -p1
+# linux-2.6.36-spi-ifx6x60-back-to-back-transfer-support.patch
+%patch680 -p1
+# linux-2.6.36-spi-ifx6x60-add-blank-modem-support.patch
+%patch681 -p1
+# linux-2.6.36-serial-ifx6x60-new-ioctls-to-get-set-spi-msg-length.patch
+%patch682 -p1
+# linux-2.6.36-serial-ifx6x60-kmalloc-strength-reduction.patch
+%patch683 -p1
+# linux-2.6.36-serial-ifx6x60-improve-error-handling-in-probe-routine.patch
+%patch684 -p1
+# linux-2.6.36-serial-ifx6x60-eliminate-use-of-virt_to_phys.patch
+%patch685 -p1
+# linux-2.6.36-serial-ifx6x60-clear-spi-drvdata-on-device-remove.patch
+%patch686 -p1
+# linux-2.6.36-serial-ifx6x60-remove-dead-open-state-code.patch
+%patch687 -p1
+# linux-2.6.36-serial-ifx6x60-remove-unneeded-work-queue-task.patch
+%patch688 -p1
+# linux-2.6.36-serial-ifx6x60-remove-unneeded-init_termios-code.patch
+%patch689 -p1
+# linux-2.6.36-serial-ifx6x60-code-refactoring.patch
+%patch690 -p1
+# linux-2.6.36-serial-ifx6x60-remove-unneeded-port_get-call.patch
+%patch691 -p1
+# linux-2.6.36-serial-ifx6x60-remove-single-device-restriction.patch
+%patch692 -p1
+# linux-2.6.36-serial-ifx6x60-free-irq-on-error.patch
+%patch693 -p1
+# linux-2.6.36-serial-ifx6x60-fix-memory-leak.patch
+%patch694 -p1
+# linux-2.6.36-serial-ifx6x60-set-rts-bit-in-outbound-spi-msg.patch
+%patch695 -p1
+# linux-2.6.36-serial-ifx6x60-add-clarifying-comments.patch
+%patch696 -p1
+# linux-2.6.36-serial-ifx6x60-increase-max-spi-freq-to-25mhz.patch
+%patch697 -p1
+# linux-2.6.36-serial-ifx6x60-fix-use-of-low_latency.patch
+%patch698 -p1
+# linux-2.6.36-serial-ifx6x60-fix-pm-activity-bug.patch
+%patch699 -p1
+
+# linux-2.6.36-spi-pw-spi-clear-msg-ptr-at-end-of-spi-transaction.patch
+%patch700 -p1
+# linux-2.6.36-spi-pw-spi-change-runtime-pm-initialization.patch
+%patch701 -p1
+# linux-2.6.36-spi-pw-spi-runtime-pm-replace-pci-prepare-to-sleep.patch
+%patch702 -p1
+# linux-2.6.36-spi-pw-spi-fix-compilation-warnings.patch
+%patch703 -p1
+# linux-2.6.36-spi-pw-spi-add-runtime-idle-routine-for-runtime-pm.patch
+%patch704 -p1
+# linux-2.6.36-spi-pw-spi-return-retryable-error-during-runtime-resume.patch
+%patch705 -p1
+# linux-2.6.36-spi-pw_spi-fix-corruption-of-device-state.patch
+%patch706 -p1
+# linux-2.6.36-spi-pw_spi-fix-bug-changing-bits_per_word.patch
+%patch707 -p1
+# linux-2.6.36-spi-pw_spi-fix-dma-unmap-problem.patch
+%patch708 -p1
+# linux-2.6.36-spi-pw_spi-correct-length-boundaries.patch
+%patch709 -p1
+# linux-2.6.36-spi-pw_spi-use-likely-unlikely-in-dma_transfer-patch.patch
+%patch710 -p1
+# linux-2.6.36-spi-pw_spi-release-dma-channels-when-not-active.patch
+%patch711 -p1
+# linux-2.6.36-spi-pw_spi-add-work_queue-for-pm_runtime-resume-work.patch
+%patch712 -p1
+
+# linux-2.6.36-remove-old-intel_mid_ssp_spi_driver.patch
+%patch713 -p1
+# linux-2.6.36-spi-rename-pw_spi3-to-intel_mid_ssp_spi.patch
+%patch714 -p1
+# linux-2.6.36-intel_mid_ssp_spi-add-missing-iounmap-call.patch
+%patch715 -p1
+# linux-2.6.36-spi-intel_mid_ssp_spi-release-dma-channels-on-d0i3-entry.patch
+%patch716 -p1
+
+# linux-2.6.36-27.010-mux-driver-code-cleanup.patch
+%patch717 -p1
+# linux-2.6.36-Bug-fixes-for-the-27.010-mux-driver.patch
+%patch718 -p1
+# linux-2.6.36-n-gsm-copy-mtu.patch 
+%patch719 -p1
+# linux-2.6.36-n-gsm-fix-message-length-handling.patch
+%patch720 -p1
+# linux-2.6.36-n-gsm-add-null-check-for-data-alloc-pointer.patch 
+%patch721 -p1
+# linux-2.6.36-n_gsm-add-raw-ip-support.patch
+%patch722 -p1
+# linux-2.6.36-n_gsm-generate-gsmtty-device-nodes.patch
+%patch723 -p1
+# linux-2.6.36-n_gsm-ioctl-for-network-setup.patch
+%patch724 -p1
+# linux-2.6.36-n_gsm-fix-max-mtu-size-issue.patch
+%patch725 -p1
+# linux-2.6.36-n_gsm-allow-interface-name-settings.patch
+%patch726 -p1
+# linux-2.6.36-n_gsm-fix-tx_bytes-not-being-updated-properly.patch
+%patch727 -p1
+# linux-2.6.36-n_gsm-fix-kernel-crash-on-mux-deactivate.patch
+%patch728 -p1
+# linux-2.6.36-n_gsm-prevent-possible-crash.patch 
+%patch729 -p1
+# linux-2.6.36-n_gsm-add-lock-to-create-destroy-ioctls.patch
+%patch730 -p1
+
+# HSI
+# linux-2.6.36-mrst.c-hsi-add-sfi-dev.patch
+%patch731 -p1
+# linux-2.6.36-hsi-platform-data-structures-to-hsi-system.patch
+%patch732 -p1
+# linux-2.6.36-mrst.c-hsi-add-platform-data.patch
+%patch733 -p1
+
+# watchdog
+# linux-2.6.36-watchdog-fix-system-hang-issue-when-dmse-enabled.patch
+%patch734 -p1
+
+# PTI / debug port related patches
+# linux-2.6.35-remove-pti-driver.patch
+%patch735 -p1
+# linux-2.6.37-ac-pti-backport-2010-12-15.patch
+%patch736 -p1
+# linux-2.6.36-pti-fix-interleaving-calls.patch
+%patch737 -p1
+# linux-2.6.36-pti-move-console-from-boot-console-to-normal-console.patch
+%patch738 -p1
+# linux-2.6.36-pti-linux-kernel-documentation-for-pti-subsys.patch
+%patch739 -p1
+# linux-2.6.36-pti-sparse-cleanup-for-linux-upstream.patch
+%patch740 -p1
+
+# tracerouter & tracesink
+# linux-2.6.35-remove-ptirouter.patch
+%patch741 -p1
+# linux-2.6.37-ac-tracesink-backport-2010-12-15.patch
+%patch742 -p1
+# linux-2.6.36-n_tracesink-sparse-cleanup.patch
+%patch743 -p1
+# linux-2.6.37-ac-tracerouter-backport-2010-12-15.patch
+%patch744 -p1
+# linux-2.6.36-n_tracerouter-sparse-cleanup.patch
+%patch745 -p1
+
+# Touch screen patches
+# linux-2.6.36-input-evdev-increase-input-event-circular-buffer-size.patch
+%patch746 -p1
+# linux-2.6.35-fix-build-for-cy8ctmg110-driver.patch
+%patch747 -p1
+# linux-2.6.36-cptm-avoid-null-pointer-deref.patch
+%patch748 -p1
+# linux-2.6.36-cptm-sync-on-finger-lift.patch
+%patch749 -p1
+# linux-2.6.36-cptm-uninitialized-var.patch
+%patch750 -p1
+
+# linux-2.6.36-atmel-touch-backport.patch
+%patch751 -p1
+# linux-2.6.36-atmel-use-factory-settings.patch
+%patch752 -p1
+# linux-2.6.36-atmel-mrst-integration.patch
+%patch753 -p1
+# linux-2.6.36-atmel-2.patch
+%patch754 -p1
+# linux-2.6.36-atmel-3.patch
+%patch755 -p1
+# linux-2.6.36-atmel-multitouch.patch
+%patch756 -p1
+# linux-2.6.36-atmel-fix-multitouch-event-issue.patch
+%patch757 -p1
+# linux-2.6.36-mrst.c-set-default-ts-orientation.patch
+%patch758 -p1
+# linux-2.6.36-atmel-set-default-ts-orientation.patch
+%patch759 -p1
+# linux-2.6.36-atmel-fix-name-defines.patch
+%patch760 -p1
+# linux-2.6.36-atmel-fix-extra-finger-up-down-events.patch
+%patch761 -p1
+
+# linux-2.6.36-cyttsp-add-sTMA3406.patch
+%patch762 -p1
+# linux-2.6.36-cyttsp-mrst-c.patch
+%patch763 -p1
+# linux-2.6.36-cyttsp-low-power-mode.patch
+%patch764 -p1
+# linux-2.6.36-cyttsp-fix-read-retry-issue.patch
+%patch765 -p1
+# linux-2.6.36-cyttsp-correct-platform_data.patch
+%patch766 -p1
+# linux-2.6.36-cyttsp-enable-multitouch-support.patch
+%patch767 -p1
+# linux-2.6.36-cyttsp-remove-tracking-id.patch
+%patch768 -p1
+
+# keypad
+# linux-2.6.36-keypad-tc35894xbg-fix-keypad-poll-rate.patch
+%patch769 -p1
+
+# Various sensors connected to i2c
+# linux-2.6.35-lednames.patch
+%patch770 -p1
+# linux-2.6.36-mfd-led-flash.patch
+%patch771 -p1
+# linux-2.6.35-apds9802als-fix-als-sensing-range-value.patch
+%patch772 -p1
+# linux-2.6.36-apds9802als-runtime-pm.patch
+%patch773 -p1
+# linux-2.6.36-apds9802als-fix-runtime-pm.patch
+%patch774 -p1
+# linux-2.6.36-ak8974-add-runtime-pm.patch
+%patch775 -p1
+# linux-2.6.36-ak8974-optimize-i2c-transaction.patch
+%patch776 -p1
+# linux-2.6.36-ak8974-add-selftest-support.patch
+%patch777 -p1
+# linux-2.6.36-apds9802ps-fix-runtime-pm.patch
+%patch778 -p1
+# linux-2.6.36-hwmon-device-driver-for-ak8975-eCompass.patch
+%patch779 -p1
+# linux-2.6.36-ak8975-improve-error-handling.patch
+%patch780 -p1
+
+# linux-2.6.37-APDS990X-upstream.patch
+%patch781 -p1
+# linux-2.6.37-APDS990X-backport.patch
+%patch782 -p1
+# linux-2.6.37-APDS990X-driver-name.patch
+%patch783 -p1
+# linux-2.6.37-APDS990X-resource-setup.patch
+%patch784 -p1
+# linux-2.6.37-APDS990X-mrst-c-part.patch
+%patch785 -p1
+# linux-2.6.37-apds990x-workaround-for-CONFIG_REGULATOR_DUMMY-being-off.patch
+%patch786 -p1
+# linux-2.6.37-apds990x-mrst.c-workaround-for-CONFIG_REGULATOR_DUMMY-being-off.patch
+%patch787 -p1
+
+# GPS & NFC drivers
+# linux-2.6.36-broadcom-gps.patch
+%patch788 -p1
+# linux-2.6.36-nfc-NXP-PN544.patch
+%patch789 -p1
+
+# linux-2.6.35-lis-pm-init-fix.patch
+%patch790 -p1
+# linux-2.6.36-lis-single-click.patch
+%patch791 -p1
+# linux-2.6.36-lis3-6d-support.patch
+%patch792 -p1
+# linux-2.6.36-lis3-add-selftest-to-16bit-lis3dh-accelerometer.patch
+%patch793 -p1
+
+# Various devices connected to SPI
+# linux-2.6.35-mrst_max3110-Make-the-IRQ-option-runtime.patch
+%patch794 -p1
+# linux-2.6.35-mrst-max3110-HACK-adaptive-polling-control.patch
+%patch795 -p1
+
+# wifi/bluetooth connectivity
+# linux-2.6.36-wl1271-add-platform_data.patch
+%patch796 -p1
+# linux-2.6.36-mrst.c-add-platform-support-for-wl12xx.patch
+%patch797 -p1
+# linux-2.6.36-mrst.c-Add-btfm_init-to-enable-bluetooth.patch
+%patch798 -p1
+# linux-2.6.36-Section-mismatch-warning-from-mrst.c.patch
+%patch799 -p1
+
+# battery driver
+# linux-2.6.36-intel_mid-Intel-MSIC-battery-driver.patch
+%patch800 -p1
+# linux-2.6.36-intel_mid-Medfield-battery-driver-tidy-up.patch
+%patch801 -p1
+# linux-2.6.36-Register-Initialization-and-conversion-of-coulombs-t.patch
+%patch802 -p1
+# linux-2.6.36-Added-support-for-Emergency-call-Charging.patch
+%patch803 -p1
+# linux-2.6.36-Added-Support-for-status-monitoring.patch
+%patch804 -p1
+# linux-2.6.36-Added-Support-for-Fuel-Gauging.patch
+%patch805 -p1
+# linux-2.6.36-Added-Support-for-SW-Charge-Termination.patch
+%patch806 -p1
+# linux-2.6.36-battery-emergency-call-charging-fix.patch
+%patch807 -p1
+# linux-2.6.36-battery-add-charger-type-support.patch
+%patch808 -p1
+# linux-2.6.36-battery-clean-nested-locking.patch
+%patch809 -p1
+# linux-2.6.36-battery-code-cleanup-and-format-fixes.patch
+%patch810 -p1
+# linux-2.6.36-battery-add-support-for-weak-vim.patch
+%patch811 -p1
+# linux-2.6.36-battery-remove-charge-type-property-from-usb-charger.patch
+%patch812 -p1
+# linux-2.6.36-battery-charge-full-design-attribute.patch
+%patch813 -p1
+# linux-2.6.36-battery-charger-enable-or-disable-from-user-space.patch
+%patch814 -p1
+# linux-2.6.36-battery-modify-discharge-curve-lookup-function.patch
+%patch815 -p1
+# linux-2.6.36-battery-update-disconnect-status-function.patch
+%patch816 -p1
+# linux-2.6.36-battery-cleanup-charge-cycle-counting-function.patch
+%patch817 -p1
+# linux-2.6.36-battery-adaptive-monitoring-support.patch
+%patch818 -p1
+# linux-2.6.36-battery-fix-adc-init-issue.patch
+%patch819 -p1
+# linux-2.6.36-battery-charger-led-disable-fix.patch
+%patch820 -p1
+# linux-2.6.36-battery-charger-disable-fix.patch
+%patch821 -p1
+# linux-2.6.36-battery-add-delayed-work-to-handle-otg-event.patch
+%patch822 -p1
+# linux-2.6.36-battery-change-event_lock-from-spinlock-to-mutex.patch
+%patch823 -p1
+# linux-2.6.36-battery-fix-KFIFO_FULL-message-on-USB-cable-insertion.patch
+%patch824 -p1
+#linux-2.6.36-battery-mask-battery-detect-intr.patch
+#linux-2.6.36-battery-sysfs-temperature.patch
+#linux-2.6.36-battery-fix-emergency-charging.patch
+#linux-2.6.36-battery-enable-charger-low-power-mode.patch
+#linux-2.6.36-battery-fix-sysfs-charger-interface.patch
+#linux-2.6.36-battery-update-discharge-curve-table.patch
+
+# other drivers
+# linux-2.6.35-keycodes-fixup.patch
+%patch825 -p1
+# linux-2.6.35-backlight-fixup.patch 
+%patch826 -p1
+
+# Rar register driver - backported from linux-next 2.6.37 kernel
+# linux-2.6.37-rar-register-backport.patch
+%patch827 -p1
+
+# Chaabi SEP driver - backported from linux-next 2.6.37 kernel
+# linux-2.6.35-Staging-sep-removing-sep-driver.patch
+%patch828 -p1
+# linux-2.6.37-Staging-sep-driver-backport.patch
+%patch829 -p1
+# linux-2.6.37-Staging-sep-minimal-fix-for-wrong-include.patch
+%patch830 -p1
+# linux-2.6.37-Staging-sep-handle-rar-definition.patch
+%patch831 -p1
+# linux-2.6.37-Staging-sep-handle-memrar-stuff-in-the-headers.patch
+%patch832 -p1
+# linux-2.6.37-Staging-sep-netlink-what-netlink.patch
+%patch833 -p1
+# linux-2.6.37-Staging-sep-clean-up-caller_id-function.patch
+%patch834 -p1
+# linux-2.6.37-Staging-sep-Fix-the-kernel-doc-in-SEP.patch
+%patch835 -p1
+# linux-2.6.37-Staging-sep-clean-up-some-of-the-obvious-sillies.patch
+%patch836 -p1
+# linux-2.6.37-Staging-sep-Use-kzalloc-when-needed.patch
+%patch837 -p1
+# linux-2.6.37-Staging-sep-Make-SEP-consistent.patch
+%patch838 -p1
+# linux-2.6.37-Staging-sep-cant-is-an-angular-inclination.patch
+%patch839 -p1
+# linux-2.6.37-Staging-sep-clean-up-a-couple-of-spots-missed-in-pas.patch
+%patch840 -p1
+# linux-2.6.37-Staging-sep-Fix-crash-if-a-device-is-not-found.patch
+%patch841 -p1
+# linux-2.6.37-Staging-sep-do-not-select-the-driver-by-default.patch
+%patch842 -p1
+# linux-2.6.37-staging-sep-Fix-sparse-warning-do-while-statement-is.patch
+%patch843 -p1
+# linux-2.6.37-staging-sep-Fix-sparse-warning-Using-plain-integer-a.patch
+%patch844 -p1
+# linux-2.6.37-staging-sep-Fix-printk-format-warning.patch
+%patch845 -p1
+# linux-2.6.37-Staging-sep-remove-virtual-address-being-passed-to-u.patch
+%patch846 -p1
+# linux-2.6.37-Staging-sep-remove-spaces-at-end-of-lines.patch
+%patch847 -p1
+# linux-2.6.37-Staging-sep-sram_addr-is-32-bit-this-is-not-a-kernel.patch
+%patch848 -p1
+# linux-2.6.37-Staging-sep-clean-up-error-checking-in-probe-functio.patch
+%patch849 -p1
+# linux-2.6.37-Staging-sep-initialize-driver-copy-of-send-and-recei.patch
+%patch850 -p1
+# linux-2.6.37-Staging-sep-remove-code-for-Moorestown-device.patch
+%patch851 -p1
+# linux-2.6.37-Staging-sep-remove-completed-items-in-TODO.patch
+%patch852 -p1
+# linux-2.6.37-Staging-sep-limit-time-to-wait-for-reconfig-shared-a.patch
+%patch853 -p1
+# linux-2.6.37-Staging-sep-reduce-64-and-32-bit-compile-warnings.patch
+%patch854 -p1
+# linux-2.6.37-Staging-sep-ensure-that-caller-id-buffer-is-little-e.patch
+%patch855 -p1
+# linux-2.6.37-Staging-sep-eliminate-kernel-crash-due-to-null-param.patch
+%patch856 -p1
+# linux-2.6.37-Staging-sep-fix-comments-in-sep_get_static_pool_addr.patch
+%patch857 -p1
+# linux-2.6.37-Staging-sep-update-driver-for-CC-5.2-version-3.4.5.patch
+%patch858 -p1
+# linux-2.6.37-Staging-sep-rename-sep-driver.c-to-sep-main.c.patch
+%patch859 -p1
+# linux-2.6.37-Staging-sep-update-Makefile-and-Kconfig.patch
+%patch860 -p1
+# linux-2.6.37-Staging-sep-add-sep_crypto-resources.patch
+%patch861 -p1
+# linux-2.6.37-Staging-sep-update-headers.patch
+%patch862 -p1
+# linux-2.6.37-Staging-sep-sep-main.c-updates.patch
+%patch863 -p1
+
+# over current detection driver
+# linux-2.6.36-over-current-detection.patch
+%patch864 -p1
+# linux-2.6.36-over-current-detection-mrst.c.patch
+%patch865 -p1
+# linux-2.6.36-over-current-detection-fix-bcu-status-input.patch
+%patch866 -p1
+
+# Medfield thermal driver
+# linux-2.6.36-hwmon-thermal-adding-dts-support.patch
+%patch867 -p1
+# linux-2.6.36-Medfield_Thermal_Driver_Rework.patch
+%patch868 -p1
+# linux-2.6.36-thermal-enhance-adc-to-temperature-conversion.patch
+%patch869 -p1
+# linux-2.6.36-thermal-sys-added-generic-originators.patch
+%patch870 -p1
+# linux-2.6.36-hwmon-coretemp-thermal-event-notification-support.patch
+%patch871 -p1
+
+# Power Button driver
+# linux-2.6.36-powerbutton-add-power-button-driver.patch
+%patch872 -p1
+# linux-2.6.36-powerbutton-mrst.c-implement-power-off-and-reboot.patch
+%patch873 -p1
+
+# gyroscope
+# linux-2.6.36-l3g4200-gyroscope-driver.patch
+%patch874 -p1
+# linux-2.6.36-l3g4200-mrst.c-gyroscope.patch
+%patch875 -p1
+# linux-2.6.36-l3g4200-gyroscope-regulator-workaround.patch
+%patch876 -p1
+
+# compat-wireless-2011-01-30
+# linux-2.6.36-fastforward-compat-to-lucas-tree-Thu-Jan-13-commit-a.patch
+%patch877 -p1
+# linux-2.6.36-wl12xx-mcp2.5-add-config_ps-acx.patch
+%patch878 -p1
+# linux-2.6.36-wl12xx-move-to-new-firmware-mcp-2.5.patch
+%patch879 -p1
+# linux-2.6.36-wl12xx-use-the-conf-struct-instead-of-macros-for-mem.patch
+%patch880 -p1
+# linux-2.6.36-wl12xx-add-a-few-debug-prints.patch
+%patch881 -p1
+# linux-2.6.36-wl12xx-move-IRQ-polarity-setting-after-FW-download.patch
+%patch882 -p1
+# linux-2.6.36-wl12xx-1281-1283-chip-support-Add-Definitions.patch
+%patch883 -p1
+# linux-2.6.36-wl12xx-1281-1283-chip-support-acx-commands.patch
+%patch884 -p1
+# linux-2.6.36-wl12xx-1281-1283-chip-support-ini-radio-structures.patch
+%patch885 -p1
+# linux-2.6.36-wl12xx-1281-1283-chip-support-functionality.patch
+%patch886 -p1
+# linux-2.6.36-wl12xx-BA-initiator-support.patch
+%patch887 -p1
+# linux-2.6.36-wl12xx-BA-receiver-support.patch
+%patch888 -p1
+# linux-2.6.36-wl12xx-config-makefile-compat-adaptation.patch
+%patch889 -p1
+# linux-2.6.36-wl12xx-Load-firmware-and-nvs-file-for-1273-or-1283.patch
+%patch890 -p1
+# linux-2.6.36-wl12xx-Add-channel-14-to-list-of-supported-2ghz-channels.patch
+%patch891 -p1
+
+#
+# End of the Moorestown and Medfield architecture patches
+#
+#####################################################################
+
+
+
+
+#####################################################################
+#
+# Nokia N900 patches
+# Section maintainer: Ameya Palande <ameya.palande at nokia.com>
+#
+
+# Hacks
+#linux-2.6-Hacks-for-Nokia-N900.patch
+# Touch screen
+#linux-2.6.36-Introduce-and-enable-tsc2005-driver.patch
+# GPU
+#linux-2.6-SGX-PVR-driver-for-N900.patch
+# Bluetooth
+#linux-2.6-Bluetooth-Support-for-n900-bluetooth-hardware.patch
+# TWL4030 MADC (Battery Charging)
+#linux-2.6-mfd-twl4030-Driver-for-twl4030-madc-module.patch
+#linux-2.6-mfd-implement-twl4030-poweroff.patch
+#linux-2.6-HACK-mfd-twl4030-power-disable-scripts.patch
+# Ambient light sensor
+#linux-2.6.36-omap-rx51-Platform-support-for-tsl2563-ALS.patch
+# Accelerometer
+#linux-2.6.36-omap-rx51-Platform-support-for-lis3lv02d-acceleromet.patch
+# Fixes
+#linux-2.6.36-wl1251-Use-MODULE_ALIAS-macro-at-correct-postion-for.patch
+# Cellular modem support
+# Introduce EEM support in g_nokia which should fix usb networking
+# linux-2.6.37-EEM-support-for-g_nokia.patch
+%patch900 -p1
+
+# linux-2.6-n900-modem-support.patch
+%patch901 -p1
+
+# omap3isp-rx51 driver
+# TI dspbridge driver
+#linux-2.6.36-tidspbridge.patch
+# lp5523 platform data for rx51 board
+# usb charger platform device support
+# isp1704 usb charger detection driver
+# linux-2.6.37-power_supply-add-isp1704-charger-detection-driver.patch
+%patch902 -p1
+# linux-2.6.37-power_supply-add-types-for-USB-chargers.patch
+%patch903 -p1
+# linux-2.6-usb-musb-ignore-spurious-SESSREQ-interrupts.patch
+%patch904 -p1
+
+#Bugfixes
+#linux-2.6.37-N900-Set-keypad-slide-gpio-as-active-low.patch
+
+# linux-2.6.36-Adding-CS_FEAT_BURST_MODE-for-cmt_speech-driver.patch
+%patch905 -p1
+# linux-2.6.36-cmt-speech-add-ul-timer.patch
+%patch906 -p1
+
+#
+# End of the Nokia N900 patches
+#
+#####################################################################
+
+
+
+
+#####################################################################
+#
+# Netbook hardware patches
+# Section maintainer: Yong Wang <yong.y.wang at intel.com> 
+#
+
+#
+# Quiet down some printks that shows up falsly during boot
+#
+#linux-2.6.29-silence-acer-message.patch
+# spurious debug spew
+#linux-2.6.34-rt2860-no-debug.patch
+# Fix 2 bugs in the rt2860 driver
+#linux-2.6.33-rt2860-1-2.patch
+#linux-2.6.33-rt2860-2-2.patch
+
+
+#
+# End of the Netbook hardware patches
+#
+#####################################################################
+
+
+#####################################################################
+#
+# IVI hardware patches
+# Section maintainer: Yin Kangkai <kangkai.yin at intel.com>
+#
+
+#linux-2.6.36-ivi-workaround-touchscreen-bugs.patch
+#linux-2.6.36-mfd-platform-null.patch
+
+
+#
+# End of the IVI hardware patches
+#
+#####################################################################
+
+
+#####################################################################
+#
+# Intel Integrated Graphics patches
+# Section maintainer:  Li Peng <peng.li at intel.com>
+#
+
+#
+# KMS (note: upstream backports go in the backport section higher up!)
+#
+#linux-2.6.29-kms-edid-cache.patch
+#linux-2.6.29-kms-run-async.patch
+#linux-2.6.29-kms-after-sata.patch
+
+
+#
+# End of the Intel Integrated Graphics patches
+#
+#####################################################################
+
+
+
+#####################################################################
+#
+# Boot time and power patches
+# Section maintainer:  Arjan van de Ven <arjan at linux.intel.com
+#
+
+#
+# Patch to try mounting / before all devices (the mouse)
+# are done probing. This saves several seconds of boot time.
+#
+# linux-2.6.29-dont-wait-for-mouse.patch
+%patch1300 -p1
+#
+# Patch to support the old sreadahead versions
+#
+# linux-2.6.29-sreadahead.patch
+%patch1301 -p1
+
+#
+# USB Selective Suspend patches
+#
+# linux-2.6-usb-uvc-autosuspend.patch
+%patch1302 -p1
+# linux-2.6-usb-bt-autosuspend.patch
+%patch1303 -p1
+
+#
+# Patches to help PowerTOP
+#
+# linux-2.6.33-vfs-tracepoints.patch
+%patch1304 -p1
+# linux-2.6.33-ahci-alpm-accounting.patch
+%patch1305 -p1
+# linux-2.6.36-powertop-timer-tracing.patch
+%patch1306 -p1
+
+#
+# Fix the slab timer to not be a power hog
+#
+# linux-2.6.35-slab-timer.patch
+%patch1307 -p1
+
+#
+# Fix Linux deliberately skewing the timer for 
+# historic reasons that are no longer true.
+#
+# linux-2.6.35-dont-skew-the-tick.patch
+%patch1308 -p1
+
+#
+# End of the boot time and power patches
+#
+#####################################################################
+
+
+
+#####################################################################
+#
+# All other patches
+# 
+
+
+
+# Multitouch input driver for event devices
+#linux-2.6.34-multi-touch-input-driver-for-event-devices.patch
+
+# Enable stantum and cando drivers to use mtdev driver
+#linux-2.6.34-enable-hid-dg-contact-count-stantum-and-cando-touch-drivers.patch
+
+# turn on "print fatal signals" by default, so that we can debug /sbin/init
+# crashes
+# linux-2.6.35-fatal-signals.patch
+%patch1309 -p1
+
+
+
+# Drop some necessary files from the source dir into the buildroot
+cp $RPM_SOURCE_DIR/config-* .
+cp %{SOURCE15} .
+
+# Dynamically generate kernel .config files from config-* files
+make -f %{SOURCE20} VERSION=%{version} configs
+
+
+# Any further pre-build tree manipulations happen here.
+
+chmod +x scripts/checkpatch.pl
+
+cp %{SOURCE10} Documentation/
+
+
+mkdir configs
+
+#
+# We want to run the config checks of all configurations for all architectures always.
+# That way, developers immediately found out if they forget to enable not-their-native
+# architecture. It's cheap to run anyway.
+#
+
+# now run oldconfig over all the config files
+for i in kernel-*.config
+do
+  mv $i .config
+  Arch="x86"
+
+  #get ARCH from .config file for other platforms
+  if [ `cat .config | grep -c CONFIG_ARM=y` -eq 1 ]; then
+    Arch="arm"
+  fi
+
+  # make oldconfig > /dev/null
+  echo Doing $i
+  make ARCH=$Arch %{oldconfig_target} > /dev/null
+  echo "# $Arch" > configs/$i
+  cat .config >> configs/$i
+done
+
+#
+# get rid of unwanted files resulting from patch fuzz
+# (not that we can have any)
+#
+find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
+
+cd ..
+
+
+###
+### build
+###
+%build
+
+
+cp_vmlinux()
+{
+  eu-strip --remove-comment -o "$2" "$1"
+}
+
+BuildKernel() {
+    MakeTarget=$1
+    KernelImage=$2
+    TargetArch=$3
+    Flavour=$4
+    InstallName=${5:-vmlinuz}
+
+    # Pick the right config file for the kernel we're building
+    Config=kernel${Flavour:+-${Flavour}}.config
+    DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+-${Flavour}}
+
+    # When the bootable image is just the ELF kernel, strip it.
+    # We already copy the unstripped file into the debuginfo package.
+    if [ "$KernelImage" = vmlinux ]; then
+      CopyKernel=cp_vmlinux
+    else
+      CopyKernel=cp
+    fi
+
+    KernelVer=%{version}-%{release}${Flavour:+-${Flavour}}
+    ExtraVer=%{?stablerev}%{?rctag}-%{release}${Flavour:+-${Flavour}}
+    Arch="x86"
+%ifarch %{all_arm}
+    Arch="arm"
+%endif
+   
+
+    if [ "$Arch" = "$TargetArch" ]; then
+        echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}... ${KernelVer}
+        echo USING ARCH=$Arch
+
+        # make sure EXTRAVERSION says what we want it to say
+        perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = ${ExtraVer}/" Makefile
+
+        # and now to start the build process
+
+        make -s mrproper
+        cp configs/$Config .config
+
+        make -s ARCH=$Arch %{oldconfig_target} > /dev/null
+        make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
+        make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
+
+%ifnarch %{all_arm}
+ 	cd compat-wireless-%{compat_wireless_ver}
+ 	make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch KLIB=../ KLIB_BUILD=../ %{?_smp_mflags}
+ 	cd ..
+%endif
+
+        # Start installing the results
+        mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
+        install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
+        install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
+        touch $RPM_BUILD_ROOT/boot/initrd-$KernelVer.img
+        if [ -f arch/$Arch/boot/zImage.stub ]; then
+          cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
+        fi
+        $CopyKernel $KernelImage \
+        		$RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
+        chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
+
+        mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
+        make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
+%ifnarch %{all_arm}
+        make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
+	cd compat-wireless-%{compat_wireless_ver}
+	make -s -i ARCH=$Arch KLIB=$RPM_BUILD_ROOT/lib/modules/$KernelVer KLIB_BUILD=$RPM_BUILD_ROOT/lib/modules/$KernelVer/build KMODDIR="../../../updates" install
+	rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/lib
+	cd ..
+%endif
+
+	mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
+
+        # And save the headers/makefiles etc for building modules against
+        #
+        # This all looks scary, but the end result is supposed to be:
+        # * all arch relevant include/ files
+        # * all Makefile/Kconfig files
+        # * all script/ files
+
+        rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
+        mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
+        # dirs for additional modules per module-init-tools, kbuild/modules.txt
+        # first copy everything
+        cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        if [ -s Module.markers ]; then
+          cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        fi
+        # then drop all but the needed Makefiles/Kconfig files
+        rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
+        rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
+        rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
+        cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+        if [ -d arch/%{_arch}/scripts ]; then
+          cp -a arch/%{_arch}/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
+        fi
+        if [ -f arch/%{_arch}/*lds ]; then
+          cp -a arch/%{_arch}/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
+        fi
+        rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
+        rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
+        cp -a --parents arch/$Arch/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+%ifarch %{all_arm}
+       cp -a --parents arch/arm/mach-*/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+       cp -a --parents arch/arm/plat-*/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+%endif
+        mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
+        cd include
+        cp -a acpi asm-generic config crypto drm generated keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound video trace $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
+    
+        # Make sure the Makefile and version.h have a matching timestamp so that
+        # external modules can be built
+        touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
+        touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
+        # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
+        cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
+        cd ..
+
+        #
+        # save the vmlinux file for kernel debugging into the kernel-*-devel rpm
+        #
+        
+        cp vmlinux $RPM_BUILD_ROOT/lib/modules/$KernelVer
+
+        find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
+
+        # mark modules executable so that strip-to-file can strip them
+        xargs --no-run-if-empty chmod u+x < modnames
+
+        # Generate a list of modules for block and networking.
+
+        fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
+        sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
+
+        collect_modules_list()
+        {
+          sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
+          LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
+        }
+
+        collect_modules_list networking \
+        			 'register_netdev|ieee80211_register_hw|usbnet_probe'
+        collect_modules_list block \
+        			 'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans'
+
+        # remove files that will be auto generated by depmod at rpm -i time
+        for i in alias ccwmap dep ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols usbmap
+        do
+          rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
+        done
+
+        # Move the devel headers out of the root file system
+        mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
+        mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
+        ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+    fi
+}
+
+###
+# DO it...
+###
+
+# prepare directories
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/boot
+
+cd linux-%{kversion}
+
+BuildKernel %make_target %kernel_image x86 adaptation-medfield-kboot
+
+###
+### install
+###
+
+%define install  %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
+%%install
+
+
+%install
+
+cd linux-%{kversion}
+
+#
+# the perf utility
+#
+
+rm -rf $RPM_BUILD_ROOT/lib/firmware
+
+
+###
+### clean
+###
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+###
+### scripts
+###
+
+#
+# This macro defines a %%post script for a kernel*-devel package.
+#	%%kernel_devel_post <subpackage>
+#
+%define kernel_devel_post() \
+%{expand:%%post -n kernel-%{?1:%{1}-}devel}\
+if [ -x /usr/sbin/hardlink ]\
+then\
+    (cd /usr/src/kernels/%{KVERREL}%{?1:-%{1}} &&\
+     /usr/bin/find . -type f | while read f; do\
+       hardlink -c /usr/src/kernels/*/$f $f\
+     done)\
+fi\
+%{nil}
+
+# This macro defines a %%posttrans script for a kernel package.
+#	%%kernel_variant_posttrans [-v <subpackage>] [-s <s> -r <r>] <mkinitrd-args>
+# More text can follow to go at the end of this variant's %%post.
+#
+%define kernel_variant_posttrans(s:r:v:) \
+%{expand:%%posttrans -n kernel-%{?-v*}}\
+/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --rpmposttrans %{KVERREL}%{?-v:-%{-v*}} || exit $?\
+%{nil}
+
+#
+# This macro defines a %%post script for a kernel package and its devel package.
+#	%%kernel_variant_post [-v <subpackage>] [-s <s> -r <r>] <mkinitrd-args>
+# More text can follow to go at the end of this variant's %%post.
+#
+%define kernel_variant_post(s:r:v:) \
+%{expand:%%kernel_devel_post %{?-v*}}\
+%{expand:%%kernel_variant_posttrans %{?-v*}}\
+%{expand:%%post -n kernel-%{?-v*}}\
+/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{*} %{KVERREL}%{?-v:-%{-v*}} || exit $?\
+%{nil}
+
+#
+# This macro defines a %%preun script for a kernel package.
+#	%%kernel_variant_preun <subpackage>
+#
+%define kernel_variant_preun() \
+%{expand:%%preun -n kernel-%{?1}}\
+/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:-%{1}} || exit $?\
+%{nil}
+
+
+%kernel_variant_preun adaptation-medfield-kboot
+%kernel_variant_post -v adaptation-medfield-kboot
+
+###
+### file lists
+###
+
+
+
+#
+# This macro defines the %%files sections for a kernel package
+# and its devel packages.
+#	%%kernel_variant_files [-k vmlinux] [-a <extra-files-glob>] [-e <extra-nonbinary>] <condition> <subpackage>
+#
+%define kernel_variant_files(a:e:k:) \
+%ifarch %{1}\
+%{expand:%%files -n kernel%{?2:-%{2}}}\
+%defattr(-,root,root)\
+/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:-%{2}}\
+/boot/System.map-%{KVERREL}%{?2:-%{2}}\
+#/boot/symvers-%{KVERREL}%{?2:-%{2}}.gz\
+/boot/config-%{KVERREL}%{?2:-%{2}}\
+%{?-a:%{-a*}}\
+%dir /lib/modules/%{KVERREL}%{?2:-%{2}}\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/kernel\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/updates\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/build\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/source\
+%ifnarch %{all_arm}\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/vdso\
+%endif\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.block\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.dep.bin\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.alias.bin\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.symbols.bin\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.networking\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.order\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/modules.builtin*\
+%ghost /boot/initrd-%{KVERREL}%{?2:-%{2}}.img\
+%{?-e:%{-e*}}\
+%{expand:%%files -n kernel-%{?2:%{2}-}devel}\
+%defattr(-,root,root)\
+%verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:-%{2}}\
+/lib/modules/%{KVERREL}%{?2:-%{2}}/vmlinux \
+%endif\
+%{nil}
+
+
+%kernel_variant_files %all_x86 adaptation-medfield-kboot
--- kernel-adaptation-medfield.spec
+++ kernel-adaptation-medfield.spec
@@ -113,8 +113,8 @@
 AutoProv: yes\
 %{nil}
 
-Name: kernel-adaptation-medfield
 
+Name: kernel-adaptation-medfield
 
 Group: System/Kernel
 License: GPLv2
@@ -142,11 +142,8 @@
 Source20: Makefile.config
 
 Source100: config-generic
-Source102: config-ivi
-Source103: config-netbook
 Source104: config-mid
-
-Source105: config-arm-n900
+Source105: config-mid-kboot
 
 # For a stable release kernel
 %if 0%{?stable_update}
@@ -3528,7 +3525,6 @@
         make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
 
 %ifnarch %{all_arm}
-
 	cd compat-wireless-%{compat_wireless_ver}
 	make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch KLIB=../ KLIB_BUILD=../ %{?_smp_mflags}
 	cd ..
@@ -3550,13 +3546,12 @@
         make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
 %ifnarch %{all_arm}
         make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
-
 	cd compat-wireless-%{compat_wireless_ver}
 	make -s -i ARCH=$Arch KLIB=$RPM_BUILD_ROOT/lib/modules/$KernelVer KLIB_BUILD=$RPM_BUILD_ROOT/lib/modules/$KernelVer/build KMODDIR="../../../updates" install
 	rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/lib
 	cd ..
-
 %endif
+
 	mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
 
         # And save the headers/makefiles etc for building modules against

other changes:
--------------

++++++ Makefile
--- Makefile
+++ Makefile
@@ -1,15 +1,12 @@
-
-
-all: medfield
-
-
-generic: kernel.spec.in series makespec.pl
-	@touch  MAIN IVI NETBOOK MENLOW N900 MAIN MID;
-	@perl makespec.pl < kernel.spec.in > kernel.spec ;
-	@rm -f MID IVI NETBOOK MENLOW N900 MAIN MID;
+all: medfield medfield-kboot
 
 medfield: kernel.spec.in series makespec.pl
 	@touch MID;
 	@perl makespec.pl < kernel.spec.in > kernel-adaptation-medfield.spec ;
 	@rm MID;
+	
+medfield-kboot: kernel.spec.in series makespec.pl 
+	@touch MID_kboot; 
+	@perl makespec.pl < kernel.spec.in > kernel-adaptation-medfield-kboot.spec ;
+	@rm MID_kboot;
 

++++++ Makefile.config
--- Makefile.config
+++ Makefile.config
@@ -5,7 +5,9 @@
 CFG		= kernel
 
 CONFIGFILES	= \
-	$(CFG)-adaptation-medfield.config 
+	$(CFG)-adaptation-medfield.config \
+	$(CFG)-adaptation-medfield-kboot.config 
+        
 
 PLATFORMS	= x86 arm
 TEMPFILES	= $(addprefix temp-, $(addsuffix -generic, $(PLATFORMS)))
@@ -19,14 +21,8 @@
 clean ::
 	@rm -fv $(CONFIGFILES) $(TEMPFILES) temp-generic kernel-$(VERSION)*config
 
-kernel-ivi.config: config-ivi kernel-netbook.config
-	perl merge.pl $^  > $@
-
-kernel-netbook.config: config-netbook config-generic
-	perl merge.pl $^  > $@
-
 kernel-adaptation-medfield.config: config-mid config-generic
 	perl merge.pl $^  > $@
 
-kernel-n900.config: config-arm-n900 config-generic
+kernel-adaptation-medfield-kboot.config: config-mid-kboot config-generic
 	perl merge.pl $^  > $@

++++++ config-mid-kboot (new)
--- config-mid-kboot
+++ config-mid-kboot
+# CONFIG_HPET_TIMER is not set
+# CONFIG_DMI is not set
+# CONFIG_MICROCODE is not set
+CONFIG_KEXEC=y
+CONFIG_KEXEC_JUMP=y
+CONFIG_RELOCATABLE=y
+CONFIG_PHYSICAL_ALIGN=0x100000
+# CONFIG_SUSPEND is not set
+# CONFIG_HIBERNATION is not set
+# CONFIG_ACPI is not set
+CONFIG_X86_MRST=y
+CONFIG_X86_EXTENDED_PLATFORM=y
+CONFIG_X86_IO_APIC=y
+CONFIG_MRST=y
+CONFIG_APB_TIMER=y
+CONFIG_X86_MRST_EARLY_PRINTK=y
+CONFIG_MRST_SPI_UART_BOOT_MSG=y
+CONFIG_RTC_DRV_VRTC=y
+# CONFIG_RTC_DRV_CMOS is not set
+CONFIG_SFI=y
+CONFIG_SFI_PM=y
+CONFIG_SFI_CPUIDLE=y
+CONFIG_SFI_PROCESSOR_PM=y
+CONFIG_X86_SFI_CPUFREQ=y
+CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
+# CONFIG_TOSHIBA is not set
+# CONFIG_I8K is not set
+CONFIG_HAVE_MMIOTRACE_SUPPORT=y
+
+# Misc
+# CONFIG_WIMAX is not set
+# CONFIG_CDROM_PKTCDVD is not set
+
+# SCSI
+# CONFIG_RAID_ATTRS is not set
+# CONFIG_BLK_DEV_SR is not set
+
+# PMU
+CONFIG_INTEL_MID_POWER=y
+
+# ConnMan support
+CONFIG_BRIDGE_NETFILTER=y
+# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
+# CONFIG_BRIDGE_NF_EBTABLES is not set
+CONFIG_STP=y
+CONFIG_BRIDGE=y
+CONFIG_BRIDGE_IGMP_SNOOPING=y
+CONFIG_LLC=y
+
+CONFIG_PHONET=m
+CONFIG_USB_G_NOKIA=m
+# CONFIG_USB_G_NOKIA_EEM is not set
+
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_FUSION is not set
+# CONFIG_UWB is not set
+
+# Misc devices
+# CONFIG_TIFM_CORE is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_ADS7871 is not set
+# CONFIG_SENSORS_TMP102 is not set
+# CONFIG_SENSORS_TMP421 is not set
+# CONFIG_SENSORS_LIS3_SPI is not set
+# CONFIG_SENSORS_ISL29020 is not set
+# CONFIG_SENSORS_HMC6352 is not set
+# CONFIG_SENSORS_EMC1403 is not set
+# CONFIG_SENSORS_MRST_ANALOG_ACCEL is not set
+# CONFIG_SENSORS_MAX1111 is not set
+CONFIG_SENSORS_LIS3_I2C=y
+# CONFIG_SENSORS_L3G4200DH_I2C is not set
+# CONFIG_SENSORS_L3G4200DH is not set
+CONFIG_MFLD_SENSORS=y
+CONFIG_SENSORS_AK8974COMPASS=y
+# CONFIG_SENSORS_AK8975COMPASS is not set
+CONFIG_SENSORS_APDS9802PSPROXIMITY=y
+# CONFIG_SENSORS_APDS990X is not set
+CONFIG_SENSORS_THERMAL_MFLD=y
+CONFIG_SENSORS_MID_CURRENT=y
+# CONFIG_ISL29015 is not set
+# CONFIG_BH1770GLC is not set
+CONFIG_APDS9802ALS=y
+# CONFIG_EEPROM_AT25 is not set
+
+# CONFIG_USB_DEVICEFS is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_ISP116X_HCD is not set
+# CONFIG_USB_OHCI_HCD is not set
+# CONFIG_USB_UHCI_HCD is not set
+# CONFIG_USB_U132_HCD is not set
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_WHCI_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+# CONFIG_USB_SERIAL is not set
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_SISUSBVGA is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+
+# CONFIG_SDIO_UART is not set
+# CONFIG_MMC_WBSD is not set
+# CONFIG_MMC_TIFM_SD is not set
+CONFIG_MMC_CLKGATE=y
+
+# CONFIG_VIDEO_TM6000 is not set
+# CONFIG_USB_IP_COMMON is not set
+# CONFIG_PRISM2_USB is not set
+# CONFIG_RT2870 is not set
+# CONFIG_RTL8192E is not set
+# CONFIG_LINE6_USB is not set
+# CONFIG_VIDEO_DT3155 is not set
+# CONFIG_ADIS16255 is not set
+
+# CONFIG_DVB_CORE is not set
+# CONFIG_MEDIA_ATTACH is not set
+
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_LANGWELL=y
+# CONFIG_GPIO_RDC321X is not set
+# CONFIG_GPIO_JANZ_TTL is not set
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_GPIO_MC33880 is not set
+# CONFIG_GPIO_RDC321X is not set
+# CONFIG_GPIO_JANZ_TTL is not set
+
+CONFIG_INTEL_SCU_IPC=y
+CONFIG_INTEL_MID_POWER_BUTTON=y
+
+# I2C support
+CONFIG_I2C_DESIGNWARE_PCI=y
+# CONFIG_I2C_MRST is not set
+CONFIG_I2C_CHARDEV=y
+
+# SPI support
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+CONFIG_SPI_BITBANG=y
+CONFIG_SPI_GPIO=y
+CONFIG_SPI_INTEL_MID_SSP=y
+CONFIG_SPI_DESIGNWARE=y
+CONFIG_SPI_DW_PCI=y
+# CONFIG_SPI_DW_MID_DMA is not set
+# CONFIG_SPI_TLE62X0 is not set
+
+# DMA support
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_INTEL_MID_DMAC=y
+# CONFIG_INTEL_IOATDMA is not set
+CONFIG_ASYNC_TX_DMA=y
+
+# Serial support
+CONFIG_SERIAL_NONSTANDARD=y
+# CONFIG_SERIAL_MAX3100 is not set
+# CONFIG_SERIAL_8250 is not set
+CONFIG_SERIAL_MRST_MAX3110=y
+CONFIG_SERIAL_MFD_HSU=y
+CONFIG_SERIAL_MFD_HSU_CONSOLE=y 
+CONFIG_SERIAL_IFX6X60=y
+
+# Input devices support
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_MISC is not set
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_KEYBOARD_TCA6416 is not set
+# CONFIG_KEYBOARD_INTEL_MID is not set
+CONFIG_KEYBOARD_TC35894XBG=y
+# CONFIG_LEDS_LP5523 is not set
+
+CONFIG_TOUCHSCREEN_CLEARPAD_TM1217=y
+CONFIG_TOUCHSCREEN_CYTTSP_I2C=y
+CONFIG_TOUCHSCREEN_CYTTSP_CORE=y
+# CONFIG_TOUCHSCREEN_QT602240 is not set
+# CONFIG_TOUCHSCREEN_INTEL_MID is not set
+# CONFIG_TOUCHSCREEN_ATMEL_MAXTOUCH is not set
+# CONFIG_TOUCHSCREEN_ATMEL_MAXTOUCH_BL is not set
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+# CONFIG_TOUCHSCREEN_AD7877 is not set
(109 more lines skipped)

++++++ kernel.spec.in
--- kernel.spec.in
+++ kernel.spec.in
@@ -113,8 +113,9 @@
 AutoProv: yes\
 %{nil}
 
-Name: kernel-adaptation-medfield
 
+@@M Name: kernel-adaptation-medfield
+@@K Name: kernel-adaptation-medfield-kboot
 
 Group: System/Kernel
 License: GPLv2
@@ -142,11 +143,8 @@
 Source20: Makefile.config
 
 Source100: config-generic
-Source102: config-ivi
-Source103: config-netbook
 Source104: config-mid
-
-Source105: config-arm-n900
+Source105: config-mid-kboot
 
 # For a stable release kernel
 %if 0%{?stable_update}
@@ -201,10 +199,14 @@
 
 # Now, each variant package.
 
-%define variant_summary Adaptation kernel for the Medfield platform
-%kernel_devel_package adaptation-medfield
-%description -n kernel-adaptation-medfield
-This package contains the kernel optimized for the Medfield platform
+@@M %define variant_summary Adaptation kernel for the Medfield platform
+@@M %kernel_devel_package adaptation-medfield
+@@M %description -n kernel-adaptation-medfield
+@@M This package contains the kernel optimized for the Medfield platform
+@@K %define variant_summary Adaptation kboot kernel for the Medfield platform
+@@K %kernel_devel_package adaptation-medfield-kboot
+@@K %description -n kernel-adaptation-medfield-kboot
+@@K This package contains the kboot kernel optimized for the Medfield platform
 
 
 %prep
@@ -360,10 +362,9 @@
         make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
 
 %ifnarch %{all_arm}
-
-	cd compat-wireless-%{compat_wireless_ver}
-	make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch KLIB=../ KLIB_BUILD=../ %{?_smp_mflags}
-	cd ..
+ 	cd compat-wireless-%{compat_wireless_ver}
+ 	make -s CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=$Arch KLIB=../ KLIB_BUILD=../ %{?_smp_mflags}
+ 	cd ..
 %endif
 
         # Start installing the results
@@ -382,13 +383,12 @@
         make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
 %ifnarch %{all_arm}
         make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
-
 	cd compat-wireless-%{compat_wireless_ver}
 	make -s -i ARCH=$Arch KLIB=$RPM_BUILD_ROOT/lib/modules/$KernelVer KLIB_BUILD=$RPM_BUILD_ROOT/lib/modules/$KernelVer/build KMODDIR="../../../updates" install
 	rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/lib
 	cd ..
-
 %endif
+
 	mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
 
         # And save the headers/makefiles etc for building modules against
@@ -491,7 +491,8 @@
 
 cd linux-%{kversion}
 
-BuildKernel %make_target %kernel_image x86 adaptation-medfield
+@@M BuildKernel %make_target %kernel_image x86 adaptation-medfield
+@@K BuildKernel %make_target %kernel_image x86 adaptation-medfield-kboot
 
 ###
 ### install
@@ -569,8 +570,10 @@
 %{nil}
 
 
-%kernel_variant_preun adaptation-medfield
-%kernel_variant_post -v adaptation-medfield
+@@M %kernel_variant_preun adaptation-medfield
+@@M %kernel_variant_post -v adaptation-medfield
+@@K %kernel_variant_preun adaptation-medfield-kboot
+@@K %kernel_variant_post -v adaptation-medfield-kboot
 
 ###
 ### file lists
@@ -617,4 +620,5 @@
 %{nil}
 
 
-%kernel_variant_files %all_x86 adaptation-medfield
+@@M %kernel_variant_files %all_x86 adaptation-medfield
+@@K %kernel_variant_files %all_x86 adaptation-medfield-kboot

++++++ makespec.pl
--- makespec.pl
+++ makespec.pl
@@ -3,6 +3,7 @@
 use strict;
 
 my $want_main = 0;
+my $want_mid_kboot = 0;
 my $want_mid = 0;
 my $want_netbook = 0;
 my $want_ivi = 0;
@@ -68,6 +69,9 @@
 if ( -e "./MID") {
   $want_mid = 1;
 }
+if ( -e "./MID_kboot") {
+  $want_mid_kboot = 1; 
+}
 if ( -e "./IVI") {
   $want_ivi = 1;
 }
@@ -93,6 +97,12 @@
         print "$1\n";
         next;
     }
+    
+    if ($want_mid_kboot > 0 && $line =~ /^\@\@K (.*)/) {
+        print "$1\n";
+        next;
+    }
+    
     if ($want_netbook > 0 && $line =~ /^\@\@N (.*)/) {
         print "$1\n";
         next;
@@ -118,6 +128,12 @@
         print "$1\n";
         next;
     }
+
+    if ($want_mid_kboot > 0 && $want_main == 1 && $line =~ /\@\@\@K (.*)/) {
+        print "$1\n";
+        next;
+    }
+
     if ($want_netbook > 0 && $want_main == 1 && $line =~ /\@\@\@N (.*)/) {
         print "$1\n";
         next;

++++++ deleted files:
--- config-aava
--- config-ivi
--- config-netbook




More information about the MeeGo-commits mailing list