diff options
author | Prafulla Wadaskar <prafulla@marvell.com> | 2009-06-29 20:55:54 +0530 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-07-06 21:53:15 +0200 |
commit | 78eabb90b793fafe875a7469526d1715fa56cbb4 (patch) | |
tree | ec3d027aaca49f9b5435718775db5a3b41cf0b62 /cpu/arm926ejs | |
parent | 095a460b49022e64df76134300643606e3acb4e9 (diff) | |
download | u-boot-imx-78eabb90b793fafe875a7469526d1715fa56cbb4.zip u-boot-imx-78eabb90b793fafe875a7469526d1715fa56cbb4.tar.gz u-boot-imx-78eabb90b793fafe875a7469526d1715fa56cbb4.tar.bz2 |
arm: Kirkwood: arch specific updated for ehci-Kirkwood driver support
This patch abstracts Kirkwood arch specific changes to support ehci-kirkwood driver
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'cpu/arm926ejs')
-rw-r--r-- | cpu/arm926ejs/kirkwood/cpu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpu/arm926ejs/kirkwood/cpu.c b/cpu/arm926ejs/kirkwood/cpu.c index 194ba1c..795a739 100644 --- a/cpu/arm926ejs/kirkwood/cpu.c +++ b/cpu/arm926ejs/kirkwood/cpu.c @@ -74,7 +74,7 @@ unsigned char get_random_hex(void) * 64 KByte granularity (e.g., a value of 0x00FF specifies 256 = 16 MByte). * NOTE: A value of 0x0 specifies 64-KByte size. */ -static unsigned int kw_winctrl_calcsize(unsigned int sizeval) +unsigned int kw_winctrl_calcsize(unsigned int sizeval) { int i; unsigned int j = 0; @@ -87,10 +87,6 @@ static unsigned int kw_winctrl_calcsize(unsigned int sizeval) return (0x0000ffff & j); } -/* prepares data to be loaded in win_Ctrl register */ -#define KWCPU_WIN_CTRL_DATA(size, target, attr, en) (en | (target << 4) \ - | (attr << 8) | (kw_winctrl_calcsize(size) << 16)) - /* * kw_config_adr_windows - Configure address Windows * |