Add Arndale board support
v7 cover Add Arndale board support
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5].
First patch provides the basic arndale board support. The second patch adds the MMC support.
Changes in v2:
- split from earlier patchset at [3] as per Minkyu
- Removed checkpatch errors pointed out by Wolfgang
- rebased to latest u-boot-samsung master branch
- created mmc_boot.c to remove dependency on consolidation patch at [4]
- split the mmc support to new patch as it depends on [2]
[1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/162883
[2] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/159887
[3] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/157101
[4] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/156272
Changes in v3:
- Used dt based serial
- rebased to latest u-boot-samsung master branch
Changes in v4:
- Removed the config dependency on exynos5_dt.h as it contains smdk5250 configurations rather than the common exynos5 generic configurations.
- rebased to latest u-boot-samsung master branch
Changes in v5:
- Fix comments suggested by Minkyu
- Added SPDX-License-Identifier to new files
Changes in v6:
- Fixed missed out sorting of Maintainers entry
Changes in v7:
- Fixed regression caused due to v6.
- rebased to latest u-boot-samsung master branch
- Fixed checkpatch warning for parenthesis alignment.
[5] [PATCH v2] CONFIG: EXYNOS5: Replace misnomer SMDK5250 with EXYNOS5250 and update Makefiles
Chander Kashyap (1):
exynos5250: Add arndale board support
Inderpal Singh (1):
exynos5250: arndale: Add mmc support
MAINTAINERS | 4 + board/samsung/arndale/Makefile | 34 ++++ board/samsung/arndale/arndale.c | 101 ++++++++++++ board/samsung/arndale/arndale_spl.c | 50 ++++++ board/samsung/dts/exynos5250-arndale.dts | 39 +++++ boards.cfg | 1 + include/configs/arndale.h | 255 ++++++++++++++++++++++++++++++ 7 files changed, 484 insertions(+) create mode 100644 board/samsung/arndale/Makefile create mode 100644 board/samsung/arndale/arndale.c create mode 100644 board/samsung/arndale/arndale_spl.c create mode 100644 board/samsung/dts/exynos5250-arndale.dts create mode 100644 include/configs/arndale.h
Signature · 1 line
1.7.9.5
PATCH v7 1/2 exynos5250: Add arndale board support
Arndale board is based on samsung's exynos5250 soc.
--- MAINTAINERS | 4 + board/samsung/arndale/Makefile | 34 ++++ board/samsung/arndale/arndale.c | 87 ++++++++++ board/samsung/arndale/arndale_spl.c | 50 ++++++ board/samsung/dts/exynos5250-arndale.dts | 21 +++ boards.cfg | 1 + include/configs/arndale.h | 255 ++++++++++++++++++++++++++++++ 7 files changed, 452 insertions(+) create mode 100644 board/samsung/arndale/Makefile create mode 100644 board/samsung/arndale/arndale.c create mode 100644 board/samsung/arndale/arndale_spl.c create mode 100644 board/samsung/dts/exynos5250-arndale.dts create mode 100644 include/configs/arndale.h
MAINTAINERS +4 -0
@@ -464,6 +464,10 @@ Andre Schwarz <[email protected]> mvblm7 MPC8343 mvsmr MPC5200 +Inderpal Singh <[email protected]> + + Arndale ARM ARMV7 (EXYNOS5250 SoC) + Jon Smirl <[email protected]> pcm030 MPC5200
board/samsung/arndale/Makefile new file +34 -0
@@ -0,0 +1,34 @@ +# +# Copyright (C) 2013 Samsung Electronics +# +# SPDX-License-Identifier: GPL-2.0+ +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS += arndale_spl.o + +ifndef CONFIG_SPL_BUILD +COBJS += arndale.o +endif + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) + +ALL := $(obj).depend $(LIB) + +all: $(ALL) + +$(LIB): $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/samsung/arndale/arndale.c new file +87 -0
87 lines not on this page · raw message
board/samsung/arndale/arndale_spl.c new file +50 -0
50 lines not on this page · raw message
board/samsung/dts/exynos5250-arndale.dts new file +21 -0
@@ -0,0 +1,21 @@ +/* + * SAMSUNG Arndale board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * SPDX-License-Identifier: GPL-2.0+ +*/ + +/dts-v1/; +/include/ ARCH_CPU_DTS + +/ { + model = "SAMSUNG Arndale board based on EXYNOS5250"; + compatible = "samsung,arndale", "samsung,exynos5250"; + + aliases { + serial0 = "/serial at 12C20000"; + console = "/serial at 12C20000"; + }; +};
boards.cfg +1 -0
@@ -320,6 +320,7 @@ omap5_uevm arm armv7 omap5_uevm ti oma dra7xx_evm arm armv7 dra7xx ti omap5 s5p_goni arm armv7 goni samsung s5pc1xx smdkc100 arm armv7 smdkc100 samsung s5pc1xx +arndale arm armv7 arndale samsung exynos origen arm armv7 origen samsung exynos s5pc210_universal arm armv7 universal_c210 samsung exynos snow arm armv7 smdk5250 samsung exynos
include/configs/arndale.h new file +255 -0
255 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v7 2/2 exynos5250: arndale: Add mmc support
In reply to Chander KashyapFrom: Inderpal Singh <[email protected]>
This patch adds mmc support to the arndale board.
--- board/samsung/arndale/arndale.c | 14 ++++++++++++++ board/samsung/dts/exynos5250-arndale.dts | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+)
board/samsung/arndale/arndale.c +14 -0
@@ -6,6 +6,7 @@#include <common.h> #include <asm/arch/pinmux.h> +#include <asm/arch/dwmmc.h> #include <asm/arch/power.h> DECLARE_GLOBAL_DATA_PTR ;
@@ -48,6 +49,19 @@ void dram_init_banksize(void) } } +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init (bd_t *bis) +{ +int ret; +/* dwmmc initializattion for available channels */ + ret =exynos_dwmmc_init (gd->fdt_blob); +if (ret) +debug ("dwmmc init failed\n" ); + +return ret; +} +#endif +static int board_uart_init (void ) {int err =0 , uart_id;
board/samsung/dts/exynos5250-arndale.dts +18 -0
@@ -18,4 +18,22 @@ serial0 = "/serial at 12C20000"; console = "/serial at 12C20000"; }; + + mmc at 12200000 { + samsung,bus-width = <8>; + samsung,timing = <1 3 3>; + }; + + mmc at 12210000 { + status = "disabled"; + }; + + mmc at 12220000 { + samsung,bus-width = <4>; + samsung,timing = <1 2 3>; + }; + + mmc at 12230000 { + status = "disabled"; + }; };
Signature · 1 line
1.7.9.5
v7 cover Add Arndale board support
In reply to Chander KashyapQuoted 47 lines · Chander Kashyap
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5].
First patch provides the basic arndale board support. The second patch adds the MMC support.
Changes in v2:
- split from earlier patchset at [3] as per Minkyu
- Removed checkpatch errors pointed out by Wolfgang
- rebased to latest u-boot-samsung master branch
- createdmmc_boot.cto remove dependency on consolidation patch at [4]
- split the mmc support to new patch as it depends on [2][1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/162883
[2] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/159887
[3] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/157101
[4] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/156272Changes in v3:
- Used dt based serial
- rebased to latest u-boot-samsung master branchChanges in v4:
- Removed the config dependency onexynos5_dt.has it contains smdk5250 configurations rather than the common exynos5 generic configurations.
- rebased to latest u-boot-samsung master branchChanges in v5:
- Fix comments suggested by Minkyu
- Added SPDX-License-Identifier to new filesChanges in v6:
- Fixed missed out sorting of Maintainers entry
Changes in v7:
- Fixed regression caused due to v6.
- rebased to latest u-boot-samsung master branch
- Fixed checkpatch warning for parenthesis alignment.[5] [PATCH v2] CONFIG: EXYNOS5: Replace misnomer SMDK5250 with EXYNOS5250 and update Makefiles
Chander Kashyap (1):
exynos5250: Add arndale board supportInderpal Singh (1):
exynos5250: arndale: Add mmc support
Quoted 14 lines
MAINTAINERS | 4 + board/samsung/arndale/Makefile | 34 ++++ board/samsung/arndale/arndale.c | 101 ++++++++++++ board/samsung/arndale/arndale_spl.c | 50 ++++++ board/samsung/dts/exynos5250-arndale.dts | 39 +++++ boards.cfg | 1 + include/configs/arndale.h | 255 ++++++++++++++++++++++++++++++ 7 files changed, 484 insertions(+) create mode 100644 board/samsung/arndale/Makefile create mode 100644 board/samsung/arndale/arndale.c create mode 100644 board/samsung/arndale/arndale_spl.c create mode 100644 board/samsung/dts/exynos5250-arndale.dts create mode 100644 include/configs/arndale.h
applied to u-boot-samsung.
Thanks,
Minkyu Kang.