mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
sh: Cleanup source code of MS7722SE
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
1d7b31d97b
commit
0955ef34c0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user