### Patches from STLinux SRPM

st_patches/patch-2.6.17.14
#st_patches/linux-2.6.17.8-mm6-mtd.patch # JFFS2 needs completed
st_patches/linux-2.6.17.8-sh-allpatches.patch
st_patches/linux-2.6.17_stm22-gcc-4.1.patch
st_patches/linux-2.6.17-squashfs-3.1.patch
st_patches/linux-2.6.17-sh4.i2c_ssc_rtc_wdt.patch
st_patches/linux-2.6.17-sh4-lirc.patch
st_patches/linux-2.6.17.8-sh-allpatches-update1.patch
st_patches/linux-2.6.17.8-sh4_coproc_frmw.patch
st_patches/linux-2.6.17-sh4-4kstack_fix_and_gRB_extend.patch
st_patches/linux-sh4-2.6.17.8-stm22-34_sh_movmem_intrinsics.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-sh_export_flush_xxx_region.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-sh_export_sdivsi3_i4i.patch
st_patches/linux-2.6.17.8-at24c_patch_bugzilla_584_v3.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-lirc-update.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-ssc_fix.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-sh_make_ptrs_output_of_atomics.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-7109eth_phy.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-copro_frmw_cmd_line.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-sh_syscall_tracing_ordering.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-sh_gcc4_compiler_syms.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-proc_stat_esp_eip.patch
st_patches/linux-sh4-2.6.17.8-stm22-34-stb7100ref_usb_pwr.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-fb_software_drawing_config.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-st_usb_pm_build.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-sh_pm_config.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stm_710x_fdma-0001.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stm_ide_piodma-0001.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stm_alsa_dma_7109-0001.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stm_gpdma_obsolete-0001.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-smsc911x-fdma.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stasc_init_fixes.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stasc_fdma-0001.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-fbcon_switch.patch
st_patches/linux-sh4-2.6.17.8_stm22-34-stm_710x_fdma-0002.patch
st_patches/linux-2.6.17-sh4-kgdb2.4.patch
st_patches/linux-sh4-2.6.17.8-fbsplash.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-stpio_export_stpio_configure_pin.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-nfs_tcp_rpc_fix.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-nfs_rpc_disconnectfix.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035_stmmac_mc_fix.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-export_flush_cache_page.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-sata_stm_scatter_gather_fix.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-sh-tlbmiss-optim.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-sh_do_page_fault_sti.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-sata_spinup.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-stm_710x_fdma-0003.patch
st_patches/linux-sh4-2.6.17.13_stm22-0035-smsc911x-fdma-0002.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-stm_710x_fdma-0004.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-smsc911x-scattergather-0001.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-stasc-dma-fix.patch
st_patches/linux-sh4-2.6.17.13_stm22_0035-i2c_capability_fix.patch
st_patches/linux-2.6.17.14_stm22_0038_kgdb_fixes.patch

### Patches from STAPI

stapi-kernel-0036-patches/intc2.patch

#This patch will lower priority of ethernet softirqs which we dont want.
#stapi-kernel-0036-patches/ksoftirq.patch

# Replace FDMA2 firmware with version 2.7, from Rabat.
stapi-kernel-0036-patches/fdma2_firmware-270.patch

# i2c patches from STAPI BETA 1.0.0 release
stapi-kernel-0036-patches/linux-2.6.17.14_stm22_0038.i2c_timeout_and_hwfifo.patch
stapi-kernel-0036-patches/linux-2.6.17.14_sh4_stm22_0039.i2c_v2_nostop.patch
### Motorola patches

# Override bigphysarea size setting from firmware to 1536 pages (6 Mb)
patches/bigphysarea.patch

# Protect flash by disable chip select when not accessing flash.
# In some cases flash has been overwritten by random data.
patches/cfi_cmdset_0001.c.patch
patches/nand_base.c.patch

# Add kboxdevice to drivers/char/Makefile and Kconfig
patches/char_build.patch

# Change MTD command line parsing (TODO why?)
patches/cmdlinepart.c.patch

# Remove sysfs calls when not using sysfs.
patches/dma-api.c.patch

# Setup i2c busses from Kreatel board.
patches/i2c-st40-pio.c.patch
patches/i2c-bit-bang-speed.patch

# Unpack initial root to tmpfs
patches/inittmpfs.patch

# JFFS2 bug fix
patches/jffs2.patch

# Add kreatel kconfig settings (SH_STB7100_KREATEL and STAPI_MEMORY_SIZE)
patches/kreatel_make.patch

# Add kreatel nand flash support
patches/kreatel_nand.patch

# Setup IRQ routing for the Kreatel board.
patches/mach.c.patch

# Add machine restart in 7109 OHCI code to avoid lock at reboot.
patches/ohci-stcore.c.patch

# Add machine restart in 7109 OHCI code to avoid problems with network
# at reboot.
patches/ehci-stcore.c.patch

# Avoid build problems with busybox.
patches/param.patch

# Allow registration of machine restart notifiers.
patches/process.c.patch

# Add module license to SATA code so that it can be loaded as a module.
patches/sata_stm.patch

# Kreatel board specific setup
patches/setup.c.patch

# Handle memory and initrd setup
patches/sh_kernel_setup.c.patch

# Add smsc911x crypto DMA config
patches/smsc911x_crypto.patch

# Setup serial port for Kreatel board.
patches/stasc.c.patch

# Setup MTD devices for Kreatel board.
patches/stboard.c.patch

# SSC fixes (TODO)
patches/stm_ssc.c.patch

# Allow ST usb code to be compiled as modules
patches/usb_as_modules.patch

# ST software watchdog bug fixes (not used at the moment)
patches/wdt.patch

# Yaffs Kconfig parameters.
patches/yaffs2.patch

# Bug fix for cache_alloc_refell since it can end up
# in a infinite loop. This bug fix will generate a
# BUG_ON if this happends.
patches/slab.c.patch

# Fix for parallel builds
patches/sh_tools_makefile.patch

# Fix blue dots and maby platform stability
patches/memory_drive_strength.patch

# Backported oom-killer patch from Linux 2.6.18
patches/oom-killer.patch

# This patch fixes the following problem, bug #7518.
# cascade() in kernel/timer.c may enter the infinite loop.
patches/kernel_timer.c.patch

# Patch for somewhat configurable stapi memory
patches/cut3_stapi_mem_reduction.patch

# Fix build problem on Fedora 9
patches/sumversion.c.patch

# fix for the HW i2c (see https://bugzilla.stlinux.com/show_bug.cgi?id=4334
# and http://svn/bugzilla/show_bug.cgi?id=9047)
patches/i2c-stm.patch

# Reboot using watchdog instead of illegal instruction (recommended method
# for correct reinitialization of crypto-core)
patches/process.c.reboot.patch

# Patches for bug #10630 - "Timeout in Ethernet driver hangs firmware on reboot"
# and bug #10724 - "Ethernet link detection is broken if STB is booted without
# Ethernet cable connected"
patches/ethernet-link-detection.patch

