09 May, 2009
10 commits
-
Signed-off-by: Paul Mundt
-
Tie this in to the Makefile directly, where we already know what we are
running on. This tidies up the linker script a bit, and is prep work for
unifying the arch/sh/boot/compressed linker scripts.Signed-off-by: Paul Mundt
-
Just forcefully rename the _32 variant overtop, and kill off the now
unused _64 version.Signed-off-by: Paul Mundt
-
This adds all of the requisite bits from vmlinux_64.lds.S in to the _32
variant, resulting in a unified and generic linker script that can be
shared across both.Signed-off-by: Paul Mundt
-
This fixes up the LSB setting for SHmedia branching in updated symbols
when processing module relocations.Signed-off-by: Paul Mundt
-
Newer code paths that are heavier in 64-bit math manage to get this
generated by newer compilers, provide a definition and export
accordingly. This is trivially wrapped around the existing __sdivsi3
code.Signed-off-by: Paul Mundt
-
This is now clashing with a driver, so just rename it.
Signed-off-by: Paul Mundt
-
These are presently only defined for sh32, use the plain unoptimized
versions for sh64. Fixes up smsc911x build.Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
sci_rxd_in() on SH-5 wants to be using SCSPTR, not SCSPTR2.
Signed-off-by: Paul Mundt
08 May, 2009
30 commits
-
Signed-off-by: Peter Griffin
Signed-off-by: Paul Mundt -
Signed-off-by: Peter Griffin
Signed-off-by: Paul Mundt -
Signed-off-by: Kieran Bingham
Signed-off-by: Peter Griffin
Signed-off-by: Paul Mundt -
Plugs in PT_TEXT_END_ADDR/PT_TEXT_ADDR/PT_DATA_ADDR/PT_TEXT_LEN
definitions.Signed-off-by: Kieran Bingham
Signed-off-by: Peter Griffin
Signed-off-by: Paul Mundt -
- Dummy SCIF functions define.
- h8300 specific header include.Signed-off-by: Yoshinori Sato
Signed-off-by: Paul Mundt -
The sci_probe_single() path attempts to use sci_remove() for the error
path, while sci_remove() is still flagged as __devexit. So, we simply
discard the section annotation.Signed-off-by: Paul Mundt
-
This adds the clock specifier to all of the SH-Mobile sh-sci ports.
Impacted CPUs are SH7343/SH7366/SH7722/SH7723/SH7724.Signed-off-by: Paul Mundt
-
Use enable/disable hooks for clock framework integration.
Make sure we control the clock for the serial console as well.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Handle ioremap() in sci_config_port only.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Replace sci_init_ports() with sci_init_single().
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Allow registration of single port sh-sci platform devices.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Rework sh-sci serial console code.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Remove unused early_sci_setup() function from sh-sci.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch adds per-platform private data to the sh-sci driver.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Now that everyone is using the clock framework directly and we
unconditionally provide our own calibrate_delay() function, having it
wrapped in an ifndef is no longer useful. So, kill it off.Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Wires up all 12 TMU channels, with TMU0 and 1 used as clockevent and
clocksource respectively.Signed-off-by: Paul Mundt
-
sh64 has traditionally had this configurable via a Kconfig option
(CONFIG_SH64_USER_MISALIGNED_FIXUP). In practice it has never really been
terribly useful to turn this off, so just get rid of the option entirely.We leave the sysctl around so we don't end up breaking existing root
file systems, and to allow folks that really want this off to do so at
their own risk.Signed-off-by: Paul Mundt
-
There is no real reason to use this anymore, as the build system
generally knows what it is doing with regards to cflags mangling.Signed-off-by: Paul Mundt
-
The RTC_LIB helpers are used in arch/sh/kernel/time.c, which was
previously only the case for the 32-bit variant. Now that this has
become the common implementation, move the RTC_LIB select to reflect
that. Fixes up the sh64 build.Signed-off-by: Paul Mundt
-
Several of these options are specific to the SHcompact ISA and will need
to be rewritten for SHmedia if they are to be supported at all. Drop
the impossible rules for now.Signed-off-by: Paul Mundt
-
This patch adds TMU platform data for sh7723. Both clockevent
and clocksource support is enabled. While at it, adjust the
CMT clocksource rating to prioritize the TMU.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch enables the TMU clocksource on sh7722.
To prioritize TMU over CMT we also adjust the CMT
clock source rating.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch updates the clock framework use count code.
With this patch the enable() and disable() callbacks
only get called when counting from and to zero.
While at it the kref stuff gets replaced with an int.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This moves out the cayman-specific panic handler code to a better
location, and leaves the generic implementation a simple stub that is
still used under emulation.Signed-off-by: Paul Mundt
-
None of the print_page() code and associated helpers are presently used
by anything in-tree, so just kill it off.Signed-off-by: Paul Mundt
-
This is no longer necessary, as there are now sufficient generic
alternatives available.Signed-off-by: Paul Mundt
-
Now that all of the possible users for rtc_lock have gone away, it is no
longer necessary to keep this lock definition around.This follows several other architectures that have either recently
dropped it or never supported it in the first place.Signed-off-by: Paul Mundt
-
This converts the sh03 rtc code off of using the global rtc_lock and on
to its own spinlock. There are no other possible users of the rtc_lock,
so serializing with it is not necessary.Signed-off-by: Paul Mundt