[U-Boot] [PATCH 1/2] [RFC] AVR32: move memory-map.h to hardware.h

Reinhard Meyer
2010-11-03T15:02:39Z

Dear Andreas Bie?mann,
> - fixup address definitions as done in at91
> - fixup required files in arch/avr32
>
> Signed-off-by: Andreas Bie?mann <biessmann@corscience.de>
> ---

> create mode 100644 arch/avr32/include/asm/arch-at32ap700x/hardware.h
> delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/memory-map.h

You should use git mv <old> <new> and then git format-patch -C to have
a rename operation in the patch. So everyone later can see it was a rename
with subsequent edit.

And then checkpatch complains as follows:

ERROR: patch seems to be corrupt (line wrapped?)
#71: FILE: arch/avr32/cpu/at32ap700x/clk.c:24:
=20

WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#467: FILE: arch/avr32/include/asm/hmatrix-common.h:119:
+ (((volatile struct hmatrix_regs *)ATMEL_BASE_HMATRIX)->reg)

total: 1 errors, 1 warnings, 275 lines checked

The warning can be ignored.

Best Regards,
Reinhard