File patch-replace-old-cpu_is-functions.patch of Package TI_Graphics_SDK

--- GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c~	2012-06-26 16:44:51.166167991 +0200
+++ GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c	2012-06-26 16:44:51.195167288 +0200
@@ -663,7 +663,7 @@ static int __init bc_cat_init(void)
 #ifdef PLAT_TI8168
      width_align = 8;
 #else
-     width_align = cpu_is_omap3530() && ( omap_rev() < OMAP3430_REV_ES3_0 ) ? 32 : 8; 
+     width_align = cpu_is_omap3430() && ( omap_rev() < OMAP3430_REV_ES3_0 ) ? 32 : 8; 
 #endif   
  
     major = register_chrdev(0, DEVNAME, &bc_cat_fops);
--- /home/guillaume/TI_Graphics_SDK-4_06_00_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxinit.c~	2012-06-26 16:47:53.227761102 +0200
+++ /home/guillaume/TI_Graphics_SDK-4_06_00_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxinit.c	2012-06-26 16:47:53.262760261 +0200
@@ -357,7 +357,7 @@ PVRSRV_ERROR SGXInitialise(PVRSRV_SGXDEV
 	}
 	PDUMPCOMMENTWITHFLAGS(PDUMP_FLAGS_CONTINUOUS, "End of SGX initialisation script part 2\n");
 
-	if(!(cpu_is_omap3530() || cpu_is_omap3517()))
+	if(!cpu_is_omap3430())
         {
                OSWriteHWReg(psDevInfo->pvRegsBaseKM, 0xFF08, 0x80000000);//OCP Bypass mode
         }