Skip to content
Snippets Groups Projects
Commit 0955ef34 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Nobuhiro Iwamatsu
Browse files

sh: Cleanup source code of MS7722SE

parent 1d7b31d9
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright (C) 2007 * Copyright (C) 2007,2008
* Nobuhiro Iwamatsu <iwamatsu@nigauri.org> * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* *
* Copyright (C) 2007 * Copyright (C) 2007
...@@ -43,7 +43,7 @@ int board_init(void) ...@@ -43,7 +43,7 @@ int board_init(void)
return 0; return 0;
} }
int dram_init (void) int dram_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -53,7 +53,7 @@ int dram_init (void) ...@@ -53,7 +53,7 @@ int dram_init (void)
return 0; 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);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment