• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版444b39aa35557e40f1614d4cf408352708086b55 (tree)
时间2014-02-16 12:23:44
作者Yoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

renae vender

更改概述

  • modified: arch/h8300/cpu/h8300h/cpu.c (diff)
  • modified: arch/h8300/lib/time.c (diff)
  • delete: board/{csun => nisshin-tech}/kanebebe/Makefile
  • delete: board/{csun => nisshin-tech}/kanebebe/config.mk
  • delete: board/{csun => nisshin-tech}/kanebebe/kanebebe-spi.c
  • delete: board/{csun => nisshin-tech}/kanebebe/kanebebe.c
  • delete: board/{csun => nisshin-tech}/kanebebe/lowlevel_init.S
  • delete: board/{csun => nisshin-tech}/kanebebe/u-boot.lds
  • delete: board/{csun => nisshin-tech}/kanebebe/u-boot.lds.ram
  • modified: boards.cfg (diff)

差异

--- a/arch/h8300/cpu/h8300h/cpu.c
+++ b/arch/h8300/cpu/h8300h/cpu.c
@@ -27,7 +27,7 @@
2727
2828 int checkcpu(void)
2929 {
30- puts("CPU: H8300H\n");
30+ puts("CPU: H8/300H\n");
3131 return 0;
3232 }
3333
--- a/arch/h8300/lib/time.c
+++ b/arch/h8300/lib/time.c
@@ -57,7 +57,7 @@ unsigned long long get_ticks(void)
5757
5858 ulong get_timer(ulong base)
5959 {
60- return get_ticks() / (CONFIG_SYS_CLK_FREQ / 1000) - base;
60+ return get_ticks() / (CONFIG_SYS_HZ) - base;
6161 }
6262
6363 void set_timer(ulong t)
@@ -76,12 +76,12 @@ void reset_timer(void)
7676 void __udelay(unsigned long usec)
7777 {
7878 unsigned long long end = get_ticks() +
79- (usec * (CONFIG_SYS_CLK_FREQ / 8000000));
79+ (usec * (CONFIG_SYS_HZ / 8000000));
8080
8181 while (get_ticks() < end);
8282 }
8383
8484 unsigned long get_tbclk(void)
8585 {
86- return CONFIG_SYS_CLK_FREQ / 8;
86+ return CONFIG_SYS_HZ / 8;
8787 }
--- a/board/csun/kanebebe/Makefile
+++ b/board/nisshin-tech/kanebebe/Makefile
@@ -18,31 +18,5 @@
1818 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
1919 # MA 02111-1307 USA
2020
21-#include $(TOPDIR)/config.mk
22-
23-LIB = lib$(BOARD).o
24-
25-OBJS := kanebebe.o
26-SOBJS := lowlevel_init.o
27-
28-LIB := $(addprefix $(obj),$(LIB))
29-OBJS := $(addprefix $(obj),$(OBJS))
30-SOBJS := $(addprefix $(obj),$(SOBJS))
31-
32-$(LIB): $(obj).depend $(OBJS) $(SOBJS)
33- $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
34-
35-clean:
36- rm -f $(SOBJS) $(OBJS)
37-
38-distclean: clean
39- rm -f $(LIB) core *.bak .depend
40-
41-#########################################################################
42-
43-# defines $(obj).depend target
44-include $(SRCTREE)/rules.mk
45-
46-sinclude $(obj).depend
47-
48-#########################################################################
21+obj-y := kanebebe.o lowlevel_init.o
22+obj-$(CONFIG_BB_SPI) += kanebebe-spi.o
--- a/board/csun/kanebebe/kanebebe.c
+++ b/board/nisshin-tech/kanebebe/kanebebe.c
@@ -25,7 +25,7 @@
2525
2626 int checkboard(void)
2727 {
28- puts("BOARD: csun KaneBebe\n");
28+ puts("BOARD: nisshin-tech KaneBebe\n");
2929 return 0;
3030 }
3131
--- a/board/csun/kanebebe/u-boot.lds
+++ b/board/nisshin-tech/kanebebe/u-boot.lds
@@ -29,7 +29,7 @@ MEMORY
2929 vector : ORIGIN = 0x000000, LENGTH = 4K
3030 config : ORIGIN = 0x001000, LENGTH = 28K
3131 irom : ORIGIN = 0x008000, LENGTH = 480K
32- dram : ORIGIN = 0x7a0000, LENGTH = 384K
32+ dram : ORIGIN = 0x7b0000, LENGTH = 320K
3333 /* 0xffbf20 - 0xffc720 using flash writer */
3434 iram : ORIGIN = 0xffcf20, LENGTH = 12K
3535 }
@@ -59,7 +59,9 @@ SECTIONS
5959 {
6060 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
6161 . = ALIGN(4);
62-#include <u-boot.lst>
62+ } > irom
63+ .u_boot_list : {
64+ KEEP(*(SORT(.u_boot_list*)));
6365 } > irom
6466 PROVIDE (_etext = .);
6567
--- a/board/csun/kanebebe/u-boot.lds.ram
+++ b/board/nisshin-tech/kanebebe/u-boot.lds.ram
@@ -56,7 +56,9 @@ SECTIONS
5656 {
5757 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
5858 . = ALIGN(4);
59-#include "u-boot.lst"
59+ } > dram
60+ .u_boot_list : {
61+ KEEP(*(SORT(.u_boot_list*)));
6062 } > dram
6163 PROVIDE (__etext = .);
6264
--- a/boards.cfg
+++ b/boards.cfg
@@ -447,7 +447,7 @@ Active blackfin blackfin - - -
447447 Active blackfin blackfin - - - tcm-bf537 - Bluetechnix Tinyboards <bluetechnix@blackfin.uclinux.org>
448448 Active blackfin blackfin - - bf527-ezkit bf527-ezkit-v2 bf527-ezkit:BF527_EZKIT_REV_2_1 Sonic Zhang <sonic.adi@gmail.com>:Blackfin Team <u-boot-devel@blackfin.uclinux.org>
449449 Active h8300 h8300h - - h8300h_sim h8300h_sim h8300h_sim Yoshinori Sato <ysato@users.sourceforge.jp>
450-Active h8300 h8300h - csun kanebebe kanebebe kanebebe Yoshinori Sato <ysato@users.sourceforge.jp>
450+Active h8300 h8300h - nisshin-tech kanebebe kanebebe kanebebe Yoshinori Sato <ysato@users.sourceforge.jp>
451451 Active h8300 h8300s - - h8300s_sim h8300s_sim h8300s_sim Yoshinori Sato <ysato@users.sourceforge.jp>
452452 Active h8300 h8300s - renesas edosk2674 edosk2674 edosk2674 Yoshinori Sato <ysato@users.sourceforge.jp>
453453 Active m68k mcf5227x - freescale m52277evb M52277EVB_stmicro M52277EVB:CF_SBF,SYS_STMICRO_BOOT,SYS_TEXT_BASE=0x43E00000 TsiChung Liew <Tsi-Chung.Liew@freescale.com>