リビジョン | 444b39aa35557e40f1614d4cf408352708086b55 (tree) |
---|---|
日時 | 2014-02-16 12:23:44 |
作者 | Yoshinori Sato <ysato@user...> |
コミッター | Yoshinori Sato |
renae vender
@@ -27,7 +27,7 @@ | ||
27 | 27 | |
28 | 28 | int checkcpu(void) |
29 | 29 | { |
30 | - puts("CPU: H8300H\n"); | |
30 | + puts("CPU: H8/300H\n"); | |
31 | 31 | return 0; |
32 | 32 | } |
33 | 33 |
@@ -57,7 +57,7 @@ unsigned long long get_ticks(void) | ||
57 | 57 | |
58 | 58 | ulong get_timer(ulong base) |
59 | 59 | { |
60 | - return get_ticks() / (CONFIG_SYS_CLK_FREQ / 1000) - base; | |
60 | + return get_ticks() / (CONFIG_SYS_HZ) - base; | |
61 | 61 | } |
62 | 62 | |
63 | 63 | void set_timer(ulong t) |
@@ -76,12 +76,12 @@ void reset_timer(void) | ||
76 | 76 | void __udelay(unsigned long usec) |
77 | 77 | { |
78 | 78 | unsigned long long end = get_ticks() + |
79 | - (usec * (CONFIG_SYS_CLK_FREQ / 8000000)); | |
79 | + (usec * (CONFIG_SYS_HZ / 8000000)); | |
80 | 80 | |
81 | 81 | while (get_ticks() < end); |
82 | 82 | } |
83 | 83 | |
84 | 84 | unsigned long get_tbclk(void) |
85 | 85 | { |
86 | - return CONFIG_SYS_CLK_FREQ / 8; | |
86 | + return CONFIG_SYS_HZ / 8; | |
87 | 87 | } |
@@ -18,31 +18,5 @@ | ||
18 | 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
19 | 19 | # MA 02111-1307 USA |
20 | 20 | |
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 |
@@ -25,7 +25,7 @@ | ||
25 | 25 | |
26 | 26 | int checkboard(void) |
27 | 27 | { |
28 | - puts("BOARD: csun KaneBebe\n"); | |
28 | + puts("BOARD: nisshin-tech KaneBebe\n"); | |
29 | 29 | return 0; |
30 | 30 | } |
31 | 31 |
@@ -29,7 +29,7 @@ MEMORY | ||
29 | 29 | vector : ORIGIN = 0x000000, LENGTH = 4K |
30 | 30 | config : ORIGIN = 0x001000, LENGTH = 28K |
31 | 31 | irom : ORIGIN = 0x008000, LENGTH = 480K |
32 | - dram : ORIGIN = 0x7a0000, LENGTH = 384K | |
32 | + dram : ORIGIN = 0x7b0000, LENGTH = 320K | |
33 | 33 | /* 0xffbf20 - 0xffc720 using flash writer */ |
34 | 34 | iram : ORIGIN = 0xffcf20, LENGTH = 12K |
35 | 35 | } |
@@ -59,7 +59,9 @@ SECTIONS | ||
59 | 59 | { |
60 | 60 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
61 | 61 | . = ALIGN(4); |
62 | -#include <u-boot.lst> | |
62 | + } > irom | |
63 | + .u_boot_list : { | |
64 | + KEEP(*(SORT(.u_boot_list*))); | |
63 | 65 | } > irom |
64 | 66 | PROVIDE (_etext = .); |
65 | 67 |
@@ -56,7 +56,9 @@ SECTIONS | ||
56 | 56 | { |
57 | 57 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
58 | 58 | . = ALIGN(4); |
59 | -#include "u-boot.lst" | |
59 | + } > dram | |
60 | + .u_boot_list : { | |
61 | + KEEP(*(SORT(.u_boot_list*))); | |
60 | 62 | } > dram |
61 | 63 | PROVIDE (__etext = .); |
62 | 64 |
@@ -447,7 +447,7 @@ Active blackfin blackfin - - - | ||
447 | 447 | Active blackfin blackfin - - - tcm-bf537 - Bluetechnix Tinyboards <bluetechnix@blackfin.uclinux.org> |
448 | 448 | 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> |
449 | 449 | 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> | |
451 | 451 | Active h8300 h8300s - - h8300s_sim h8300s_sim h8300s_sim Yoshinori Sato <ysato@users.sourceforge.jp> |
452 | 452 | Active h8300 h8300s - renesas edosk2674 edosk2674 edosk2674 Yoshinori Sato <ysato@users.sourceforge.jp> |
453 | 453 | Active m68k mcf5227x - freescale m52277evb M52277EVB_stmicro M52277EVB:CF_SBF,SYS_STMICRO_BOOT,SYS_TEXT_BASE=0x43E00000 TsiChung Liew <Tsi-Chung.Liew@freescale.com> |