[U-Boot] [PATCH v14 1/9] nds32: add header files support for nds32

Wolfgang Denk wd at denx.de
Thu Oct 6 23:27:31 CEST 2011


Dear Macpaul Lin,

In message <1316574638-20460-1-git-send-email-macpaul at andestech.com> you wrote:
> Add generic header files support for nds32 architecture.
> Cache, ptregs, data type and other definitions are included.
> 
> Signed-off-by: Macpaul Lin <macpaul at andestech.com>
> ---
> Changes for v1-v4:
>    - Code cleanup and style formatting.
> Changes for v5-v6:
>    - This patch also updated the following changes against the
>      change after master tree (v2010.12-rc1).
>    - fix upper case definitions in cache.h
>    - Support GD_FLG_ENV_READY and env_buf vars in nds32 global_data.h.
>    - Add readsb, writesb functions into io.h.
> Changes for v7:
>    - clean up
>    - volatile:
>     - types.h
>      - remove typedef volatile unsigned char  vuchar;
>      - remove typedef volatile unsigned long  vulong;
>      - remove typedef volatile unsigned short vushort;
>     - u-boot.h: remove bd_info_ext bi_ext
>     - bitops.h: add accessor function to bit operation with volatile var.
>     - system.h: add system.h for local_irq operation with flag.
> Changes for v8:
>    - ptrace.h: rewrite the pt_reg structure, and merge ptregs.h.
>    - ptregs.h: removed
> Changes for v9:
>    - No change.
> Changes for v10:
>    - macro.h: add writel and setbf macros
>    - u-boot-nds32.h:
>     - Remove obsolete andesboot_* symbols for relocation.
>     - Add _bss_*_offset symbols for relocation.
>    - config.h: add manual relocation support as default.
> Changes for v11:
>    - unaligned.h: replace asm/unaligned.h with asm-generic/unaligned.h
> Changes for v12:
>    - remove no used memory.h
>    - remove seldom used bi_env parameter
>    - u-boot-nds32.h:
>     - remove duplicate timer_init()
> Changes for v13-v14:
>    - No change.
> 
>  arch/nds32/include/asm/bitops.h       |  186 +++++++++++++++
>  arch/nds32/include/asm/byteorder.h    |   36 +++
>  arch/nds32/include/asm/cache.h        |   54 +++++
>  arch/nds32/include/asm/config.h       |   28 +++
>  arch/nds32/include/asm/global_data.h  |   89 +++++++
>  arch/nds32/include/asm/io.h           |  409 +++++++++++++++++++++++++++++++++
>  arch/nds32/include/asm/mach-types.h   |   29 +++
>  arch/nds32/include/asm/macro.h        |   96 ++++++++
>  arch/nds32/include/asm/posix_types.h  |   84 +++++++
>  arch/nds32/include/asm/processor.h    |   25 ++
>  arch/nds32/include/asm/ptrace.h       |   88 +++++++
>  arch/nds32/include/asm/string.h       |   57 +++++
>  arch/nds32/include/asm/system.h       |   88 +++++++
>  arch/nds32/include/asm/types.h        |   63 +++++
>  arch/nds32/include/asm/u-boot-nds32.h |   51 ++++
>  arch/nds32/include/asm/u-boot.h       |   60 +++++
>  arch/nds32/include/asm/unaligned.h    |    1 +
>  17 files changed, 1444 insertions(+), 0 deletions(-)
>  create mode 100644 arch/nds32/include/asm/bitops.h
>  create mode 100644 arch/nds32/include/asm/byteorder.h
>  create mode 100644 arch/nds32/include/asm/cache.h
>  create mode 100644 arch/nds32/include/asm/config.h
>  create mode 100644 arch/nds32/include/asm/global_data.h
>  create mode 100644 arch/nds32/include/asm/io.h
>  create mode 100644 arch/nds32/include/asm/mach-types.h
>  create mode 100644 arch/nds32/include/asm/macro.h
>  create mode 100644 arch/nds32/include/asm/posix_types.h
>  create mode 100644 arch/nds32/include/asm/processor.h
>  create mode 100644 arch/nds32/include/asm/ptrace.h
>  create mode 100644 arch/nds32/include/asm/string.h
>  create mode 100644 arch/nds32/include/asm/system.h
>  create mode 100644 arch/nds32/include/asm/types.h
>  create mode 100644 arch/nds32/include/asm/u-boot-nds32.h
>  create mode 100644 arch/nds32/include/asm/u-boot.h
>  create mode 100644 arch/nds32/include/asm/unaligned.h

Checkpatch says:

total: 8 errors, 58 warnings, 1444 lines checked

Please clean up and resubmit.  Thanks.


More information about the U-Boot mailing list