t;>>> +#define CONFIG_SMDK5250/* which is in a
>>>> SMDK5250 */
>>>> +#define CONFIG_SERIAL3 /* use SERIAL 3 */
>>>> +
>>>> +/* specific .lds file */
>>>> +#define CONFIG_SPL_LDSCRIPT
>>>> "board/samsung/smdk5250/smdk5250-uboot-spl.lds"
>>>> +#define CONFIG_IDENT_STRING" for SMDK5250"
>>>> +#define CONFIG_SPI_FLASH
>>>> +#define CONFIG_ENV_IS_IN_SPI_FLASH
>>>> +
>>>> +/* Display */
>>>> +#define CONFIG_LCD
>>>> +
>>>> +#include
>>>> +
>>>> #endif /* __CONFIG_SNOW_H */
>>>>
>>>
>>> The intent with the exynos5250-dt file is that it supports any board with
>>> that chip, so it should enable any feature used by Exynos5250 boards.
>>> Granted that might not suit all boards, which only need a subset of the
>>> features. Perhaps we should create an exynos5250-dt-base.h, with just the
>>> core options defined. Then other boards can include the base file, and
>>> exynos5250-dt can stay as the 'enable everything/ config?
>>>
>>>
>> So as per you suggestion, there would be 3 files. One
>> exynos5250-dt-base.h, second exynos5250-dt.h and third the board specific
>> config file.
>>
>> How about having core options unconditionally enabled in exynos5250-dt.h
>> and other options with #ifdef. The board specific config files can define
>> the other options. This way only 2 files will do.
>>
>> For example, let exynos5250-dt.h has SPI related configs under #ifdef
>> CONFIG_SPI_FLASH and let smdk5250.h or arndale.h define CONFIG_SPI_FLASH
>> based on the spi flash presence in respective boards.
>>
>
>> Let me know your opinion.SPI
>>
>
> Well the problem is who sets CONFIG_SPI_FLASH
IIUC the CONFIG_SPI_FLASH will be set in respective board config file.
Hence only boards want to have SPI boot support will define it.
>
> For us at least, exynos5250-dt is a good upstream target, since we can add
> all features into it and it will should boot on all the different boards.
> It helps to make sure that other boards don't get non-device-tree config
> that breaks this approach.
>
> So I think you do need a base config file. But I think a better name might
> be exynos5250-dt-common.h instead of exynos5250-dt-base.h.
>
> Regards,
> Simon
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
e/lowlevel_init.S
> create mode 100644 board/samsung/arndale/mmc_boot.c
> create mode 100644 board/samsung/arndale/setup.h
> create mode 100644 board/samsung/dts/exynos5250-arndale.dts
> create mode 100644 include/configs/arndale.h
>
> --
> 1.7.9.5
>
Looks good.
Acked-by: Chander Kashyap
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
unsigned int gsclblk_cfg1;
>> + unsigned int ispblk_cfg;
>> + unsigned int usb20_phy_cfg;
>> + unsigned char res2[0x29c];
>> + unsigned int mipi_dphy;
>> + unsigned int dptx_phy;
>> + unsigned int phyclk_sel;
>> +};
622 insertions(+), 0 deletions(-)
>
Acked-by: Chander kashyap
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Rajeshwari,
On 3 May 2012 11:43, Chander Kashyap wrote:
> On 2 May 2012 19:22, Rajeshwari Shinde wrote:
>> This patch adds power mananagement register structure for exynos5 SoC.
s/mananagement/management
>> Signed-off-by: Rajeshwari Shinde
>> ---
>> arch/
d, 2 insertions(+), 2 deletions(-)
>
Acked-by: Chander kashyap
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ns(+), 0 deletions(-)
>
Acked-by: Chander kashyap
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
get_base_usb_phy();
> + setup_usb_phy(usb);
> +
> + hccr = (struct ehci_hccr *)samsung_get_base_usb_ehci();
> + hcor = (struct ehci_hcor *)((uint32_t) hccr
> + + HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
> +
> + debug("Exynos5-ehci: init hccr %x and hcor %x hc_length %d\n",
> + (uint32_t)hccr, (uint32_t)hcor,
> + (uint32_t)HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
> +
> + return 0;
> +}
> +
> +/*
> + * Destroy the appropriate control structures corresponding
> + * the EHCI host controller.
> + */
> +int ehci_hcd_stop()
> +{
> + struct exynos_usb_phy *usb;
> +
> + usb = (struct exynos_usb_phy *)samsung_get_base_usb_phy();
> + reset_usb_phy(usb);
> +
> + return 0;
> +}
> --
> 1.7.4.4
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
_dphy;
>> unsigned int dptx_dphy;
>> unsigned int phyclk_sel;
>
> Best regards,
> Marek Vasut
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 9 May 2012 15:17, Chander Kashyap wrote:
> Dear Marek,
>
>
> On 9 May 2012 14:19, Marek Vasut wrote:
>> Dear Rajeshwari Shinde,
>>
>>> This patch corrects the SYSREG structure.
>>> We have removed the sysreg.h added in the previous patchset
>
*/
> + PINMUX_FLAG_8BIT_MODE = 1 << 0, /* SDMMC 8-bit mode */
> +
> + /* Flags for SROM controller */
> + PINMUX_FLAG_BANK = 3 << 0, /* bank number (0-3) */
> + PINMUX_FLAG_16BIT = 1 << 2, /* 16-bit width */
> +
= 1; i++) {
> - s5p_gpio_set_pull(&gpio1->a1, i, GPIO_PULL_NONE);
> - s5p_gpio_cfg_pin(&gpio1->a1, i, GPIO_FUNC(0x2));
> - }
> -
> - /*
> - * UART3 GPIOs : GPA1CON[5:4] 0x22
> - * Must set CFG16 switches to
gt; + * Flags for setting specific configarations of peripherals.
> + * List will grow with support for more devices getting added.
> + */
> +enum {
> + PINMUX_FLAG_NONE = 0x,
> +
> + /* Flags for eMMC */
> + PINMUX_FLAG_8BIT
+
> arch/arm/include/asm/arch-exynos/pinmux.h | 77
> 3 files changed, 267 insertions(+), 1 deletions(-)
> create mode 100644 arch/arm/cpu/armv7/exynos/pinmux.c
> create mode 100644 arch/arm/include/asm/arch-exynos/pinmux.h
>
Acked-b
ble as initialised in
>pinmux.c
> board/samsung/smdk5250/smdk5250.c | 163
> ++---
> 1 files changed, 25 insertions(+), 138 deletions(-)
>
Acked-by: Chander Kashyap
--
with warm regards,
Chander Kashyap
__
val |= (SELCLK_SAMPLE_1PHASE_Shift | SELCLK_DRV_2PHASE_SHIFT
>> |
>> + SELCLK_DIV_RATIO);
>> + if (host->peripheral == PERIPH_ID_SDMMC4)
>> + val |= (SELCLK_SAMPLE_1PHASE_Shift |
>> SELCLK_DRV_2PHASE_SHIFT);
>> +
>> + dw_mci_writel(host, val, DWMCI_CLKSEL);
>> +}
>> +
>> +/*
>> + * Fifo init for host controller
>> + */
>> +static void dw_mci_fifo_init(struct dw_mci_host *host)
>> +{
>> + int fifo_val, fifo_depth, fifo_threshold;
>> +
>> + fifo_val = dw_mci_readl(host, DWMCI_FIFOTH);
>> +
>> + /* Power-on value of RX_WMark is FIFO_DEPTH-1 */
>> + fifo_depth = 1 + ((fifo_val >> 16) & 0x7ff);
>> + fifo_threshold = fifo_depth / 2;
>> +
>> + fifo_val &= ~(RX_WMARK | TX_WMARK | MSIZE_MASK);
>> + fifo_val |= (fifo_threshold | (fifo_threshold << 16) | MSIZE_8);
>> + dw_mci_writel(host, fifo_val, DWMCI_FIFOTH);
>> +}
>> +
>> +
>> +static int dw_mci_reset(struct dw_mci_host *host)
>> +{
>> + int err;
>> +
>> + /* power on the card */
>> + dw_mci_writel(host, POWER_ENABLE, DWMCI_PWREN);
>> +
>> + err = dw_mci_reset_all(host);
>> + if (err)
>> + return err;
>> +
>> + dw_mci_fifo_init(host);
>> +
>> + /* clear all pending interrupts */
>> + dw_mci_writel(host, INTMSK_ALL, DWMCI_RINTSTS);
>> +
>> + /* interrupts are not used, disable all */
>> + dw_mci_writel(host, 0, DWMCI_INTMASK);
>> +
>> + return 0;
>> +}
>> +
>> +static int dw_mci_initialize(struct mmc *mmc)
>> +{
>> + struct dw_mci_host *host = (struct dw_mci_host *)mmc->priv;
>> + unsigned int ier;
>> + int err;
>> +
>> + err = dw_mci_reset(host);
>> + if (err)
>> + return err;
>> +
>> + /* enumerate at 400KHz */
>> + dw_mci_change_clock(host, MIN_DWMMC_CLOCK);
>> +
>> + /* set auto stop command */
>> + ier = dw_mci_readl(host, DWMCI_CONTROL);
>> + ier |= SEND_AS_CCSD;
>> + dw_mci_writel(host, ier, DWMCI_CONTROL);
>> +
>> + /* set 1bit card mode */
>> + dw_mci_writel(host, PORT0_CARD_WIDTH1, DWMCI_CTYPE);
>> +
>> + dw_mci_writel(host, 0xf, DWMCI_DEBENCE);
>> +
>> + /* set bus mode register for IDMAC */
>> + dw_mci_writel(host, BMOD_IDMAC_RESET, DWMCI_BMOD);
>> +
>> + dw_mci_writel(host, 0x0, DWMCI_IDINTEN);
>> +
>> + /* set the max timeout for data and response */
>> + dw_mci_writel(host, TMOUT_MAX, DWMCI_TMOUT);
>> +
>> + return 0;
>> +}
>> +
>> +int dw_mci_init(enum periph_id periph_id, int bus_width)
>> +{
>> + struct dw_mci_host *mmc_host;
>> + struct mmc *mmc;
>> +
>> + if (num_devs == MAX_MMC_HOSTS) {
>> + debug("%s: Too many hosts\n", __func__);
>> + return -1;
>> + }
>> +
>> + /* set the clock for dwmmc controller */
>> + if (set_dw_mci_clk_div(periph_id)) {
>> + debug("clock_set_dw_mci failed\n");
>> + return -EINVAL;
>> + }
>> +
>> + mmc = &dw_mci_dev[num_devs];
>> + mmc_host = &dw_mci_host[num_devs];
>> +
>> + sprintf(mmc->name, "DWMMC%d", num_devs);
>> + num_devs++;
>> +
>> + mmc->priv = mmc_host;
>> + mmc->send_cmd = dw_mci_send_command;
>> + mmc->set_ios = dw_mci_set_ios;
>> + mmc->init = dw_mci_initialize;
>> +
>> + /*
>> + * In 2.40a spec, Data offset is changed.
>> + * Need to check the version-id and set data-offset for DATA register.
>> + */
>> + mmc_host->verid = GET_VERID(dw_mci_readl(mmc_host, DWMCI_VERID));
>> + debug("Version ID is %04x\n", mmc_host->verid);
>> +
>> + if (mmc_host->verid < DW_MMC_240A)
>> + mmc_host->data_offset = DATA_OFFSET;
>> + else
>> + mmc_host->data_offset = DATA_240A_OFFSET;
>> +
>> + mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
>> + mmc->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS | MMC_MODE_HC;
>> +
>> + if (bus_width == 8)
>> + mmc->host_caps |= MMC_MODE_8BIT;
>> + else
>> + mmc->host_caps |= MMC_MODE_4BIT;
>> +
>> + mmc->f_min = MIN_DWMMC_CLOCK;
>> + mmc->f_max = MAX_DWMMC_CLOCK;
>> +
>> + exynos_pinmux_config(periph_id,
>> + bus_width == 8 ? PINMUX_FLAG_8BIT_MODE : 0);
>> +
>> + mmc_host->clock = 0;
>> + mmc_host->peripheral = periph_id;
>> + mmc_host->ioaddr = (void *)samsung_get_base_dwmmc();
>> + mmc->b_max = 1;
>> + mmc_register(mmc);
>> + mmc->block_dev.removable = 1;
>> + debug("dwmmc: periph_id=%d, width=%d, ioaddr=%p\n",
>> + periph_id, bus_width, mmc_host->ioaddr);
>> +
>> + return 0;
>> +}
>> --
>> 1.7.4.4
>>
>> ___
>> U-Boot mailing list
>> U-Boot@lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Minkyu Kang,
On 27 December 2011 14:18, Chander Kashyap wrote:
> Dear minkyu Kang
>
> On 23 December 2011 11:21, Chander Kashyap wrote:
>> Dear Minkyu Kang,
>>
>> On 23 December 2011 09:51, Minkyu Kang wrote:
>>>
>>> Dear Chander Kashyap,
>&
Hi Minkyu Kang,
On 5 January 2012 12:13, Minkyu Kang wrote:
> Dear Chander Kashyap,
>
> On 27 December 2011 17:48, Chander Kashyap wrote:
>>>> > Torsten Koschorrek
>>>> > scb9328 ARM920T (i.MXL)
>>>> > diff --git a/arch/arm
Dear Wolfgang Denk,
On 5 January 2012 17:02, Wolfgang Denk wrote:
> Dear Chander Kashyap,
>
> In message
> you
> wrote:
>>
>> > No need to reuse the code, if SoCs are different.
>> > If need, please separate the functions.
>>
>> Yes, though S
Dear Minkyu Kang,
On 6 January 2012 07:10, Minkyu Kang wrote:
> Dear Chander Kashyap,
>
> On 5 January 2012 19:31, Chander Kashyap wrote:
>> Hi Minkyu Kang,
>>
>> On 5 January 2012 12:13, Minkyu Kang wrote:
>>> Dear Chander Kashyap,
>>>
&
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
arch/arm/cpu/armv7/exynos/clock.c |6
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
This patch adds support for mmc spl booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
board/samsung/smdk5250/Makefile | 16
board/samsung/smdk5250/mmc_boot.c | 58
board/samsung/smdk5250/tools/mkexynos_image.c | 117
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support&quo
Dear Simon,
On 9 January 2012 23:25, Simon Glass wrote:
> Hi Chander,
>
> On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap
> wrote:
>> This patchset add support for Samsung's SMDK5250 board based on
>> EXYNOS5250 based SoC. It also adds support for MMC SPL booting.
Hi Kyungmin Park,
On 10 January 2012 10:42, Kyungmin Park wrote:
> On 1/10/12, Chander Kashyap wrote:
>> Dear Simon,
>>
>> On 9 January 2012 23:25, Simon Glass wrote:
>>> Hi Chander,
>>>
>>> On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashya
Dear Wolfgang Denk,
On 10 January 2012 11:05, Wolfgang Denk wrote:
> Dear Chander Kashyap,
>
> In message
> you
> wrote:
>>
>> > Are you planning to reimplement most of these two files in C as per
>> > Wolfgang's comments on the TRATS board, or is
Hi HeungJun,
On 10 January 2012 14:50, HeungJun, Kim wrote:
> Hi Chander Kashyap,
>
> I'm going to share the status of size.
>
> The case of assemble code:
> text data bss dec hex filename
> 1929 20 12 1961 7a9 board/samsung/trats/l
Dear Minkyu Kang,
On 11 January 2012 15:41, Minkyu Kang wrote:
> Dear Chander Kashyap,
>
> On 9 January 2012 15:40, Chander Kashyap wrote:
>> Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
>> SoCs. This patch adds the support for Exynos5.
>>
&
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
arch/arm/cpu
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
C
This patch adds support for mmc spl booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
board/samsung/smdk5250/Makefile | 16
board/samsung/smdk5250/mmc_boot.c | 58
board/samsung/smdk5250
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
Dear Minkyu kang,
On 12 January 2012 14:06, Minkyu Kang wrote:
> Dear Chander Kashyap,
>
> On 11 January 2012 22:55, Chander Kashyap wrote:
>> SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
>>
>> Signed-off-by: Chander Kashyap
>> ---
>> Changes for v
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
None
board/samsung/smdk5250/Makefile | 16
board/samsung/smdk5250/mmc_boot.c | 58
This patch enable support for SMC911X based ethernet device.
Signed-off-by: Chander Kashyap
---
board/samsung/smdk5250/smdk5250.c | 89 +
include/configs/smdk5250.h| 13 +-
2 files changed, 100 insertions(+), 2 deletions(-)
diff --git a/board
x */
> + for (i = 0; i < 7; i++) {
loop should go to i<8
> + s5p_gpio_set_pull(&gpio1->a0, i, GPIO_PULL_NONE);
> + s5p_gpio_cfg_pin(&gpio1->a0, i, GPIO_FUNC(0x2));
> + }
> +
> + /* UART2-UART3 GPIOs (part2) : 0x00223322 */
> + for (i = 0; i < 5; i++) {
loop should go to i<6
> + s5p_gpio_set_pull(&gpio1->a1, i, GPIO_PULL_NONE);
> + s5p_gpio_cfg_pin(&gpio1->a1, i, GPIO_FUNC(0x2));
> + }
> +}
> +
> +#ifdef CONFIG_BOARD_EARLY_INIT_F
> +int board_early_init_f(void)
> +{
> + board_uart_init();
> + return 0;
> +}
> +#endif
I will resubmit the patch set.
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
Changes for v5:
- None
board/samsung/smdk5250/Makefile | 16
board/samsung/smdk5250
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
Hi,
Please ignore this patch set i will resend it.
On 25 January 2012 10:12, Chander Kashyap wrote:
> This patchset add support for Samsung's SMDK5250 board based on
> EXYNOS5250 based SoC. It also adds support for MMC SPL booting.
>
> The porting is done by Samsung engineers at
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
Changes for v5:
- None
Changes for v5:
- None
board/samsung/smdk5250/Makefile | 16
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
It updates the missing gpio configuration of UART port.
Signed-off-by: Chander Kashyap
Cc: HeungJun, Kim
---
board/samsung/trats/trats.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index f795ff0..4c9773d
Hi Igor,
On 25 January 2012 12:26, Igor Grinberg wrote:
> Hi Chander,
>
> On 01/25/12 07:19, Chander Kashyap wrote:
>> SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
>>
>> Signed-off-by: Chander Kashyap
>> ---
>
> [...]
>
>> diff --git
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
Changes for v5:
- None
Changes for v6:
- None
Changes for v7:
- None
board/samsung/smdk5250
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
Hi Mike,
On 3 February 2012 02:51, Mike Frysinger wrote:
> On Thursday 02 February 2012 04:11:27 Chander Kashyap wrote:
>> --- /dev/null
>> +++ b/board/samsung/smdk5250/tools/mkexynos_image.c
>
> tools should be in tools/. there are already plenty of examples in there (see
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
Changes for v5:
- None
Changes for v6:
- None
Changes for v7:
- None
Changes for v8
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
Hi,
As there are no changes in other patches. So is it fine to only send this patch.
On 4 February 2012 01:01, Mike Frysinger wrote:
> On Friday 03 February 2012 11:05:57 Chander Kashyap wrote:
>> board/samsung/smdk5250/tools/mkexynos_image.c | 117
>> create mode 100644 tools/
s are dropped in this version:
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Replace exynos4 prefix with exynos
SMDK5250: enable device tree support is squashed with
EXYNOS: Add SMDK5250 board support
Chander Kashyap (4):
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for V4
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of
SoCs. This patch adds the support for Exynos5.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch was part of "EXYNOS: Add SMDK5250 board support"
- Now it is seprated as SoC support.
SMDK5250 board is based on Samsungs EXYNOS5250 SoC.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- This patch is bifurcated into borad support and SoC support
- Fixed typo: s/EEYNOS/EXYNOS
- Squashed patch "SMDK5250: enable device tree support" in this.
C
This patch adds support for MMC SPL booting.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
Changes for v5:
- None
Changes for v6:
- None
Changes for v7:
- None
Changes for v8
On 9 February 2012 09:21, Mike Frysinger wrote:
> On Wednesday 08 February 2012 18:35:28 Doug Anderson wrote:
>> On Thu, Feb 2, 2012 at 1:21 PM, Mike Frysinger wrote:
>> > On Thursday 02 February 2012 04:11:27 Chander Kashyap wrote:
>> > > +
Hi Simon,
On 24 January 2012 21:49, Simon Glass wrote:
> Hi Chander,
>
> On Tue, Jan 24, 2012 at 5:03 AM, Chander Kashyap
> wrote:
>> This patch enable support for SMC911X based ethernet device.
>>
>> Signed-off-by: Chander Kashyap
>> ---
>>
Hi Mike,
On 24 January 2012 23:39, Mike Frysinger wrote:
> On Tuesday 24 January 2012 08:03:20 Chander Kashyap wrote:
>> --- a/include/configs/smdk5250.h
>> +++ b/include/configs/smdk5250.h
>>
>> +#define CONFIG_NET_MULTI
>
> dead define -> delete
thank
This patch enable support for SMC911X based ethernet device.
Signed-off-by: Chander Kashyap
---
Changes in v2:
- As Simon pointed smc9115_pre_init() is moved inside
in board_eth_init() in smc911x_initialize
- Removed CONFIG_ETHADDR and CONFIG_NET_MULTI defines.
board
AL 0x00400780
> #define DMC_MEMBASECONFIG1_VAL 0x00800780
> +#ifdef CONFIG_LPDDR2
> #define DMC_MEMCONTROL_VAL 0x00212500
> +#define DMC_MEMCONFIG0_VAL 0x1323
> +#define DMC_MEMCONFIG1_VAL 0x1323
> +#elif defined CONFIG_DDR3
> +#define DMC_MEMCONTROL_VAL 0x00
*/
> + for (i = 4; i <= 5; i++) {
> + s5p_gpio_set_pull(&gpio1->a1, i, GPIO_PULL_NONE);
> + s5p_gpio_cfg_pin(&gpio1->a1, i, GPIO_FUNC(0x2));
> + }
> +
> + /*
> + * There's no mux for UART4--it's internal only
> + */
> }
>
> #ifdef CONFIG_BOARD_EARLY_INIT_F
> --
> 1.7.7.3
>
Acked-by: Chander kashyap
--
with warm regards,
Chander Kashyap
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
renamed to EXYNOS4210/exynos4210.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- Removed renaming of s5p-common to exynos4-common
- Renamed s5pc210 prefixes to exynos4210
MAINTAINERS|6 +-
renamed to exynos4210/EXYNOS4210
Signed-off-by: Chander Kashyap
---
Changes for v2:
- Removed renaming of s5p-common to exynos4-common
- Renamed s5pc210 prefixes to exynos4210
Rebased on following commit.
19cdfd3e84bff108febb127b598ac3f1634c768c
"Ethernut 5 board support
arious upcoming Samsung Exynos
based boards, all uses of s5pc210 prefix/suffix/directory-names are renamed in
this patch. s5pc210 is renamed as exynos4210 and S5PC210/s5pc210 suffix/prefix
are renamed as exynos4/EXYNOS4.
Signed-off-by: Chander Kashyap
---
Changes for v2:
- Removed renaming o
Signed-off-by: Chander Kashyap
---
board/samsung/origen/lowlevel_init.S |5 +
board/samsung/origen/origen_setup.h | 12
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/board/samsung/origen/lowlevel_init.S
b/board/samsung/origen/lowlevel_init.S
index
Chander Kashyap (2):
Exynos: PWM: Add TCMPB3 field in pwm structure
Exynos: Fix ARM Clock frequency calculation
arch/arm/cpu/armv7/exynos/clock.c |9 ++---
arch/arm/include/asm/arch-exynos/pwm.h |2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
--
1.7.5.4
Add TCMPB3 field in pwm structure, earliar this was res1.
Signed-off-by: Chander Kashyap
---
arch/arm/include/asm/arch-exynos/pwm.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/include/asm/arch-exynos/pwm.h
b/arch/arm/include/asm/arch-exynos/pwm.h
index
Earliar ARM clock frequency was calculated by:
MOUTAPLL/(DIVAPLL + 1) which is actually returning SCLKAPLL.
It is fixed by calcuating it as follows:
ARMCLK=MOUTCORE/(DIVCORE + 1)/DIVCORE2 + 1)
Signed-off-by: Chander Kashyap
---
arch/arm/cpu/armv7/exynos/clock.c |9 ++---
1 files changed
Dear Wolfgang Denk,
On 19 December 2011 13:27, Wolfgang Denk wrote:
> Dear Chander Kashyap,
>
> In message <1324275424-29468-3-git-send-email-chander.kash...@linaro.org>
> you wrote:
> > Earliar ARM clock frequency was calculated by:
> > MOUTAPLL/(DIVAPLL +
Dear Wolfgang Denk,
On 19 December 2011 13:50, Chander Kashyap wrote:
> Dear Wolfgang Denk,
>
>
> On 19 December 2011 13:27, Wolfgang Denk wrote:
>
>> Dear Chander Kashyap,
>>
>> In message <1324275424-29468-3-git-send-email-chander.kash...@linaro.org&g
On 19 December 2011 13:56, Minkyu Kang wrote:
> On 19 December 2011 16:57, Wolfgang Denk wrote:
> > Dear Chander Kashyap,
> >
> > In message <1324275424-29468-3-git-send-email-chander.kash...@linaro.org>
> you wrote:
> >> Earliar ARM clock frequency was ca
Chander Kashyap (2):
Exynos: PWM: Add TCMPB3 field in pwm structure
Exynos: Fix ARM Clock frequency calculation
arch/arm/cpu/armv7/exynos/clock.c | 15 +--
arch/arm/include/asm/arch-exynos/pwm.h |2 +-
2 files changed, 10 insertions(+), 7 deletions(-)
--
1.7.5.4
Add TCMPB3 field in pwm structure, earliar this was res1.
Signed-off-by: Chander Kashyap
---
arch/arm/include/asm/arch-exynos/pwm.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/include/asm/arch-exynos/pwm.h
b/arch/arm/include/asm/arch-exynos/pwm.h
index
Earliar ARM clock frequency was calculated by:
MOUTAPLL/(DIVAPLL + 1) which is actually returning SCLKAPLL.
It is fixed by calculating it as follows:
ARMCLK=MOUTCORE / (DIVCORE + 1) / (DIVCORE2 + 1)
Signed-off-by: Chander Kashyap
---
Changes for V2:
- Fixed commit comment
- Fixed
Dear Wolfgang Denk,
On 19 December 2011 14:29, Wolfgang Denk wrote:
> Dear Chander Kashyap,
>
> In message <
> canuqghhq_+az6z100agouaumeuyxwh-hl6anpgrtowbadeq...@mail.gmail.com> you
> wrote:
> >
> > > In message <
> 1324275424-29468-3-git-send-email-c
Hi Wolfgsng Denk,
On 19 December 2011 14:33, Wolfgang Denk wrote:
> Dear Chander Kashyap,
>
> In message <1324285004-32354-2-git-send-email-chander.kash...@linaro.org>
> you wrote:
> > Add TCMPB3 field in pwm structure, earliar this was res1.
> >
>
n the following patchset:
"[PATCH 0/2] Exynos Related fixes"
Chander Kashyap (6):
Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards
Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro
Exynos: Clock.c: Replace exynos4 prefix with exynos
EEYNOS: Add SMDK5250 board support
EXYNOS: SM
Exynos architecture has varients like exynos4 and exynos5. In order to
identify the exynos4 architecture, add CONFIG_EXYNOS4 macro to exynos4
based boards i.e. Origen, smdkv310 and s5pc210_universal.
Signed-off-by: Chander Kashyap
---
include/configs/origen.h|1 +
include
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (EXYNOS4)
architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ
to make it generic for exynos architecture.
Signed-off-by: Chander Kashyap
---
arch/arm/cpu/armv7/exynos/clock.c |6 +-
include/configs
: Chander Kashyap
---
arch/arm/cpu/armv7/exynos/clock.c| 50 +++---
arch/arm/include/asm/arch-exynos/clock.h |2 +-
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/arch/arm/cpu/armv7/exynos/clock.c
b/arch/arm/cpu/armv7/exynos/clock.c
index 4d92c53
This patch adds support for mmc spl booting.
Signed-off-by: Chander Kashyap
---
board/samsung/smdk5250/Makefile | 16
board/samsung/smdk5250/mmc_boot.c | 58
board/samsung/smdk5250/tools/mkexynos_image.c | 117 +
include
Enable passing a flattened device tree to the kernel.
Signed-off-by: Chander Kashyap
---
include/configs/smdk5250.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index d99dfd0..31f56fd 100644
--- a/include
1 - 100 of 272 matches
Mail list logo