[U-Boot-Users] [PATCH] sh: add support for SH7785

Jean-Christophe PLAGNIOL-VILLARD
2008-07-09T19:16:56Z

On 21:07 Wed 09 Jul , Yoshihiro Shimoda wrote:
> Renesas SH7785 has DDR2-SDRAM controller, PCI, and other.
> This patch supports CPU register's header file.
>
> Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
> ---
> include/asm-sh/cpu_sh4.h | 2 +
> include/asm-sh/cpu_sh7785.h | 156 +++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 158 insertions(+), 0 deletions(-)
> create mode 100644 include/asm-sh/cpu_sh7785.h
>
> diff --git a/include/asm-sh/cpu_sh4.h b/include/asm-sh/cpu_sh4.h
> index 5a8a5a1..de6eb5a 100644
> --- a/include/asm-sh/cpu_sh4.h
> +++ b/include/asm-sh/cpu_sh4.h
> @@ -39,6 +39,8 @@
> # include <asm/cpu_sh7763.h>
> #elif defined (CONFIG_CPU_SH7780)
> # include <asm/cpu_sh7780.h>
> +#elif defined (CONFIG_CPU_SH7785)
> +# include <asm/cpu_sh7785.h>
> #else
> # error "Unknown SH4 variant"
> #endif
> diff --git a/include/asm-sh/cpu_sh7785.h b/include/asm-sh/cpu_sh7785.h
> new file mode 100644
> index 0000000..ec42bc6
> --- /dev/null
> +++ b/include/asm-sh/cpu_sh7785.h
> @@ -0,0 +1,156 @@
> +#ifndef _ASM_CPU_SH7785_H_
> +#define _ASM_CPU_SH7785_H_
> +
> +/*
> + * Copyright (c) 2007,2008 Nobuhiro Iwamatsu
please add Nobuhiro Iwamatsu email if possible.
> + * Copyright (c) 2008 Yusuke Goda <goda.yusuke@renesas.com>
> + * Copyright (c) 2008 Yoshihiro Shimoda <goda.yusuke@renesas.com>
> + *

Best Regards,
J.