From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajeshwari S Shinde Date: Tue, 29 Oct 2013 12:53:03 +0530 Subject: [U-Boot] [PATCH 00/10 V6] EXYNOS5420: Add SMDK5420 board support Message-ID: <1383031393-6093-1-git-send-email-rajeshwari.s@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch adds basic board support for SMDK5420 board. These patches are tested for booting fine on EVT1 SMDK5420. Changes in V2: - Corrected a compilation issue for SMDK5420. Changes in V3: - Add patch to support variable size SPL support - Add patch to disable SMU for eMMC. Changes in V4: - Added check for MAX77686 pmic compilation. - Added correct calculation of gpio based addresses. - Rebased on the latest u-boot code. - Removed patches for UART and TZPC changes as they were not needed. - Added flag to disable SMU for eMMC. Changes in V5: - Moved functions board_mmc_init and board_eth_init to common/board.c in case of device tree support. Changes in V6: - Rebased on the latest mainline branch. - Moved the definitions for SMU to arch/arm dwmmc.h Rajeshwari S Shinde (10): EXYNOS5: Create a common board file Exynos5420: Add base addresses for 5420 Exynos5420: Add clock initialization for 5420 Exynos5420: Add DDR3 initialization for 5420 Exynos5420: Add support for 5420 in pinmux and gpio Exynos5420: Add base patch for SMDK5420 DTS: Add dts support for SMDK5420 Config: Add initial config for SMDK5420 SPL: EXYNOS: Prepare for variable size SPL support DWMMC: SMDK5420: Disable SMU for eMMC arch/arm/cpu/armv7/exynos/clock.c | 270 ++++++++- arch/arm/cpu/armv7/exynos/clock_init.h | 17 + arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 352 +++++++++++- arch/arm/cpu/armv7/exynos/dmc_common.c | 10 +- arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c | 421 +++++++++++++- arch/arm/cpu/armv7/exynos/exynos5_setup.h | 740 +++++++++++++++++++------ arch/arm/cpu/armv7/exynos/pinmux.c | 241 +++++++- arch/arm/dts/exynos5.dtsi | 211 +++++++ arch/arm/dts/exynos5250.dtsi | 178 +----- arch/arm/dts/exynos5420.dtsi | 74 +++ arch/arm/include/asm/arch-exynos/board.h | 17 + arch/arm/include/asm/arch-exynos/clk.h | 1 + arch/arm/include/asm/arch-exynos/clock.h | 494 +++++++++++++++++ arch/arm/include/asm/arch-exynos/cpu.h | 53 +- arch/arm/include/asm/arch-exynos/dmc.h | 121 ++-- arch/arm/include/asm/arch-exynos/dwmmc.h | 13 + arch/arm/include/asm/arch-exynos/gpio.h | 143 ++++- arch/arm/include/asm/arch-exynos/periph.h | 3 + board/samsung/common/Makefile | 4 + board/samsung/common/board.c | 407 ++++++++++++++ board/samsung/dts/exynos5420-smdk5420.dts | 172 ++++++ board/samsung/smdk5250/exynos5-dt.c | 361 +----------- board/samsung/smdk5250/smdk5250.c | 182 +----- board/samsung/smdk5420/Makefile | 34 ++ board/samsung/smdk5420/smdk5420.c | 159 ++++++ board/samsung/smdk5420/smdk5420_spl.c | 52 ++ boards.cfg | 1 + drivers/mmc/dw_mmc.c | 11 + drivers/mmc/exynos_dw_mmc.c | 3 + include/configs/exynos5-dt.h | 302 ++++++++++ include/configs/exynos5250-dt.h | 317 +---------- include/configs/smdk5420.h | 56 ++ include/dwmmc.h | 3 + spl/Makefile | 7 +- tools/Makefile | 2 + tools/mkexynosspl.c | 167 ++++-- 36 files changed, 4271 insertions(+), 1328 deletions(-) create mode 100644 arch/arm/dts/exynos5.dtsi create mode 100644 arch/arm/dts/exynos5420.dtsi create mode 100644 arch/arm/include/asm/arch-exynos/board.h create mode 100644 board/samsung/common/board.c create mode 100644 board/samsung/dts/exynos5420-smdk5420.dts create mode 100644 board/samsung/smdk5420/Makefile create mode 100644 board/samsung/smdk5420/smdk5420.c create mode 100644 board/samsung/smdk5420/smdk5420_spl.c create mode 100644 include/configs/exynos5-dt.h create mode 100644 include/configs/smdk5420.h -- 1.7.12.4