11 Oct, 2008
23 commits
-
Signed-off-by: Ralf Baechle
-
A long for the error value leads to unnecessary sign extensions. This
patch shrinks an ip27_defconfig kernel build with gcc 4.3.0 by 2256 bytes.Signed-off-by: Ralf Baechle
-
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechlecreate mode 100644 arch/mips/txx9/rbtx4939/Makefile
create mode 100644 arch/mips/txx9/rbtx4939/irq.c
create mode 100644 arch/mips/txx9/rbtx4939/prom.c
create mode 100644 arch/mips/txx9/rbtx4939/setup.c
create mode 100644 include/asm-mips/txx9/rbtx4939.h -
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechlecreate mode 100644 arch/mips/pci/pci-tx4939.c
create mode 100644 arch/mips/txx9/generic/irq_tx4939.c
create mode 100644 arch/mips/txx9/generic/setup_tx4939.c
create mode 100644 include/asm-mips/txx9/tx4939.h -
Add leds-gpio platform device for controlling LEDs connected to IOC on
RBTX49XX and JMR3927 board.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
The IOC interrupt status register on RBTX49XX only have 8 bits. Use
8-bit version of __fls() to optimize interrupt handlers.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
This patch converts the rb532 code to use gpio library
and register its gpio chip.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch removes these two unused functions :
rc32434_sync_delay and rc32434_sync_udelaySigned-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch cleans up headers and regroups informations to
where they should reside. While moving, try to have a
consistant naming for defines.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
We are no longer using gpio bootup state, so do not export
it and do not parse the kernel command line tag for it.
Instead we provide gpio-keys for the button the gpio bootup
state was checking.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch fixes the misuse of virtual addresses for the GPIO and third
device controller which would lead to problems while accessing ioremap'd
registers.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch moves GPIO related definitions to gpio.h and IRQ
related to irq.hSigned-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Add default machine_restart routine using watchdog reset of TX4927 and
TX4938.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Helper routines in txx9/rbtx4938/spi_eeprom.c is not TX4938 specific.
Move it to txx9/generic/ directory and make it works with SPI bus
number other than 0.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechlecreate mode 100644 arch/mips/txx9/generic/spi_eeprom.c
delete mode 100644 arch/mips/txx9/rbtx4938/spi_eeprom.c -
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Add helper routines to register physmap-flash platform devices for NOR
flashes.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Select board by command-line option or firmware environment variable.
* Handle "masterclk=" option.
* Add boards.h to centerize board_vec declaration.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechlecreate mode 100644 include/asm-mips/txx9/boards.h
-
Add prom_getenv() which can be used for YAMON. This assumes other
firmware should pass NULL for fw_arg2.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Make prom_init_cmdline() static and be called from prom_init.
* Append built-in args if the first character was '+'.
* Drop command-line args if the first character of built-in was '-'.
* Enclose args include spaces by quotes.
* TX4938_NAND_BOOT is no longer needed.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Make sure all interrupts cleared on startup
* Initialize some GPIOsSigned-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
This new gpio driver for PMC-Sierra's MSP71xx SoC allows
standard api calls for access to the general and extended
gpio's.Signed-off-by: Patrick Glass
Signed-off-by: Ralf Baechlecreate mode 100755 arch/mips/pmc-sierra/msp71xx/gpio.c
create mode 100755 arch/mips/pmc-sierra/msp71xx/gpio_extended.c
create mode 100755 include/asm-mips/pmc-sierra/msp71xx/gpio.h -
This replaces mips's sys_ptrace32 with a compat_arch_ptrace and
enables the new generic definition of compat_sys_ptrace instead.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
06 Oct, 2008
1 commit
-
Signed-off-by: Ralf Baechle
04 Oct, 2008
3 commits
-
Rework of SMTC support to make it work with the new clock event system,
allowing "tickless" operation, and to make it compatible with the use of
the "wait_irqoff" idle loop. The new clocking scheme means that the
previously optional IPI instant replay mechanism is now required, and has
been made more robust.Signed-off-by: Kevin D. Kissell
Signed-off-by: Ralf Baechle -
Signed-off-by: Kevin D. Kissell
Signed-off-by: Ralf Baechle -
Though from a hardware perspective it would be sensible to use only a
32-bit unsigned int type Linux defines interrupt flags to be stored in
an unsigned long and nothing else.Signed-off-by: Ralf Baechle
24 Sep, 2008
1 commit
-
When we use > 4KB's page size the original definition is not consistent
with PGDIR_SIZE. For exeample, if we use 16KB page size the PGDIR_SHIFT is
(14-2) + 14 = 26, PGDIR_SIZE is 2^26,so the PTRS_PER_PGD should be:2^32/2^26 = 2^6
but the original definition of PTRS_PER_PGD is 4096 (PGDIR_ORDER = 0).
So, this definition needs to be consistent with the PGDIR_SIZE.
And the new definition is consistent with the PGD init in pagetable_init().
Signed-off-by: Dajie Tan
Signed-off-by: Ralf Baechle
06 Sep, 2008
1 commit
-
trap_init issues flush_icache_range(), which uses ipi functions to
get icache flushing done on all cpus. But this is done before interrupts
are enabled and caused WARN_ON messages. This changeset introduces
a new local_flush_icache_range() and uses it before interrupts (and
additional CPUs) are enabled to avoid this problem.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
26 Aug, 2008
1 commit
-
signalfd4, eventfd2, epoll_create1, dup3, pipe2 and inotify_init1.
Signed-off-by: Ralf Baechle
15 Aug, 2008
1 commit
-
Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because control
page is used for not only code on some platform. For example in kexec
jump, it is used for data and stack too.[akpm@linux-foundation.org: unbreak powerpc and arm, finish conversion]
Signed-off-by: Huang Ying
Cc: Pavel Machek
Cc: "Rafael J. Wysocki"
Cc: "Eric W. Biederman"
Cc: Vivek Goyal
Cc: Ingo Molnar
Cc: Russell King
Cc: Benjamin Herrenschmidt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Jul, 2008
9 commits
-
The new kgdb architecture specific handler registers and unregisters
dynamically for exceptions depending on when you configure a kgdb I/O
driver.Aside from initializing the exceptions earlier in the boot process,
kgdb should have no impact on a device when it is compiled in so long
as an I/O module is not configured for use.There have been quite a number of contributors during the existence of
this patch (see arch/mips/kernel/kgdb.c). Most recently Jason
re-wrote the mips kgdb logic to use the die notification handlers.Signed-off-by: Jason Wessel
Signed-off-by: Ralf Baechle -
This patch explicitly removes the kgdb implementation, for mips which
is intended to be followed by a patch that adds a kgdb implementation
for MIPS that makes use of the kgdb core in the kernel.Signed-off-by: Jason Wessel
Signed-off-by: Ralf Baechle -
include/asm-mips/txx9/txx927.h is no longer used.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Kill jmr3927-specific prom_putchar and add txx9-generic prom_putchar
to support early_printk.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Unify calling of early_serial_txx9_setup.
* Use dedicated serial clock on RBTX4938.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Random cleanups spotted by checkpatch script.
* Do not initialize panic_timeout. "panic=" kernel parameter can be used.
* Do not add "ip=any" or "ip=bootp". This options is not board specific.
* Do not add "root=/dev/nfs". This is default on CONFIG_ROOT_NFS.
* Kill unused error checking.
* Fix IRQ comment to match current code.
* Kill some unneeded includes
* ST0_ERL is already cleared in generic code.
* conswitchp is initialized generic code.
* __init is not needed in prototype.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Make some TX4938 SoC specific code independent from board specific code.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Make some TX3927 SoC specific code independent from board specific code.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Unify registration of txx9wdt platform device.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle