sh7785lcr.c (92afd368bba7d98b2b7bfb51082c3639bb2119b3) | sh7785lcr.c (54841ab50c20d6fa6c9cc3eb826989da3a22d934) |
---|---|
1/* 2 * Copyright (C) 2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 of 7 * the License, or (at your option) any later version. 8 * --- 42 unchanged lines hidden (view full) --- 51} 52 53int board_eth_init(bd_t *bis) 54{ 55 return pci_eth_init(bis); 56} 57 58#if defined(CONFIG_SH_32BIT) | 1/* 2 * Copyright (C) 2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 of 7 * the License, or (at your option) any later version. 8 * --- 42 unchanged lines hidden (view full) --- 51} 52 53int board_eth_init(bd_t *bis) 54{ 55 return pci_eth_init(bis); 56} 57 58#if defined(CONFIG_SH_32BIT) |
59int do_pmb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) | 59int do_pmb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
60{ 61 /* clear ITLB */ 62 writel(0x00000004, 0xff000010); 63 64 /* delete PMB for peripheral */ 65 writel(0, PMB_ADDR_BASE(0)); 66 writel(0, PMB_DATA_BASE(0)); 67 writel(0, PMB_ADDR_BASE(1)); --- 20 unchanged lines hidden --- | 60{ 61 /* clear ITLB */ 62 writel(0x00000004, 0xff000010); 63 64 /* delete PMB for peripheral */ 65 writel(0, PMB_ADDR_BASE(0)); 66 writel(0, PMB_DATA_BASE(0)); 67 writel(0, PMB_ADDR_BASE(1)); --- 20 unchanged lines hidden --- |