<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-op-linux/arch/arm/plat-omap/include/mach/cpu.h, branch master</title>
<subtitle>Blackbird™ Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/'/>
<updated>2009-10-20T16:40:47+00:00</updated>
<entry>
<title>omap: headers: Move remaining headers from include/mach to include/plat</title>
<updated>2009-10-20T16:40:47+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2009-10-20T16:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=ce491cf85466c3377228c5a852ea627ec5136956'/>
<id>urn:sha1:ce491cf85466c3377228c5a852ea627ec5136956</id>
<content type='text'>
Move the remaining headers under plat-omap/include/mach
to plat-omap/include/plat. Also search and replace the
files using these headers to include using the right path.

This was done with:

#!/bin/bash
mach_dir_old="arch/arm/plat-omap/include/mach"
plat_dir_new="arch/arm/plat-omap/include/plat"
headers=$(cd $mach_dir_old &amp;&amp; ls *.h)
omap_dirs="arch/arm/*omap*/ \
drivers/video/omap \
sound/soc/omap"
other_files="drivers/leds/leds-ams-delta.c \
drivers/mfd/menelaus.c \
drivers/mfd/twl4030-core.c \
drivers/mtd/nand/ams-delta.c"

for header in $headers; do
	old="#include &lt;mach\/$header"
	new="#include &lt;plat\/$header"
	for dir in $omap_dirs; do
		find $dir -type f -name \*.[chS] | \
			xargs sed -i "s/$old/$new/"
	done
	find drivers/ -type f -name \*omap*.[chS] | \
		xargs sed -i "s/$old/$new/"
	for file in $other_files; do
		sed -i "s/$old/$new/" $file
	done
done

