From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 22 Oct 2011 00:53:28 +0200 Subject: [U-Boot] [PATCH v17 5/9] nds32/lib: add generic funcs in NDS32 lib In-Reply-To: <1319092871-28135-5-git-send-email-macpaul@andestech.com> References: <20111011125328.795421408753@gemini.denx.de> <1319092871-28135-5-git-send-email-macpaul@andestech.com> Message-ID: <20111021225328.0C24611F9E79@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Macpaul Lin, In message <1319092871-28135-5-git-send-email-macpaul@andestech.com> you wrote: > Add Makefile, board.c, interrupts.c and bootm.c functions > to nds32 architecture. > > Signed-off-by: Macpaul Lin > --- > Changes for v1-v4: > - code clean up and formatting style. > Changes for v5-v6: > - board.c > - Do some clean up and add code > - Remove display banner which hasn't support. > - Add ftpmu010 related power management unit code. > - Remove useless LED related code. > - Move SDRAM init to board sepecific files. (ex. adp-ag101.c) > - Remove CONFIG_SOFT_I2C which hasn't been support. > - Remove CONFIG_FSL_ESDHC which hasn't been support. > - clean up. > Changes for v7: > - clean up. > - move single file patch arch/nds32/config.mk to this commit. > - interrupts.c refine origin interrupt enable and disable. > Changes for v8: > - interrups.c: fix up for new ptraces.h. > Changes for v9: > - support CONFIG_STANDALONE_LOAD_ADDR in config.mk > Changes for v10: > - config.mk: > - add -fpie flag. > - replace -ffixed-8 to -ffixed-10. > - add -mrelax and --gc-sections to LDFLAG > - board.c: > - fix lib/board.c for relocation. > - fix dram init for relocation. > Changes for v11: > - arch/nds32/lib/Makefile > - replace $(AR) $(call cmd_link_o_target,...) > Changes for v12: > - config.mk > - remove $(SRCTREE)/$(CPUDIR)/u-boot.lds > - board.c: > - remove obsolelte version_string. > - remove declaration "extern __bss_end" which is not need. > - replace sizeof(gd_t) and sizeof(bd_t) to > GENERATED_GBL_DATA_SIZE and GENERATED_BD_INFO_SIZE > - add memset to board info (bd) > - remove compiler optimization barrier which is not need. > Changes for v13: > - board.c: remove unused CONFIG_IDENT_STRING. > - arch/nds32/lib/Makefile: remove unused clean and distclean. > Changes for v14: > - No change. > Changes for v15: > - lib/board.c: > - remove duplicate pci init > - drop NET_MULTI > Changes for v16-v17: > - No changes. > > arch/nds32/config.mk | 35 ++++ > arch/nds32/lib/Makefile | 46 +++++ > arch/nds32/lib/board.c | 439 +++++++++++++++++++++++++++++++++++++++++++ > arch/nds32/lib/bootm.c | 241 ++++++++++++++++++++++++ > arch/nds32/lib/interrupts.c | 129 +++++++++++++ > 5 files changed, 890 insertions(+), 0 deletions(-) > create mode 100644 arch/nds32/config.mk > create mode 100644 arch/nds32/lib/Makefile > create mode 100644 arch/nds32/lib/board.c > create mode 100644 arch/nds32/lib/bootm.c > create mode 100644 arch/nds32/lib/interrupts.c Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When all else fails, read the instructions.