summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-02-08CRIS v32: Remove juliette.h, it is not supported for CRIS v32.Jesper Nilsson1-326/+0
2008-02-08CRIS v32: Add support for ETRAX FS and ARTPEC-3 for arch-v32/hwregs/eth_defs.hJesper Nilsson1-104/+98
- A couple of fields have changed name: reg_eth_rw_ga_lo.table -> tbl reg_eth_rw_ga_hi.table -> tbl reg_eth_rw_gen_ctrl.flow_ctrl_dis -> flow_ctrl - Add some new register fields. reg_eth_rw_gen_ctrl.gtxclk_out reg_eth_rw_gen_ctrl.phyrst_n reg_eth_rw_tr_ctrl.carrier_ext - max_size in reg_eth_rw_rec_ctrl had the wrong size. - Registers reg_eth_rw_mgm_ctrl and reg_eth_r_stat was reworked completely.
2008-02-08CRIS v32: Rename variable used in macro for arch-v32/hwregs/dma.hJesper Nilsson1-7/+6
The old name "r" would quite often produce warnings when other variables with the same name was shadowed. Rename it __x to make it more unlikely to happen.
2008-02-08CRIS v32: Remove useless CVS id tag from arch-v32/hwregs/MakefileJesper Nilsson1-1/+0
2008-02-08CRIS v32: Add defines for udelay and ndelay in arch-v32/delay.hJesper Nilsson1-0/+10
Both of these are implemented using cris_delay10ns().
2008-02-08CRIS v32: Adjust arch-v32/atomic.h for new spinlock/rwlock infrastructureJesper Nilsson1-5/+5
2008-02-08CRIS v32: Add missing header to include/asm-cris/arch-v32/KbuildJesper Nilsson1-0/+1
2008-02-08CRIS: Break long comment line in include/asm-cris/arch-v10/page.hJesper Nilsson1-2/+2
2008-02-08CRIS: Rename LED macros to CRIS_LED to avoid name clash in io.hJesper Nilsson2-72/+77
This is done to avoid collision with linux/leds.h
2008-02-08CRIS: Add missing headers to include/asm-cris Kbuild files.Jesper Nilsson2-1/+7
2008-02-08CRIS: Add sched_clock to kernel/time.cJesper Nilsson1-4/+9
Also, clean up some whitespace errors.
2008-02-08CRIS: Register cpus in kernel/setup.cJesper Nilsson1-8/+21
Also, fix some white space errors, and constify cpuinfo_op.
2008-02-08CRIS: Remove include of linux/init.h, not needed anymore.Jesper Nilsson1-1/+0
2008-02-08CRIS: Remove CONFIG_NO_IOMEM from ARTPEC-3 default config.Jesper Nilsson1-1/+0
2008-02-08CRIS: Remove useless CVS log from kernel/ptrace.cJesper Nilsson1-56/+2
Also, fix some whitespace errors.
2008-02-08CRIS: Remove useless CVS id and log from kernel/process.cJesper Nilsson1-101/+2
2008-02-08CRIS: Add configuration possibility for using kmalloc for modules.Jesper Nilsson1-3/+11
Using kmalloc instead of vmalloc solves the stability problems experienced by some 100 LX products.
2008-02-08CRIS: Remove CONFIG_NO_IOMEM from default configs.Jesper Nilsson2-2/+0
2008-02-08CRIS v32: Fix startup oops and replace hardcoded pagesize in vmlinux.lds.SJesper Nilsson1-37/+37
- Move alignment of init data to page size outside define CONFIG_BLK_DEV_INITRD This avoids oops due to memory on the same page as init data being freed. - Change hardcoded page size to use macro from asm/page.h - Add reserved memory via CONFIG_ETRAX_VMEM_SIZE. - Use available defines for TEXT_TEXT and INITCALLS. - Cleanup whitespace.
2008-02-08CRIS v32: Avoid work when switching between tasks with shared memory ↵Jesper Nilsson1-28/+28
descriptors in mm/tlb.c There is no need to do all this work if they share memory descriptors. Also, fix some minor whitespace and long lines.
2008-02-08CRIS v32: Add workaround for MMU hardware bug for ETRAX FS in mm/mmu.SJesper Nilsson1-12/+81
2008-02-08CRIS v32: Fix bug in internal memory allocator mm/intmem.cJesper Nilsson1-17/+31
- Fix bug where allocated memory didn't account for alignment. - Add support for ARTPEC-3 - Add module_init for crisv32_intmem_init.
2008-02-08CRIS v32: Change name of simulator config to CONFIG_ETRAX_VCS_SIM in mm/init.cJesper Nilsson1-6/+2
- Remove unneded code for ETRAX FS and ARTPEC-3
2008-02-08CRIS v32: Change lib/spinlock.S to use byte operations instead of dwords.Jesper Nilsson3-143/+5
2008-02-08CRIS v32: Move hw_settings.S to machine specific directories for ETRAX FS ↵Jesper Nilsson1-72/+0
and ARTPEC-3
2008-02-08CRIS v32: Update lib/checksum.S and lib/checksumcopy.SJesper Nilsson2-98/+43
- Slight tweaks, use $acr + addoq to propagate carry across the loop boundary. - Better use of latency cycles. - Remove duplicate folding of carry, it is not needed.
2008-02-08CRIS v32: Add lib/delay to build.Jesper Nilsson1-1/+2
2008-02-08CRIS v32: Add precise delay loops for ETRAX FS and ARTPEC-3.Jesper Nilsson1-0/+28
Implements cris_delay10ns.
2008-02-08CRIS v32: Update vcs_hook.c for ETRAX FS.Jesper Nilsson2-66/+70
- Clean up some formatting and whitespace.
2008-02-08CRIS v32: Move vcs_hook to machine specific directory.Jesper Nilsson2-70/+66
These files are different for ETRAX FS and ARTPEC-3.
2008-02-08CRIS v32: Update kernel/smp.c for CRIS v32.Jesper Nilsson1-10/+21
- Change include paths to machine specific headers (asm/arch/hwregs -> hwregs) - Add cpu_possible_map as cpumask_t and export it. - Drop struct pt_regs parameter from crisv32_ipi_interrupt. - timer -> timer0
2008-02-08CRIS v32: Update signal handling in kernel/signal.cJesper Nilsson1-88/+56
- do_signal now returns void, and does not have the previous signal set as a parameter. - Remove sys_rt_sigsuspend, we can use the common one instead. - Change sys_sigsuspend to be more like x86, don't call do_signal here. - handle_signal, setup_frame and setup_rt_frame now return -EFAULT if we've delivered a segfault, which is used by callers to perform necessary cleanup. - Break long lines, correct whitespace and formatting errors.
2008-02-08CRIS v32: Update boot/rescue/rescue.ldJesper Nilsson1-7/+30
- Update to work for ETRAX FS and ARTPEC-3
2008-02-08CRIS v10: Update drivers/gpio.c, fix locking and general improvements.Jesper Nilsson1-359/+228
- Change all spin_lock/local_irq_save to spin_lock_irqsave. - Change multiple returns in functions where we have a lock to goto out. - Correct number of arguments to gpio_poll_timer_interrupt, gpio_pa_interrupt. - Break out gpio_write logic to smaller functions to make it readable. - In setget_input and setget_output, avoid extra if-indent level. - Change name LED_* -> CRIS_LED_* to avoid name clash. - Don't use braces around single statement ifs. - Fix whitespace errors. - Remove useless CVS id and log.
2008-02-08CRIS: Add support for ETRAX FS and ARTPEC-3 to etraxgpio.hJesper Nilsson1-18/+94
The CRIS v32 architectures have more gpio ports and built in PWM.
2008-02-08CRIS v32: Change names of config variable and register field for data available.Jesper Nilsson1-6/+6
- CONFIG_ETRAXFS_SIM -> CONFIG_ETRAX_VCS_SIM - ser_intr_mask.data_avail -> ser_intr_mask.dav
2008-02-08CRIS v32: Change debug and formatting in kernel/fasttimer.cJesper Nilsson1-9/+7
- Don't use SANITYCHECK(x) as a macro, test FAST_TIMER_SANITY_CHECKS with ifdef. This makes it possible for automatic indent etc to work. - Correct some whitespace errors. - Don't initialize static variable.
2008-02-08CRIS v32: Update kernel/crisksyms.cJesper Nilsson1-1/+6
- Include pinmux.h from machine specific directory. - Add some more symbols: crisv32_pinmux_alloc, crisv32_pinmux_dealloc_fixed, crisv32_io_get_name and crisv32_io_get
2008-02-08CRIS v32: Remove config ifdef around init function for drivers/sync_serial.cJesper Nilsson1-5/+1
The init function should be defined always.
2008-02-08CRIS v32: Remove drivers/gpio.c, now exists as machine specific file.Jesper Nilsson1-765/+0
2008-02-08CRIS v32: Update driver for RTC chip pcf8563.Jesper Nilsson1-133/+163
- Moved all calls to register_chrdev to a function called by module_init. - Added mutex locking. - Added better error handling at start up. - Added BIN_TO_BCD of the month value before it is saved to the RTC. - Corrected the month value returned by pcf8563_readreg. - Cache the voltage low value at driver init so the battery status information does not get 'accidentally' cleared when setting the RTC time. - Removed obsolete CONFIG_ETRAX_RTC_READONLY - Voltage low ioctl():s RTC_VLOW_RD -> RTC_VL_READ, RTC_VLOW_SET -> RTC_VL_CLR
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