diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-09 23:09:36 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-09 23:09:36 +0200 |
commit | 2caea1ebee1fb20e1b229f1f821225829fb87f0e (patch) | |
tree | 86070cd53a417f857754822f15ba8536a9df2c40 /board/ms7722se | |
parent | 417faf285b2527acb2de24c5cd3e2621d385408c (diff) | |
parent | 689c1b30caacba3fbca0b1813facb3ab70b6cd63 (diff) | |
download | u-boot-imx-2caea1ebee1fb20e1b229f1f821225829fb87f0e.zip u-boot-imx-2caea1ebee1fb20e1b229f1f821225829fb87f0e.tar.gz u-boot-imx-2caea1ebee1fb20e1b229f1f821225829fb87f0e.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-sh
Diffstat (limited to 'board/ms7722se')
-rw-r--r-- | board/ms7722se/Makefile | 2 | ||||
-rw-r--r-- | board/ms7722se/ms7722se.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/board/ms7722se/Makefile b/board/ms7722se/Makefile index 744744e..b203b6d 100644 --- a/board/ms7722se/Makefile +++ b/board/ms7722se/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -OBJS := ms7722se.o +COBJS := ms7722se.o SOBJS := lowlevel_init.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) diff --git a/board/ms7722se/ms7722se.c b/board/ms7722se/ms7722se.c index 0d3d55c..cf02242 100644 --- a/board/ms7722se/ms7722se.c +++ b/board/ms7722se/ms7722se.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 + * Copyright (C) 2007,2008 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> * * Copyright (C) 2007 @@ -43,7 +43,7 @@ int board_init(void) return 0; } -int dram_init (void) +int dram_init(void) { DECLARE_GLOBAL_DATA_PTR; @@ -53,7 +53,7 @@ int dram_init (void) return 0; } -void led_set_state (unsigned short value) +void led_set_state(unsigned short value) { - *((volatile unsigned short *) LED_BASE) = (value & 0xFF); + writew(value & 0xFF, LED_BASE); } |