Jesper Nilsson
bc10ac3f2f
CRIS v32: Remove hwregs/timer_defs.h, it is now architecture specific.
...
- File is moved to arch-v32/mach-fs/hwregs/timer_defs.h
2008-02-08 17:51:15 +01:00
Jesper Nilsson
eb090473a7
CRIS v32: Correct spelling of bandwidth in function name.
2008-02-08 11:16:46 +01:00
Jesper Nilsson
1791f539cd
CRIS v32: Minor changes to avoid errors in asm-cris/arch-v32/hwregs/reg_rdwr.h
...
- Add ifdef around macros to read and write hardware registers
- Add parens around REG_READ expression to avoid possible precedence errors.
- Remove useless CVS id tag.
2008-02-08 11:06:39 +01:00
Jesper Nilsson
b8ed6b4d83
CRIS v32: arch-v32/hwregs/intr_vect_defs.h moved to machine dependent directory.
2008-02-08 11:06:39 +01:00
Jesper Nilsson
fb5c6e1155
CRIS v32: Correct offset for TASK_pid in asm-cris/arch-v32/offset.h
2008-02-08 11:06:39 +01:00
Jesper Nilsson
78dbb60643
CRIS v32: Move register map header to machine dependent directory.
...
This file is machine dependent, and needs to be in
asm-cris/arch-v32/mach-fs/hwregs/reg_map.h instead.
2008-02-08 11:06:39 +01:00
Jesper Nilsson
57e6f9646c
CRIS v32: Let compiler know that memory is clobbered after a break op.
2008-02-08 11:06:39 +01:00
Jesper Nilsson
12e1b1e790
CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h
...
CRIS v32 is not SMP.
2008-02-08 11:06:39 +01:00
Jesper Nilsson
de1c1419f9
CRIS v32: Completely rework spinlocks for ETRAX FS and ARTPEC-3
2008-02-08 11:06:39 +01:00
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
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
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
738af38bbc
CRIS v32: Add prototypes for cache flushing
...
We need these to work around some cache bugs in CRISv32 chips.
2008-02-08 11:06:24 +01:00
Jesper Nilsson
1e5915b173
CRIS v32: Update asm-cris/arch-v32/irq.h for ETRAX FS and ARTPEC-3
...
- Correct include to use <>
- Rework calculation of number of IRQs and exceptions we have.
- Remove useless "mask" argument to BUILD_IRQ macro
2008-02-08 11:06:24 +01:00