Jesper Nilsson
4258fb1932
CRIS v32: Change name for simulator config in asm-cris/arch-v32/processor.h
2008-02-08 11:06:38 +01:00
Jesper Nilsson
230d69cf2b
CRIS v32: Add prototype for crisv32_pinmux_dealloc_fixed in asm-cris/arch-v32/pinmux.h
...
Deallocation was not possible before, but is now.
2008-02-08 11:06:38 +01:00
Jesper Nilsson
e919a1201c
CRIS v32: Change name for simulator config in asm-cris/arch-v32/page.h
...
Also, fix a typo.
2008-02-08 11:06:38 +01:00
Jesper Nilsson
d9ebcacee9
CRIS v32: Remove juliette.h, it is not supported for CRIS v32.
2008-02-08 11:06:38 +01:00
Jesper Nilsson
6c6dc56c1e
CRIS v32: Add support for ETRAX FS and ARTPEC-3 for arch-v32/hwregs/eth_defs.h
...
- 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-08 11:06:38 +01:00
Jesper Nilsson
8d07328744
CRIS v32: Rename variable used in macro for arch-v32/hwregs/dma.h
...
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-08 11:06:38 +01:00
Jesper Nilsson
3fb18a3387
CRIS v32: Remove useless CVS id tag from arch-v32/hwregs/Makefile
2008-02-08 11:06:38 +01:00
Jesper Nilsson
94ebe16415
CRIS v32: Add defines for udelay and ndelay in arch-v32/delay.h
...
Both of these are implemented using cris_delay10ns().
2008-02-08 11:06:38 +01:00
Jesper Nilsson
209e9c43ad
CRIS v32: Adjust arch-v32/atomic.h for new spinlock/rwlock infrastructure
2008-02-08 11:06:38 +01:00
Jesper Nilsson
e52c2c72dd
CRIS v32: Add missing header to include/asm-cris/arch-v32/Kbuild
2008-02-08 11:06:37 +01:00
Jesper Nilsson
581b4fdc15
CRIS: Break long comment line in include/asm-cris/arch-v10/page.h
2008-02-08 11:06:37 +01:00
Jesper Nilsson
0d9f2e6f86
CRIS: Rename LED macros to CRIS_LED to avoid name clash in io.h
...
This is done to avoid collision with linux/leds.h
2008-02-08 11:06:37 +01:00
Jesper Nilsson
a1a7dc1d06
CRIS: Add missing headers to include/asm-cris Kbuild files.
2008-02-08 11:06:37 +01:00
Jesper Nilsson
46aac058fe
CRIS: Add support for ETRAX FS and ARTPEC-3 to etraxgpio.h
...
The CRIS v32 architectures have more gpio ports and built in PWM.
2008-02-08 11:06:34 +01:00
Jesper Nilsson
3c1d9303a9
CRIS: Fix bugs in return value of atomic_inc_return and atomic_dec_return.
...
Increment and decrement before assigning to return value.
2008-02-08 11:06:33 +01:00
Jesper Nilsson
b43890af88
CRIS: Allow arch dependent delay to override common version.
2008-02-08 11:06:32 +01:00
Jesper Nilsson
151f639830
CRIS: Include arch dependent bug.h.
2008-02-08 11:06:32 +01:00
Jesper Nilsson
620cf2e442
CRIS: Correct pfn_pte to make it possible to ioremap uncached addresses.
2008-02-08 11:06:32 +01:00
Jesper Nilsson
058f5fdfd9
CRIS: Correct comment in io.h to describe reality of I/O space.
...
The old comment stated that it was "junk needed for the arch-independent code
but which we never use in the CRIS port", but this is no longer true.
2008-02-08 11:06:32 +01:00
Jesper Nilsson
78759757df
CRIS: Update cpu_possible_map and raw_smp_processor_id in smp.h header.
...
- Change name of __smp_processor_id to raw_smp_processor_id.
- cpu_possible_map is no longer a define for phys_cpu_present_map,
it is now a cpumask_t.
2008-02-08 11:06:32 +01:00
Jesper Nilsson
d8468472e4
CRIS v10: Cleanup rtc.h
...
- Change RTC_VLOW_RD -> RTC_VL_READ, RTC_VLOW_SET -> RTC_VL_CLR
- Whitespace and formatting.
2008-02-08 11:06:29 +01:00
Jesper Nilsson
0dfb8c3570
CRIS: Add architecture dependent bug.h for CRIS v10 and CRIS v32
2008-02-08 11:06:28 +01:00
Jesper Nilsson
d8ca6b1593
CRIS v32: Minor fixes for io.h
...
- Shorten include paths for machine dependent header files.
- Add volatile to hardeware register pointers.
- Add spinlocks around critical region.
- Expand macros for handling of leds.
2008-02-08 11:06:28 +01:00
Jesper Nilsson
e867cefbaa
CRIS v32: Include path fix for timex.h
...
- Shorten include path for machine dependent header files.
- Correct some formatting issues.
2008-02-08 11:06:27 +01:00
Jesper Nilsson
e8a8abf20e
CRIS: Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
2008-02-08 11:06:24 +01:00