> Cc: Nobuhiro Iwamatsu
> Cc: Paul Barker
> Cc: Peng Fan
Thank you for the patch! This patch looks good to me. So,
Reviewed-by: Yoshihiro Shimoda
Also, our outsourcing member tested this patch on R-Car H3 Salvator-XS
And it works without any regression. So,
Tested-by: Thuan Nguyen Ho
Fixes: 58c35b17aa8f ("mmc: matsushita-common: Always check controller
> version")
> Signed-off-by: Marek Vasut
Thank you for the patch. It looks good to me. So,
Reviewed-by: Yoshihiro Shimoda
Also, our outsourcing member tested it on R-Car H3 Salvator-XS and
it works without an
.
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Jaehoon Chung
> Cc: Nobuhiro Iwamatsu
> Cc: Peng Fan
> ---
Thank you for the patch. It looks good to me. So,
Reviewed-by: Yoshihiro Shimoda
Also, our outsourcing member tested it on R-Car H3 Salvator-XS and
it works without an
Iwamatsu
> CC: "Yoshihiro Shimoda"
Thank you for the patch.
Acked-by: Yoshihiro Shimoda
Thanks,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
2011/10/31 11:25, Mike Frysinger wrote:
> On Sunday 30 October 2011 21:44:13 Yoshihiro Shimoda wrote:
>> In the latest U-Boot, the include/common.h includes the asm/cache.h.
>> So, the dcache_invalid_range() in the arch/sh/include/asm/cache.h is
>> multiple defination.
>
&
The new sh_eth driver uses the phy driver. So, this patch enables it.
Signed-off-by: Yoshihiro Shimoda
---
include/configs/espt.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/configs/espt.h b/include/configs/espt.h
index 38058c7..3df1fae 100644
--- a
The new sh_eth driver uses the phy driver. So, this patch enables it.
Signed-off-by: Yoshihiro Shimoda
---
include/configs/sh7763rdp.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index b8eb13d..59728f5
boot-sh/include/asm/cache.h:25: multiple definition of
`dcache_invalid_range'
cpu.o:/home/shimoda/development/u-boot/u-boot-sh/include/asm/cache.h:25: first
defined here
...
Signed-off-by: Yoshihiro Shimoda
---
arch/sh/include/asm/cache.h |4 ++--
1 files changed, 2 insertions(+),
The new sh_eth driver uses the phy driver. So, this patch enables it.
Signed-off-by: Yoshihiro Shimoda
---
If this patch is OK, I will submit patches of espt.h and sh7763rdp.h later.
include/configs/sh7757lcr.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a
The sh_eth driver had an own mii functions. However the function
didn't support the gigabit PHY. The U-Boot has the general phy driver
and miiphybb driver, and they already support it.
So this patch removes the own functions and uses the phy driver.
Signed-off-by: Yoshihiro Shimoda
---
dr
Some Renesas SuperH have MMCIF module. This driver supports it.
Signed-off-by: Yoshihiro Shimoda
---
README |9 +
drivers/mmc/Makefile |1 +
drivers/mmc/sh_mmcif.c | 608
drivers/mmc/sh_mmcif.h | 238
The sh7757lcr has 2GByte eMMC chip. This patch supports it.
Signed-off-by: Yoshihiro Shimoda
---
board/renesas/sh7757lcr/sh7757lcr.c |5 +
doc/README.sh7757lcr|1 +
include/configs/sh7757lcr.h | 11 +++
3 files changed, 17 insertions(+), 0 deletions
The sh7757lcr has a local u-boot.lds because the sh7757lcr is only
supported the SPI booting.
This patch refers from the commit "sh: Add KEEP order to start.o section"
(commit ID: b52da2aed8c2c388661f369052a97d5b5c9ed00a).
Signed-off-by: Yoshihiro Shimoda
---
board/renesas/sh7757lcr/
Some SH have MMC controller. So, if we need it, we have to call
the mmc_initialize().
Signed-off-by: Yoshihiro Shimoda
---
arch/sh/lib/board.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c
index ed91643..8540e40
Fix the problem that if we use the chip of MMC version 4 and
the capacity is smaller than 2GB or equal, the mmc->capacity is
invalid. According to the JEDEC Standard, the value of ext_csd's
capacity is valid if the value is more than 2GB.
Signed-off-by: Yoshihiro Shimoda
---
drivers/m
The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM,
Ethernet, and more.
This patch supports the following functions:
- 256MB DDR3-SDRAM
- SPI ROM
- Ethernet
Signed-off-by: Yoshihiro Shimoda
---
about v3:
- change my email address in Makefile and u-boot.lds
MAINTAINERS
Signed-off-by: Yoshihiro Shimoda
---
This patch depends on "sh: add support for sh7757lcr board".
MAINTAINERS |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7313542..c26c9a7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1017
SH7757 has SPI module. This patch supports it.
Signed-off-by: Yoshihiro Shimoda
---
about v4:
- add description of CONFIG_SH_SPI to README
README |5 +
drivers/spi/Makefile |1 +
drivers/spi/sh_spi.c | 261 ++
drivers
Hi, Iwamatsu-san,
2011/01/31 10:21, Nobuhiro Iwamatsu wrote:
> Hi,
>
> Please add description of CONFIG_SH_SPI to README.
>
Thank you for your point.
I will add it.
Best regards,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.
SH7757 has SPI module. This patch supports it.
Signed-off-by: Yoshihiro Shimoda
---
about v3:
- keep list sorted in Makefile
- separate some code to header file
- change hardware registers to C structure
drivers/spi/Makefile |1 +
drivers/spi/sh_spi.c | 261
The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM,
Ethernet, and more.
This patch supports the following functions:
- 256MB DDR3-SDRAM
- SPI ROM
- Ethernet
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- add MAINTAINERS
- remove config.mk of this board
- modify
Signed-off-by: Yoshihiro Shimoda
---
arch/sh/config.mk |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index 415c949..b408a44 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -31,4 +31,8 @@ endif
PLATFORM_CPPFLAGS
Some CPU needs cache handling. So this patch add the config of
CONFIG_SH_ETHER_CACHE_WRITEBACK, and it calls wback function.
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- add description of new configuration to README
(This patch depends on "README: add description of sh_eth d
Signed-off-by: Yoshihiro Shimoda
---
README |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/README b/README
index d7a23cd..41458a3 100644
--- a/README
+++ b/README
@@ -888,6 +888,15 @@ The following options need to be configured
Fix the problem which cannot build the U-boot, if we only set
the CONFIG_ENV_IS_IN_SPI_FLASH.
Signed-off-by: Yoshihiro Shimoda
---
about V2:
- list sorted
include/environment.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/environment.h b/include
+ 0x0208)
>> +#define DBPDCNT3(DDR3IF_BASE + 0x020c)
>> +#define DBPDLCK (DDR3IF_BASE + 0x0280)
>> +#define DBPDRGA (DDR3IF_BASE + 0x0290)
>> +#define DBPDRGD (DDR3IF_BASE + 0x02a0)
>> +#define DBBS0CNT0 (DDR3IF_BASE + 0x0300)
>> +#define DBBS0CNT1 (DDR3IF_BASE + 0x0304)
>
> We don't allow base address + offset notation to access hardware
> registers. Please use C structs instead.
They are used in assembler code (lowlevel_init.S).
Do we use C structs in assembler code using GCC?
At the moment, I don't know about it. So I will study GCC...
Best regards,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
unsigned long offset)
>> +{
>> +writel(data, CONFIG_SH_SPI_BASE + offset);
>
> NAK. We do not allow the base + offset notation. Pleaseuse a proper
> C struct instead.
>
> Please fix globally.
Yes, I will fix the driver.
Best regards,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Wolfgang Denk,
2011/01/18 18:36, Wolfgang Denk wrote:
> Dear Yoshihiro Shimoda,
>
> In message <4d3547b8.6020...@renesas.com> you wrote:
>>
>>> Is this nesseary?
>> The "#sinclude" is not nessesary. I will remove it.
>> However the &quo
Dear Wolfgang Denk,
2011/01/18 18:32, Wolfgang Denk wrote:
> Dear Yoshihiro Shimoda,
>
> In message <4d33c0da.4000...@renesas.com> you wrote:
>> --- a/drivers/net/sh_eth.c
>> +++ b/drivers/net/sh_eth.c
>> @@ -36,6 +36,12 @@
>> #ifndef CONFIG_SH_ET
Dear Wolfgang Denk,
2011/01/18 18:29, Wolfgang Denk wrote:
> Dear Yoshihiro Shimoda,
>
>> /* Embedded env is only supported for some flash types */
>> #ifdef CONFIG_ENV_IS_EMBEDDED
>> # if !defined(CONFIG_ENV_IS_IN_FLASH) && \
>> +
The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM,
Ethernet, and more.
This patch supports the following functions:
- 256MB DDR3-SDRAM
- SPI ROM
- Ethernet
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- remove unnecessary comment in config.mk
- move CONFIG_SYS_TEXT_BASE
SH7757 has ETHER and GETHER. This patch supports EHTER only.
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- remove unnecessary variable in sh_eth_config().
drivers/net/sh_eth.c | 37 +-
drivers/net/sh_eth.h | 53
SH7757 has SPI module. This patch supports it.
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- add prefix of "SH_" to some defines.
- modify spi_cs_is_valid()
drivers/spi/Makefile |1 +
drivers/spi/sh_spi.c | 301 ++
2 fil
t;
>> +char mac_string[256];
>> +struct spi_flash *spi;
>> +unsigned char *buf;
>> +
>> +if (argc != 5) {
>> +buf = malloc(256);
>
> please add NULL check.
I will modify it.
>> +/*
>> + * Copyright (C) 2007
>> + * Nobuhiro Iwamatsu
>> + *
>> + * Copyright (C) 2008-2009
>> + * Yoshihiro Shimoda
>
> Please update your copyright.
OK, I will update it.
Best regards,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Iwamatsu-san,
2011/01/17 19:59, Nobuhiro Iwamatsu wrote:
> Hi, Shimoda-san.
>
> On Mon, Jan 17, 2011 at 01:09:23PM +0900, Yoshihiro Shimoda wrote:
< snip >
>> +val = 0x0;
>
> Is this change necessary?
Oh, this is not necessary.
>> /* Check if ful
Hi, Iwamatsu-san,
Thank you for your review.
2011/01/17 19:28, Nobuhiro Iwamatsu wrote:
> Hi, Shioda-san.
>
> 2011/1/17 Yoshihiro Shimoda :
>> +#define SPI_TBR0x00
>> +#define SPI_RBR0x00
>> +#define SPI_CR1
The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM,
Ethernet, and more.
This patch supports the following functions:
- 256MB DDR3-SDRAM
- SPI ROM
- Ethernet
Signed-off-by: Yoshihiro Shimoda
---
arch/sh/include/asm/cpu_sh4.h |2 +
arch/sh/include/asm/cpu_sh7757.h
SH7757 has ETHER and GETHER. This patch supports EHTER only.
Signed-off-by: Yoshihiro Shimoda
---
drivers/net/sh_eth.c | 42 --
drivers/net/sh_eth.h | 53 +++--
2 files changed, 89 insertions(+), 6 deletions
Some CPU needs cache handling. So this patch add the config of
CONFIG_SH_ETHER_CACHE_WRITEBACK, and it calls wback function.
Signed-off-by: Yoshihiro Shimoda
---
drivers/net/sh_eth.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/net/sh_eth.c b/drivers
SH7757 has SPI module. This patch supports it.
Signed-off-by: Yoshihiro Shimoda
---
drivers/spi/Makefile |1 +
drivers/spi/sh_spi.c | 295 ++
2 files changed, 296 insertions(+), 0 deletions(-)
create mode 100644 drivers/spi/sh_spi.c
diff
Fix the problem which cannot build the U-boot, if we only set
the CONFIG_ENV_IS_IN_SPI_FLASH.
Signed-off-by: Yoshihiro Shimoda
---
include/environment.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/environment.h b/include/environment.h
index 082b3e1..8a4f393
Signed-off-by: Yoshihiro Shimoda
---
arch/sh/lib/board.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c
index cdac382..b8cd8f3 100644
--- a/arch/sh/lib/board.c
+++ b/arch/sh/lib/board.c
@@ -43,6 +43,7 @@ const char
We can built 'make sh7785lcr_32bit_config'. And add new command "pmb"
for this mode. This command changes PMB for using 512MB system memory.
Signed-off-by: Yoshihiro Shimoda
---
changelog:
[v2] Update README.sh7785lcr for 32-Bit Extended Add
Signed-off-by: Yoshihiro Shimoda
---
changelog:
[v2] Add some defines for 32-Bit Address Extended Mode
include/asm-sh/cpu_sh4.h | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/include/asm-sh/cpu_sh4.h b/include/asm-sh/cpu_sh4.h
index d2dbfcd
The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory
registration.
Signed-off-by: Yoshihiro Shimoda
---
This patch depend on as follows patch.
http://www.mail-archive.com/u-boot@lists.denx.de/msg09816.html
include/configs/r2dplus.h |3 +++
1 files changed, 3 insertions
Some register value was hardcoded for System memory size 128MB and
memory offset 0x0800. This patch fixed the problem.
Signed-off-by: Yoshihiro Shimoda
---
drivers/pci/pci_sh7780.c|6 +++---
include/configs/r7780mp.h |3 +++
include/configs/sh7785lcr.h |3 +++
3 files
Signed-off-by: Yoshihiro Shimoda
---
include/asm-sh/cpu_sh4.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/asm-sh/cpu_sh4.h b/include/asm-sh/cpu_sh4.h
index d2dbfcd..7c6c6ae 100644
--- a/include/asm-sh/cpu_sh4.h
+++ b/include/asm-sh/cpu_sh4.h
@@ -54,4
We can built 'make sh7785lcr_32bit_config'. And add new command "pmb"
for this mode. This command changes PMB for using 512MB system memory.
Signed-off-by: Yoshihiro Shimoda
---
Makefile | 15 +++-
board/renesas
When PCI device use system memory, some PCI host controller should be
set physical memory address.
Signed-off-by: Yoshihiro Shimoda
---
drivers/net/rtl8169.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index
It is necessary for some pci device driver.
Signed-off-by: Yoshihiro Shimoda
---
drivers/pci/pci_sh4.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c
index 057b6dd..c7963ed 100644
--- a/drivers/pci/pci_sh4.c
+++ b
Fix the problem that cannot access actual data when CPU data cache enabled.
Signed-off-by: Yoshihiro Shimoda
---
drivers/net/rtl8169.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index e9f6391..b441ec4 100644
Signed-off-by: Yoshihiro Shimoda
---
include/configs/sh7785lcr.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 2d562bf..94c8d6b 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
Fix the problem that cannot use external hub, because this driver
did not control correctly a DEVADDx register.
Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]>
---
drivers/usb/r8a66597-hcd.c | 36 +++-
1 files changed, 31 insertions(+), 5 deletions(-)
if((ep->bmAttributes &
USB_ENDPOINT_XFERTYPE_MASK)==USB_ENDPOINT_XFER_CONTROL) {/* Control =>
bidirectional */
> Thank you very much for your supports!
You're welcome! :)
Best regards,
Yoshihiro Shimoda
___
t
> -> PK4 is port output
> I don't know this value could be set for my board - TEngine/SH7727.
Oh, I am very sorry. This is PECR.
This setting enable USB1_pwr_en and USB2_pwr_en pin.
Best regards,
Yoshihiro Shimoda
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, thaoth.
thaoth wrote:
>
>
> Yoshihiro Shimoda wrote:
>> Hi, thaoth.
>>
>> I think that your board cannot communicate with USB device at all.
>> SH7727 has EXCPGCR register. Do you set this register?
>> When I used this CPU before, I did the followin
;
wait_10msec();
SRSTR = 0x00;
STCBR3 = 0x00;
Best regards,
Yoshihiro Shimoda
Nobuhiro Iwamatsu wrote:
> Hi, thaoth.
>
> Shimoda-san is USB developper on U-Boot in Renesas.
>
> Shimoda-san, please give us comments this problem.
>
> Best regards,
> Nobuhiro
Dear Ben,
Ben Warren wrote:
> Yoshihiro Shimoda wrote:
>> This patch fixes a problem that RTL8110SCL started transfer
>> with an incorrect memory address.
>>
>> Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]>
>> ---
> Applied to net repo. Plea
58 matches
Mail list logo