[U-Boot] [PATCH 00/10 V5] EXYNOS5: Support for Exynos5250 Rev 1.0

Minkyu Kang promsoft at gmail.com
Tue Jul 3 14:40:55 CEST 2012


On 2 July 2012 20:36, Rajeshwari Shinde <rajeshwari.s at samsung.com> wrote:
> This patch set adds support for Exynos5250 Rev 1.0.
> Exynos5250 Rev 1.0 supports DDR3 Memory configuration and
> support for LPDDR2 is removed.
> Exynos5250 Rev 1.0 supports DWMMC controller and does not support SDHCI
> controller.
> After DWMMC driver is added to Mainline support for generic S5P MMC driver
> will be removed.
>
> Due to Support of SDHCI controller currently still there for
> EXYNOS5 you can see the following error on boot.
>
> mmc_reset: timeout error
> mmc_change_clock: timeout error
> mmc_send_cmd: waiting for status update
> MMC init failed
>
> Changes in V2:
>         - Included Paramateric structure with in #ifndef __ASSEMBLY__.
> Chnages in V3:
>         - Incorporated the review comments.
>         - Added support for BPLL.
>         - Corrected the gpio pinmux settings.
> Changes in V4:
>         - Fixed Warning message.
> Changes in V5:
>         - Corrected indentation error.
>
> Rajeshwari Shinde (10):
>   ARCH: SPL: Add parametric board initializer
>   SMDK5250: SPL: Define parametric board initializer
>   SMDK5250: Add smdk5250-uboot-spl.lds
>   EXYNOS5: CLOCK: define additional clock registers for Exynos5250 Rev
>     1.0
>   EXYNOS5: CLOCK: Add clock support for Exynos5250 Rev 1.0
>   Exynos5: DDR3: Add DDR3 memory setup for Exynos5250 Rev 1.0
>   EXYNOS5: CLOCK: Modify MPLL clock out for Exynos5250 Rev 1.0
>   EXYNOS5: CLOCK: Add BPLL support
>   EXYNOS5 : Modify pinnumx settings as per Exynos5250 Rev 1.0
>   SMDK5250: Enable UART and MMC for Exynos5250 Rev 1.0
>
>  arch/arm/cpu/armv7/exynos/clock.c             |   28 +-
>  arch/arm/cpu/armv7/exynos/pinmux.c            |   22 +-
>  arch/arm/include/asm/arch-exynos/clk.h        |    1 +
>  arch/arm/include/asm/arch-exynos/clock.h      |  237 +++++----
>  arch/arm/include/asm/arch-exynos/dmc.h        |   65 +++
>  arch/arm/include/asm/arch-exynos/gpio.h       |    7 +-
>  arch/arm/include/asm/arch-exynos/spl.h        |   97 ++++
>  board/samsung/smdk5250/Makefile               |    3 +-
>  board/samsung/smdk5250/clock_init.c           |  714 +++++++++++++++++++----
>  board/samsung/smdk5250/clock_init.h           |  149 +++++
>  board/samsung/smdk5250/dmc_common.c           |  199 +++++++
>  board/samsung/smdk5250/dmc_init.c             |  462 ---------------
>  board/samsung/smdk5250/dmc_init_ddr3.c        |  228 ++++++++
>  board/samsung/smdk5250/setup.h                |  762 +++++++++++++++----------
>  board/samsung/smdk5250/smdk5250-uboot-spl.lds |   66 +++
>  board/samsung/smdk5250/smdk5250.c             |    6 +-
>  board/samsung/smdk5250/smdk5250_spl.c         |   68 +++
>  include/configs/smdk5250.h                    |    7 +-
>  18 files changed, 2099 insertions(+), 1022 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-exynos/spl.h
>  create mode 100644 board/samsung/smdk5250/clock_init.h
>  create mode 100644 board/samsung/smdk5250/dmc_common.c
>  delete mode 100644 board/samsung/smdk5250/dmc_init.c
>  create mode 100644 board/samsung/smdk5250/dmc_init_ddr3.c
>  create mode 100644 board/samsung/smdk5250/smdk5250-uboot-spl.lds
>  create mode 100644 board/samsung/smdk5250/smdk5250_spl.c
>

Please fix compiler errors.

ext2fs.c: In function 'ext2fs_read_file':
ext2fs.c:443: warning: 'blocknxt' may be used uninitialized in this function
dmc_init_ddr3.c: In function 'ddr3_mem_ctrl_init':
dmc_init_ddr3.c:196: warning: implicit declaration of function 'sdelay'
dmc_common.c: In function 'dmc_config_zq':
dmc_common.c:72: warning: implicit declaration of function 'sdelay'
In file included from tzpc_init.c:27:
setup.h:554: warning: 'struct exynos5_phy_control' declared inside
parameter list
setup.h:554: warning: its scope is only this definition or
declaration, which is probably not what you want
setup.h:562: warning: 'struct exynos5_dmc' declared inside parameter list
setup.h:570: warning: 'struct exynos5_dmc' declared inside parameter list
setup.h:578: warning: 'struct exynos5_dmc' declared inside parameter list
In file included from tzpc_init.c:27:
setup.h:588: warning: 'enum ddr_mode' declared inside parameter list
setup.h:588: warning: 'struct exynos5_dmc' declared inside parameter list
In file included from tzpc_init.c:27:
setup.h:554: warning: 'struct exynos5_phy_control' declared inside
parameter list
setup.h:554: warning: its scope is only this definition or
declaration, which is probably not what you want
setup.h:562: warning: 'struct exynos5_dmc' declared inside parameter list
setup.h:570: warning: 'struct exynos5_dmc' declared inside parameter list
setup.h:578: warning: 'struct exynos5_dmc' declared inside parameter list
In file included from tzpc_init.c:27:
setup.h:588: warning: 'enum ddr_mode' declared inside parameter list
setup.h:588: warning: 'struct exynos5_dmc' declared inside parameter list
dmc_init_ddr3.c: In function 'ddr3_mem_ctrl_init':
dmc_init_ddr3.c:196: warning: implicit declaration of function 'sdelay'
dmc_common.c: In function 'dmc_config_zq':
dmc_common.c:72: warning: implicit declaration of function 'sdelay'

Thanks.
Minkyu Kang.
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list