summaryrefslogtreecommitdiff
path: root/arch/cris
AgeCommit message (Collapse)AuthorFilesLines
2008-02-08CRIS v32: Remove drivers/nandflash.h, now exists as machine specific file.Jesper Nilsson1-156/+0
2008-02-08CRIS v32: ETRAX FS Change name of LED macros in drivers/mach-fs/gpio.c to ↵Jesper Nilsson1-8/+8
avoid collision.
2008-02-08CRIS v32: Change name of LED macros in drivers/mach-a3/gpio.c to avoid ↵Jesper Nilsson1-7/+7
collision.
2008-02-08CRIS v32: Change include path for hwregs in drivers/iop_fw_load.cJesper Nilsson1-8/+8
Also, remove useless CVS id tag.
2008-02-08CRIS v32: Rewrite of stream co-processor driver for ETRAX FS and ARTPEC-3Jesper Nilsson1-50/+54
- Workaround for cachebug (Guinness TR 106). - Add ARTPEC-3 support.
2008-02-08CRIS v32: Replace build flags in boot/rescue/MakefileJesper Nilsson1-4/+4
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and EXTRA_CFLAGS to ccflags-y. We only need the flags in this Makefile.
2008-02-08CRIS v32: Replace build flags in boot/compressed/MakefileJesper Nilsson1-3/+3
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and KBUILD_CFLAGS to ccflags-y. We only need the flags in this Makefile.
2008-02-08CRIS v10: Change name of low voltage read and set macros.Jesper Nilsson1-2/+2
2008-02-08CRIS v32: Remove useless CVS id tag from boot/compressed/READMEJesper Nilsson1-1/+0
2008-02-08CRIS v10: Remove duplicated folding of carry from lib/checksum.S, it is not ↵Jesper Nilsson1-7/+1
needed. Also, remove useless CVS id tag.
2008-02-08CRIS v10: Remove duplicated folding of carry from lib/checksumcopy.S, it is ↵Jesper Nilsson1-7/+1
not needed. Also, remove useless CVS id tag.
2008-02-08CRIS v10: Clear TIF_SYSCALL_TRACE flag in ptrace_disable in kernel/ptrace.cJesper Nilsson1-0/+1
2008-02-08CRIS v10: Update kernel/io_interface_mux.cJesper Nilsson1-107/+408
Fixed a bug where two interfaces using pins in the same pin group could not be allocated at the same time even if there where no pin collisions. Change all restore and returns into goto exit pattern. Also, remove useless CVS id and correct chapter reference for ETRAX100LX Designer's Reference in comment.
2008-02-08CRIS v10: Setup serial port 2 to avoid accidental TXD pulse on startup.Jesper Nilsson1-178/+43
If serial port 2 is used, select it in R_GEN_CONFIG. If serial port 2 is used, setup the control registers for the port. This is done to avoid a pulse on the TXD line during start up, which could disturb some units. Also, remove useless CVS id and log.
2008-02-08CRIS v10: Add synchronous serial port driver for CRIS v10.Jesper Nilsson3-0/+1473
2008-02-08CRIS v10: Don't call get_mmu_context when switching between tasks with ↵Jesper Nilsson1-29/+29
shared memory descriptors Also, cleanup formatting and fix whitespace errors.
2008-02-08CRIS v10: Fix bug where error returns didn't restore irqs in mm/fault.cJesper Nilsson1-6/+7
Don't return when we're inside local_irq_disable(), use goto exit instead. Also, cleanup some whitespace errors.
2008-02-08CRIS v10: Remove useless CVS id tag from lib/old_checksum.cJesper Nilsson1-2/+1
2008-02-08CRIS v10: Remove useless CVS id and log from lib/dram_init.SJesper Nilsson1-56/+2
2008-02-08CRIS v10: Remove useless CVS id from kernel/shadows.cJesper Nilsson1-2/+1
2008-02-08CRIS v10: Reformat drivers/makefile using tabs.Jesper Nilsson1-6/+5
2008-02-08CRIS: Move common Kconfig variable ETRAX_RTC to arch independet Kconfig.Jesper Nilsson3-18/+12
2008-02-08CRIS: Remove NO_IOMEM config, we have IO memory.Jesper Nilsson1-3/+0
2008-02-08CRIS v10: Remove CVS id from kernel/process.cJesper Nilsson1-2/+1
2008-02-08CRIS v10: Remove CVS log and id from kernel/kgdb.cJesper Nilsson1-58/+0
2008-02-08CRIS v10: Cleanup kernel/irq.cJesper Nilsson1-6/+1
- Remove useless CVS id tag. - Remove no longer needed extern declarations for kgdb.
2008-02-08CRIS v10: Cleanup kernel/fasttimer.cJesper Nilsson1-21/+14
- Change C99 comment style to C89. - Remove superfluous SANITYCHECK macro, test FAST_TIMER_SANITY_CHECKS instead.
2008-02-08CRIS v10: Cleanup kernel/entry.S CVS log and id.Jesper Nilsson1-244/+1
2008-02-08CRIS v10: Remove CVS id tag from kernel/dma.cJesper Nilsson1-2/+1
2008-02-08CRIS v10: Break long lines in boot/rescue/head.SJesper Nilsson1-6/+8
2008-02-08CRIS v10: Remove CVS tag from boot/compressed/misc.cJesper Nilsson1-4/+2
2008-02-08CRIS v10: Update and fix bug in kernel/debugport.Jesper Nilsson1-111/+23
- Move local_irq_save to after possible return in console_write_direct. - Remove old raw_printk hack, not needed anymore. - Add watchdog handling. - Make serial_driver use depend on CONFIG_ETRAX_SERIAL. - Remove useless CVS log.
2008-02-08CRIS v10: Update driver for pcf8563Jesper Nilsson1-173/+220
- Use mutex instead of spinlock, fixes kernel bugzilla report 8339. - Make sure that pcf8563_init can be called multiple times but only setup once. - Change RTC_VLOW_RD -> RTC_VL_READ, RTC_VLOW_SET -> RTC_VL_CLR - Cache the voltage low value at driver init so the battery status information does not get 'accidentally' cleared when setting the RTC time. - Add weekday handling. - Correct leapyear handling to include 100 and 400 year exceptions. - Correct whitespace and formatting errors. - Remove useless CVS id tag.
2008-02-08CRIS v10: Fix bugs in i2c_init and i2c_readregJesper Nilsson1-78/+3
- Set the variable first to zero after first setup, so we can stop multiple calls to i2c_init from trying to setup i2c. - The last byte read by the master in an i2c transfer needs to be NACKed, not ACKed. - Also, remove useless CVS log and CVS id tags.
2008-02-08CRIS v10: Cleanup drivers/eeprom.c to avoid import conflicts.Jesper Nilsson1-73/+2
- Remove useless CVS log and CVS id tags. - Whitespace fix and remove C++ comment.
2008-02-08CRIS v10: Correct and cleanup boot/rescue/testrescue.SJesper Nilsson1-7/+5
- Correct include path for sv_addr_ag.h, should be asm/arch/ - Fix some whitespace errors. - Remove useless CVS id tag.
2008-02-08CRIS v10: Correct and cleanup boot/rescue/kimagerescue.SJesper Nilsson1-29/+29
- Correct include path for sv_addr_ag.h, should be included from asm/arch/ - Remove useless CVS id tag. - Correct whitespace errors and some formatting.
2008-02-08CRIS v10: Change boot/rescue/Makefile to use ccflags-y, asflags-y and ldflags-y.Jesper Nilsson1-3/+3
Replace EXTRA_CFLAGS with ccflags-y. Change ASFLAGS and LDFLAGS into asflags-y and ldflags-y, we only need these flags in this makefile.
2008-02-08CRIS v10: Update boot/compressed/Makefile to use ccflags-y and ldflags-yJesper Nilsson1-2/+2
Replace use of EXTRA_CFLAGS with ccflags-y and LDFLAGS with ldflags-y, (we only need to change linker flags for this makefile)
2008-02-08CRIS v32: Update and improve kernel/time.cJesper Nilsson1-98/+139
- Shorten include paths to machine dependent header files. - Register name for first timer is now regi_timer0. - Remove raw_printk hack, use oops_in_progress instead. - Add handling of CPU frequency scaling for CRIS. - Remove regs parameter to timer_interrupt, get them from get_irq_regs instead. - Whitespace and formatting changes.
2008-02-08CRIS v10: New default config.Jesper Nilsson1-522/+274
2008-02-08CRIS v32: Update and improve kernel/traps.cJesper Nilsson1-78/+114
- Remove watchdog handling, handled elsewhere. - Shorten include paths to machine dependent header files. - Remove raw_printk hack, we now use oops_in_progress instead. - Add handling of BUG for exception handlers (break 14). - Formatting and whitespace changes.
2008-02-08CRIS v32: Minor updates to kernel/process.cJesper Nilsson1-9/+5
- Shorten include paths for machine dependent header files. - Remove unused extern declaration of etrax_gpio_wake_up_check. - Register name for first timer is now regi_timer0.
2008-02-08CRIS v32: Update and simplify kernel/irq.c.Jesper Nilsson1-81/+193
- First timer register has changed name to timer0. - Build IRQs with only IRQ number, mask bit will be calculated instead. - Add more IRQs, up to 64 supported. - Use arrays to hold which IRQs triggered instead of trying to do magic with two 32 bit values now that more than 32 IRQs are supported.
2008-02-08CRIS v32: Update kernel/head.SJesper Nilsson1-88/+114
- Shorten include paths for machine specific header files. - Add magic for booting NAND flash. - Change CONFIG_ETRAXFS_SIM to CONFIG_ETRAX_VCS_SIM. - Use assembler macros for initializing hardware (clocks) - Add stubs for SMP slave CPUs. - Search for cramfs or jffs2 if no romfs found. - Initialize l2cache.
2008-02-08CRIS v32: Update and improve fasttimer.cJesper Nilsson1-324/+195
- Change include path to machine dependent header files. - Remove __INLINE__, it expands to inline anyway. - Don't initialize static variables. - Change timers to use fasttimer_t instead of timevals. - Change name of timeval_cmp to fasttime_cmp to highlight this. - Register name for first timer is regi_timer0, not regi_timer. - Whitespace and formatting changes. - Don't return if we're blocking interrupts, goto done and restore interrupts. - Disable interrupts while walking the fasttimer list, only restore while doing the callback. - Remove #ifdef DECLARE_WAITQUEUE, this code won't be used in another OS. - Remove CVS log.
2008-02-08CRIS v32: Update debugport.Jesper Nilsson1-299/+43
- Shorten include paths to machine dependent headers. - Add support for fifth serial port. - Remove CONFIG_ETRAXFS_SIM and CONFIG_ETRAX_DEBUG_PORT_NULL, no longer used. - Remove raw_printk and stupid_debug hack, no longer needed. - Remove dummy console stuff, no longer needed. - Correct some register type names. - Correct some whitespace errors and formatting.
2008-02-08CRIS v32: Update boot/rescue/head.S code.Jesper Nilsson1-27/+15
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compiling file unless it is set. - Use assembler macros for setting up clocks. - Don't copy image, just jump to it (only works for NOR flash)
2008-02-08CRIS v32: Update boot/compressed/misc.cJesper Nilsson1-19/+53
- Shorten include paths to machine specific headers. - Remove fill_inbuf, not defined here. - Return __dest as value from memcpy. - Enable serial port hardware transmitter and receiver in serial_setup. - Correct baudrate divisor calculation, changed from 4800 to 115200. - Add support for Artpec-3 specific serial port setup. - Initialize pinmux for the correct serial port.
2008-02-08CRIS v32: Update compressed head.SJesper Nilsson1-98/+39
- Fixes for NAND and NOR flash booting. - Use assembler macros for common tasks (clocks, general io etc) - Use (EtraxFS or Artpec-3) machine specific include for dram and hardware init.