- 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.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/arch-v32/io.h
- 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.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/process.c | 16 ++---
- 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.
Signed-off-by: Jesper Nilsson
l2cache.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/head.S | 202 +-
1 files changed, 114 insertions(+), 88 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/head.S b/arch/cris/arch-v32/kernel/head.S
index 2
.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/irq.c | 274 +++
1 files changed, 193 insertions(+), 81 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c
index a9acaa2..173c141
- Shorten include path for machine dependent header files.
- Correct some formatting issues.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/arch-v32/timex.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/asm-cris/arch-v32/t
specific serial port setup.
- Initialize pinmux for the correct serial port.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/compressed/misc.c | 72 +
1 files changed, 53 insertions(+), 19 deletions(-)
diff --git a/arch/cris/ar
Also add board_mmcspi to build if ETRAX_SPI_MMC_BOARD is set.
(Generic MMC SPI implementation)
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/Makefile |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/cris/arch-v32/d
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/rescue/Makefile
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use KBUILD_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/compressed/Makefile
- 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.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/compressed/head.S
in another OS.
- Remove CVS log.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/fasttimer.c | 519
1 files changed, 195 insertions(+), 324 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/fasttimer.c
b/arch/cris/ar
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/Makefile | 23 +++
1 files changed, 15 insertions(+), 8 del
- 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)
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/boot/rescue/head.S
register type names.
- Correct some whitespace errors and formatting.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/debugport.c | 342
1 files changed, 43 insertions(+), 299 deletions(-)
diff --git a/arch/cris/arch-v32/
- Add config to use mtd0 as whole flash device.
- Fix whitespace errors.
- Remove braces around single statement ifs.
- Break long lines.
- Remove unnecessary CVS log.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v10/drivers/axisflashmap.c
- Remove raw_prink hack, use oops_in_progress instead.
- When ETRAX_WATCHDOG_NICE_DOGGY is set, loop in trap after oops dump
instead of rebooting.
- Break long lines to less than 80 chars.
- Fix whitespace errors.
- Remove unnecessary comments.
Signed-off-by: Jesper Nilsson <[EMAIL PROTEC
- Correct whitespace problems.
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compile error when not set.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v10/boot/rescue/head.S | 117 +
1 files changed, 61 insertions(+), 56 deletions(-)
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v10/boot/compressed/Makefile | 48 ++-
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Removes a lot of cruft.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v10/boot/rescue/Makefile
- Use default partition table when no partition is found (for initial tests)
- Add config ETRAX_AXISFLASHMAP_MTD0WHOLE to allow whole flash as mtd0.
- Add config for VCS simulator connection.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/axisflashmap.c
Add files to be cleaned in CLEAN_FILES instead of as archclean target.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/Makefile | 139 ++--
1 files changed, 70 insertions(+), 69 deletions(-)
diff --git a/arch/cris/Makefile b/arch/cri
- Remove old specific targets, use more generic ones instead.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v10/boot/Makefile | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cri
- Add i2c_write and i2c_read as functions.
- Use spinlocks for critical regions.
- Add config item to set I2C data and clock port.
- Put unneeded testcode inside #if 0.
- Remove CVS id tag.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/i2c.c
- Remove oldset parameter.
- Utilise delay-slot for parameter moving.
- Add kernel_execve as break 13.
- Add new kernel syscalls.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/entry.S | 82 +
1 files changed, 64 inse
- Remove CRISv32 common arbiter, dma, io and pinmux files,
they are now defined in machine dependent directories.
- Add cache and cacheflush files for working around cache problems
in CRISv32 chips.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/Ma
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/kernel/ptrace.c | 13 +
arch/cris/arch-v32/mm/Makefile |3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/ptrace.c
b/arch/cris/arch-v32/kernel/pt
- Only disallow oops if we're in_interrupt context (was in_atomic before)
- Use the generic oops_in_progress instead of the raw_printk hack.
- Fix whitespace/formatting.
- Remove CVS log entries.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/mm/fault.c
- Collect extern declarations at top of file.
- Change raw_printk to printk, use oops_in_progress instead.
- Fix formatting and whitespace.
- Allow the watchdog to be disabled during oops.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/kernel/traps.c
We need these to work around some cache bugs in CRISv32 chips.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/arch-v32/cache.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/arch-v32/cache.h
b/include/asm-cri
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/Kbuild |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild
index 14498d5..7ce0692 100644
--- a/include/asm-cris/Kbuild
+++ b/include/asm-cris/
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/dma-mapping.h | 11 ---
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h
index 662cea7..edc8d1b 100644
--- a/include/asm-cr
- Include files using <>
- Change NR_REAL_IRQS to be calculated from the other defines.
- Set MACH_IRQS depending on the value of NR_REAL_IRQS.
- Remove unused mask parameter to BUILD_IRQ macro.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/arch-v32/
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/mm/init.c | 111 ---
1 files changed, 0 insertions(+), 111 deletions(-)
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 0c833d1..4207a2b 100644
--- a/arch/cris/mm/
Now uses a DMA descriptor ring, which should avoid any unnecessary
pauses in the streams.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/sync_serial.c | 940 +++---
1 files changed, 599 insertions(+), 341 deletions(-)
diff --git
- Add partition table struct to be used to parse partition table in flash.
- Add JFFS2 as a type, and add readoly flag.
- Improve some comments.
- Lindent has been run, fixing whitespace and formatting issues.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/axisflas
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
include/asm-cris/sync_serial.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/sync_serial.h b/include/asm-cris/sync_serial.h
index f930b6e..d87c24d 100644
--- a/include/asm-cris/sync_serial.h
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/mm/l2cache.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 arch/cris/arch-v32/mm/l2cache.c
diff --git a/arch/cris/arch-v32/mm/l2cache.c b/arch/cris/arch-
Adds gpio and nandflash handling for Etrax-FS
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/mach-fs/Makefile|6 +
arch/cris/arch-v32/drivers/mach-fs/gpio.c | 971
arch/cris/arch-v32/drivers/mach-fs/nandflash.c
Adds gpio and nandflash handling for Artpec-3.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
arch/cris/arch-v32/drivers/mach-a3/Makefile|6 +
arch/cris/arch-v32/drivers/mach-a3/gpio.c | 984
arch/cris/arch-v32/drivers/mach-a3/nandflash.c
this is a hefty chunk of code to review, but any suggestions
on improvements are thankfully received.
The changes are also available in the export2 branch at
git://www.jni.nu/axis.git
Best regards,
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [EMAIL PROTECTED]
--
To unsubscribe from this list
this is a hefty chunk of code to review, but any suggestions
on improvements are thankfully received.
The changes are also available in the export2 branch at
git://www.jni.nu/axis.git
Best regards,
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [EMAIL PROTECTED]
--
To unsubscribe from this list
Adds gpio and nandflash handling for Artpec-3.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/mach-a3/Makefile|6 +
arch/cris/arch-v32/drivers/mach-a3/gpio.c | 984
arch/cris/arch-v32/drivers/mach-a3/nandflash.c | 178
Adds gpio and nandflash handling for Etrax-FS
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/mach-fs/Makefile|6 +
arch/cris/arch-v32/drivers/mach-fs/gpio.c | 971
arch/cris/arch-v32/drivers/mach-fs/nandflash.c | 172
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/mm/l2cache.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 arch/cris/arch-v32/mm/l2cache.c
diff --git a/arch/cris/arch-v32/mm/l2cache.c b/arch/cris/arch-v32/mm
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/sync_serial.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/sync_serial.h b/include/asm-cris/sync_serial.h
index f930b6e..d87c24d 100644
--- a/include/asm-cris/sync_serial.h
+++ b
Now uses a DMA descriptor ring, which should avoid any unnecessary
pauses in the streams.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/sync_serial.c | 940 +++---
1 files changed, 599 insertions(+), 341 deletions(-)
diff --git a/arch
- Add partition table struct to be used to parse partition table in flash.
- Add JFFS2 as a type, and add readoly flag.
- Improve some comments.
- Lindent has been run, fixing whitespace and formatting issues.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/axisflashmap.h
- Include files using
- Change NR_REAL_IRQS to be calculated from the other defines.
- Set MACH_IRQS depending on the value of NR_REAL_IRQS.
- Remove unused mask parameter to BUILD_IRQ macro.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/irq.h | 15
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/mm/init.c | 111 ---
1 files changed, 0 insertions(+), 111 deletions(-)
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 0c833d1..4207a2b 100644
--- a/arch/cris/mm/init.c
We need these to work around some cache bugs in CRISv32 chips.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/cache.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/arch-v32/cache.h
b/include/asm-cris/arch-v32
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/Kbuild |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild
index 14498d5..7ce0692 100644
--- a/include/asm-cris/Kbuild
+++ b/include/asm-cris/Kbuild
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/dma-mapping.h | 11 ---
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h
index 662cea7..edc8d1b 100644
--- a/include/asm-cris/dma
- Only disallow oops if we're in_interrupt context (was in_atomic before)
- Use the generic oops_in_progress instead of the raw_printk hack.
- Fix whitespace/formatting.
- Remove CVS log entries.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/mm/fault.c | 169
- Collect extern declarations at top of file.
- Change raw_printk to printk, use oops_in_progress instead.
- Fix formatting and whitespace.
- Allow the watchdog to be disabled during oops.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/kernel/traps.c | 226
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/ptrace.c | 13 +
arch/cris/arch-v32/mm/Makefile |3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/ptrace.c
b/arch/cris/arch-v32/kernel/ptrace.c
- Remove oldset parameter.
- Utilise delay-slot for parameter moving.
- Add kernel_execve as break 13.
- Add new kernel syscalls.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/entry.S | 82 +
1 files changed, 64 insertions
- Remove CRISv32 common arbiter, dma, io and pinmux files,
they are now defined in machine dependent directories.
- Add cache and cacheflush files for working around cache problems
in CRISv32 chips.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/Makefile |5
- Add i2c_write and i2c_read as functions.
- Use spinlocks for critical regions.
- Add config item to set I2C data and clock port.
- Put unneeded testcode inside #if 0.
- Remove CVS id tag.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/i2c.c | 199
- Use default partition table when no partition is found (for initial tests)
- Add config ETRAX_AXISFLASHMAP_MTD0WHOLE to allow whole flash as mtd0.
- Add config for VCS simulator connection.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/axisflashmap.c | 488
to be cleaned in CLEAN_FILES instead of as archclean target.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/Makefile | 139 ++--
1 files changed, 70 insertions(+), 69 deletions(-)
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index
- Remove old specific targets, use more generic ones instead.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/Makefile | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cris/arch
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/compressed/Makefile | 48 ++
1
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Removes a lot of cruft.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/rescue/Makefile | 56
- Correct whitespace problems.
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compile error when not set.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/rescue/head.S | 117 +
1 files changed, 61 insertions(+), 56 deletions(-)
diff
- Add config to use mtd0 as whole flash device.
- Fix whitespace errors.
- Remove braces around single statement ifs.
- Break long lines.
- Remove unnecessary CVS log.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/drivers/axisflashmap.c | 181
- Remove raw_prink hack, use oops_in_progress instead.
- When ETRAX_WATCHDOG_NICE_DOGGY is set, loop in trap after oops dump
instead of rebooting.
- Break long lines to less than 80 chars.
- Fix whitespace errors.
- Remove unnecessary comments.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED
- 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)
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/rescue/head.S | 42
register type names.
- Correct some whitespace errors and formatting.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/debugport.c | 342
1 files changed, 43 insertions(+), 299 deletions(-)
diff --git a/arch/cris/arch-v32/kernel
in another OS.
- Remove CVS log.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/fasttimer.c | 519
1 files changed, 195 insertions(+), 324 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/fasttimer.c
b/arch/cris/arch-v32/kernel
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/Makefile | 23 +++
1 files changed, 15 insertions(+), 8 deletions(-)
diff
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use KBUILD_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/compressed/Makefile | 47 ++
1
- 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.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/compressed/head.S | 137
Also add board_mmcspi to build if ETRAX_SPI_MMC_BOARD is set.
(Generic MMC SPI implementation)
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/Makefile |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/cris/arch-v32/drivers/Makefile
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/rescue/Makefile | 41 ---
1
- Shorten include path for machine dependent header files.
- Correct some formatting issues.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/timex.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/asm-cris/arch-v32/timex.h
b
specific serial port setup.
- Initialize pinmux for the correct serial port.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/compressed/misc.c | 72 +
1 files changed, 53 insertions(+), 19 deletions(-)
diff --git a/arch/cris/arch-v32/boot
l2cache.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/head.S | 202 +-
1 files changed, 114 insertions(+), 88 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/head.S b/arch/cris/arch-v32/kernel/head.S
index 20bd80a..96ad000
.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/irq.c | 274 +++
1 files changed, 193 insertions(+), 81 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c
index a9acaa2..173c141 100644
- 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.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/process.c | 16 ++--
1 files
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/defconfig | 796 ++-
1 files changed, 274 insertions(+), 522 deletions(-)
diff --git a/arch/cris/defconfig b/arch/cris/defconfig
index 9c33ae6..ec857c6 100644
--- a/arch/cris/defconfig
.
- Whitespace and formatting changes.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/time.c | 237 ++
1 files changed, 139 insertions(+), 98 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel
- 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.
Signed-off-by: Jesper Nilsson
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/artpec_3_defconfig | 583 +
arch/cris/etraxfs_defconfig | 586 ++
2 files changed, 1169 insertions(+), 0 deletions(-)
create mode 100644 arch/cris
- 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.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/io.h | 70
On Thu, Dec 06, 2007 at 05:58:04AM -0800, David Miller wrote:
From: Jesper Nilsson [EMAIL PROTECTED]
Date: Fri, 30 Nov 2007 16:13:29 +0100
^^^
Any particular reason for the 6 day long delay in these mails going
out or is your clock simply wrong?
As co-postmaster, I am
nks,
which are created later in the build process.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
Kconfig |5 +++--
arch-v10/Kconfig |4
arch-v10/drivers/Kconfig |4
arch-v32/Kconfig |4
arch-v32/drivers/Kconfig |
are created later in the build process.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
Kconfig |5 +++--
arch-v10/Kconfig |4
arch-v10/drivers/Kconfig |4
arch-v32/Kconfig |4
arch-v32/drivers/Kconfig |4
5 files changed
ternal development.
Best regards,
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-inf
,
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
On Wed, Nov 14, 2007 at 06:29:17PM -0800, Denys Vlasenko wrote:
> On Wednesday 14 November 2007 09:08, Jesper Nilsson wrote:
> > /* Not true gettimeofday, only checks the jiffies (uptime) + useconds */
> > -void __INLINE__ do_gettimeofday_fast(struct fasttime_t *tv)
&
On Wed, Nov 14, 2007 at 06:29:17PM -0800, Denys Vlasenko wrote:
On Wednesday 14 November 2007 09:08, Jesper Nilsson wrote:
/* Not true gettimeofday, only checks the jiffies (uptime) + useconds */
-void __INLINE__ do_gettimeofday_fast(struct fasttime_t *tv)
+inline void do_gettimeofday_fast
er1_handler(int irq, void *dev_id)
D1(printk(KERN_DEBUG "t: %is %06ius\n",
tv.tv_jiff, tv.tv_usec));
-if (timeval_cmp(>tv_expires, ) <= 0)
+ if (fasttime_cmp(>tv_expires, ) <= 0)
{
/* Yes it has expired */
#ifde
Add \n\ at end of lines inside asm statement to avoid warning.
No change except adding \n\ to end of line and correcting
whitespace has been done.
Removes warning about multi-line string literals when compiling
arch/cris/arch-v10/lib/string.c
Signed-off-by: Jesper Nilsson <[EMAIL PROTEC
Add \n\ at end of lines inside asm statement to avoid warning.
No change except adding \n\ to end of line and correcting
whitespace has been done.
Removes warning about multi-line string literals when compiling
arch/cris/arch-v10/lib/memset.c
Signed-off-by: Jesper Nilsson <[EMAIL PROTEC
Removes warning when compiling arch/cris/arch-v10/lib/usercopy.c
No change except adding \n\ on the end of the lines has been done.
Removes warning about multi-line string literals.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
usercopy.c
Declare mac using DECLARE_MAC_BUF for use when calling print_mac().
This fixes compile error where mac was undeclared.
Also, remove unused variable i.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
eth_v10.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
Include linux/pagemap.h for release_pages and page_cache_release.
Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset.
Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]>
---
tlb.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/include/asm-cris/tlb.h b/inclu
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote:
> On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote:
> > > if (timeval_cmp(>tv_expires, ) <= 0)
> >
> > You have a private timeval_cmp(). Please take a look at utilising
> >
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote:
On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote:
if (timeval_cmp(t-tv_expires, tv) = 0)
You have a private timeval_cmp(). Please take a look at utilising
include/linux/time.h:timeval_compare() instead
501 - 600 of 678 matches
Mail list logo