for header in $(ls $mach_dir_old/*.h); do
	git mv $header $plat_dir_new/
done

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>omap: Fix incorrect 730 vs 850 detection</title>
<updated>2009-10-05T20:31:43+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2009-10-05T20:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=a9f82d10d1c20b433a12b08e6e78bced6f596c5f'/>
<id>urn:sha1:a9f82d10d1c20b433a12b08e6e78bced6f596c5f</id>
<content type='text'>
Commit cd92204924fafbd5c7241dfd12ca3176d542e0c5 added
support for omap850. However, the patch accidentally
removed the wrong ifdef:

 #  define cpu_is_omap730()		1
 # endif
 #endif
+#else
+# if defined(CONFIG_ARCH_OMAP850)
+#  undef  cpu_is_omap850
+#  define cpu_is_omap850()		1
+# endif
+#endif

...

 void omap2_check_revision(void);

 #endif    /* defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) */
-
-#endif

Instead of removing removing the #endif at the end of the file,
the #endif before #else should have been removed.

But we cannot have multiple #else statements as pointed out by
Alistair Buxton &lt;a.j.buxton@gmail.com&gt;. So the fix is to:

- remove the non-multi-omap special handling, as we need to
  detect between omap730 and omap850 anyways.

- add the missing #endif back to the end of the file

Reported-by: Sanjeev Premi &lt;premi@ti.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>OMAP: Fix testing of cpu defines for mach-omap1</title>
<updated>2009-08-10T11:49:50+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2009-08-10T11:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=cd92204924fafbd5c7241dfd12ca3176d542e0c5'/>
<id>urn:sha1:cd92204924fafbd5c7241dfd12ca3176d542e0c5</id>
<content type='text'>
There's no need to keep these defines limited in the ifdef block
for mach-omap2. It will just cause problems testing for the CPU
revision in the common code, like the next patch does for the DMA
errata.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>OMAP2/3: Add omap_type() for determining GP/EMU/HS</title>
<updated>2009-06-23T10:30:23+00:00</updated>
<author>
<name>Kevin Hilman</name>
<email>khilman@deeprootsystems.com</email>
</author>
<published>2009-06-23T10:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=8e25ad964aac0bf6b30dd013303750089f819679'/>
<id>urn:sha1:8e25ad964aac0bf6b30dd013303750089f819679</id>
<content type='text'>
The omap_type() function is added and returns the DEVICETYPE field of
the CONTROL_STATUS register.  The result can be used for conditional
code based on whether device is GP (general purpose), EMU or
HS (high security). Also move the type defines so omap1 code
compile does not require ifdefs for sections using these defines.

This code is needed for the following fix to set the SRAM
size correctly for HS omaps.  Also at least PM and watchdog
code will need this function.

Signed-off-by: Kevin Hilman &lt;khilman@ti.deeprootsystems.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>ARM: OMAP4: Add minimal support for omap4</title>
<updated>2009-05-28T21:16:04+00:00</updated>
<author>
<name>Santosh Shilimkar</name>
<email>santosh.shilimkar@ti.com</email>
</author>
<published>2009-05-28T21:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=44169075e6eaa87bab6a296209d8d0610879b394'/>
<id>urn:sha1:44169075e6eaa87bab6a296209d8d0610879b394</id>
<content type='text'>
This patch adds the support for OMAP4. The platform and machine specific
headers and sources updated for OMAP4430 SDP platform.

OMAP4430 is Texas Instrument's SOC based on ARM Cortex-A9 SMP architecture.
It's a dual core SOC with GIC used for interrupt handling and SCU for cache
coherency.

Signed-off-by: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 into devel</title>
<updated>2009-03-25T18:31:35+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2009-03-25T18:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=8937b7349ca9e25a02b2a72ccb7fba404ddedc5b'/>
<id>urn:sha1:8937b7349ca9e25a02b2a72ccb7fba404ddedc5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[OMAP850] Add base support for omap850 cpu</title>
<updated>2009-03-24T01:07:39+00:00</updated>
<author>
<name>Zebediah C. McClure</name>
<email>zmc@lurian.net</email>
</author>
<published>2009-03-24T01:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=ae302f40061235f6bc58ae9ba02aa849d60223b5'/>
<id>urn:sha1:ae302f40061235f6bc58ae9ba02aa849d60223b5</id>
<content type='text'>
Add base support for omap850 cpu.

Signed-off-by: Zebediah C. McClure &lt;zmc@lurian.net&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>[ARM] OMAP3: update ES level flags to discriminate between post-ES2 revisions</title>
<updated>2009-02-23T14:52:51+00:00</updated>
<author>
<name>Paul Walmsley</name>
<email>paul@pwsan.com</email>
</author>
<published>2009-02-06T03:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=d41ad52040dee5043ce6b1d49a1c8864706d2bfd'/>
<id>urn:sha1:d41ad52040dee5043ce6b1d49a1c8864706d2bfd</id>
<content type='text'>
Some OMAP3 chip behaviors change in ES levels after ES2.  Modify the
existing omap_chip flags to add options for ES3.0 and ES3.1.

Add a new macro, CHIP_GE_OMAP3430ES2, to cover ES levels from ES2
onwards - a common pattern for OMAP3 features.  Update all current
users of the omap_chip macros to use this new macro.

Also add CHIP_GE_OMAP3430ES3_1 to cover the USBTLL SAR errata case
(described and fixed in the following patch)

Signed-off-by: Paul Walmsley &lt;paul@pwsan.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: OMAP: Fix omap34xx revision detection for ES3.1</title>
<updated>2009-01-29T16:57:16+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2009-01-29T16:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=187e688d237a6df11a2d32e8ac480b6d1fbd40b9'/>
<id>urn:sha1:187e688d237a6df11a2d32e8ac480b6d1fbd40b9</id>
<content type='text'>
Fix omap34xx revision detection for ES3.1

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;



</content>
</entry>
<entry>
<title>ARM: OMAP2: Use omap_rev() instead of system_rev</title>
<updated>2008-12-11T01:36:31+00:00</updated>
<author>
<name>Lauri Leukkunen</name>
<email>lauri.leukkunen@nokia.com</email>
</author>
<published>2008-12-11T01:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=84a34344ea1f2f313d84a9fb4cb685b65a6ec26d'/>
<id>urn:sha1:84a34344ea1f2f313d84a9fb4cb685b65a6ec26d</id>
<content type='text'>
system_rev is meant for board revision, this patch changes
all relevant instances to use the new omap_rev() function
liberating system_rev to be used with ATAG_REVISION as it
has been designed.

Signed-off-by: Lauri Leukkunen &lt;lauri.leukkunen@nokia.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;

</content>
</entry>
</feed>
