Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-06-30 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v3 0/2] Add Arndale board support

2013-07-01 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 1/5] exynos5: Add system register structure

2012-05-02 Thread Chander Kashyap
  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; >> +};

Re: [U-Boot] [PATCH 2/5] exynos5: Add structure for PMU register

2012-05-02 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 2/5] exynos5: Add structure for PMU register

2012-05-02 Thread Chander Kashyap
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/

Re: [U-Boot] [PATCH 4/5] exynos5: usb: Fix incorrect USB base addresses

2012-05-02 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 5/5] exynos5: usb: Enable USB 2.0 on smdk5250

2012-05-02 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH V3] USB: EXYNOS: Add ehci support

2012-05-04 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 1/6 V3] EXYNOS5: Fix system register structure

2012-05-09 Thread Chander Kashyap
_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

Re: [U-Boot] [PATCH 1/6 V3] EXYNOS5: Fix system register structure

2012-05-09 Thread Chander Kashyap
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 >

[U-Boot] Fwd: [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-18 Thread Chander Kashyap
*/ > +       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 */ > +

Re: [U-Boot] [PATCH 2/2] exynos: smdk5250: Enable the pinmux setup

2012-05-22 Thread Chander Kashyap
= 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

Re: [U-Boot] [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-22 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 1/2 V2] EXYNOS5: PINMUX: Added default pinumx settings

2012-05-23 Thread Chander Kashyap
+ >  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

Re: [U-Boot] [PATCH 2/2 V2] EXYNOS: SMDK5250: Enable the pinmux setup

2012-05-23 Thread Chander Kashyap
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 __

Re: [U-Boot] [PATCH V2] MMC: DWMMC: Add DWMMC driver

2012-06-11 Thread 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

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-04 Thread Chander Kashyap
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, >&

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-05 Thread 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

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-06 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-06 Thread Chander Kashyap
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, >>> &

[U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-08 Thread 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

[U-Boot] [PATCH v2 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-01-08 Thread Chander Kashyap
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

[U-Boot] [PATCH v2 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-08 Thread Chander Kashyap
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.

[U-Boot] [PATCH v2 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-01-08 Thread Chander Kashyap
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

[U-Boot] [PATCH v2 3/4] EXYNOS: Add SMDK5250 board support

2012-01-08 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Chander Kashyap
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.

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v2 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-11 Thread Chander Kashyap
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. >> &

[U-Boot] [PATCH v3 0/4] Add SMDK5250 board support

2012-01-11 Thread 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

[U-Boot] [PATCH v3 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-01-11 Thread Chander Kashyap
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

[U-Boot] [PATCH v3 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-11 Thread Chander Kashyap
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

[U-Boot] [PATCH v3 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-01-11 Thread Chander Kashyap
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

[U-Boot] [PATCH v3 3/4] EXYNOS: Add SMDK5250 board support

2012-01-11 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v3 3/4] EXYNOS: Add SMDK5250 board support

2012-01-12 Thread Chander Kashyap
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

[U-Boot] [PATCH v4 0/4] Add SMDK5250 board support

2012-01-23 Thread 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

[U-Boot] [PATCH v4 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-01-23 Thread Chander Kashyap
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

[U-Boot] [PATCH v4 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-23 Thread Chander Kashyap
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.

[U-Boot] [PATCH v4 3/4] EXYNOS: Add SMDK5250 board support

2012-01-23 Thread Chander Kashyap
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

[U-Boot] [PATCH v4 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-01-23 Thread Chander Kashyap
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

[U-Boot] [PATCH] SMDK5250: Add ethernet support

2012-01-24 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v4 3/4] EXYNOS: Add SMDK5250 board support

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v5 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v5 0/4] Add SMDK5250 board support

2012-01-24 Thread 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

[U-Boot] [PATCH v5 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-24 Thread Chander Kashyap
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.

[U-Boot] [PATCH v5 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v5 3/4] EXYNOS: Add SMDK5250 board support

2012-01-24 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v5 0/4] Add SMDK5250 board support

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v6 0/4] Add SMDK5250 board support

2012-01-24 Thread 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

[U-Boot] [PATCH v6 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v6 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-01-24 Thread Chander Kashyap
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.

[U-Boot] [PATCH v6 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH v6 3/4] EXYNOS: Add SMDK5250 board support

2012-01-24 Thread Chander Kashyap
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

[U-Boot] [PATCH] TRATS: Fix uart gpio config

2012-01-24 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v6 3/4] EXYNOS: Add SMDK5250 board support

2012-02-01 Thread Chander Kashyap
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

[U-Boot] [PATCH v7 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-02-02 Thread Chander Kashyap
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

[U-Boot] [PATCH v7 0/4] Add SMDK5250 board support

2012-02-02 Thread 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

[U-Boot] [PATCH v7 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-02-02 Thread Chander Kashyap
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.

[U-Boot] [PATCH v7 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-02 Thread Chander Kashyap
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

[U-Boot] [PATCH v7 3/4] EXYNOS: Add SMDK5250 board support

2012-02-02 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v7 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
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

[U-Boot] [PATCH v8 0/4] Add SMDK5250 board support

2012-02-03 Thread 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

[U-Boot] [PATCH v8 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-02-03 Thread Chander Kashyap
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

[U-Boot] [PATCH v8 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-02-03 Thread Chander Kashyap
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.

[U-Boot] [PATCH v8 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
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

[U-Boot] [PATCH v8 3/4] EXYNOS: Add SMDK5250 board support

2012-02-03 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v8 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-05 Thread Chander Kashyap
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/

[U-Boot] [PATCH v9 0/4] Add SMDK5250 board support

2012-02-06 Thread 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

[U-Boot] [PATCH v9 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-02-06 Thread Chander Kashyap
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

[U-Boot] [PATCH v9 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-02-06 Thread Chander Kashyap
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.

[U-Boot] [PATCH v9 3/4] EXYNOS: Add SMDK5250 board support

2012-02-06 Thread Chander Kashyap
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

[U-Boot] [PATCH v9 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-06 Thread Chander Kashyap
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

Re: [U-Boot] [Samsung] [PATCH v7 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-08 Thread Chander Kashyap
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: >> > > +

Re: [U-Boot] [PATCH] SMDK5250: Add ethernet support

2012-02-09 Thread Chander Kashyap
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 >> --- >>

Re: [U-Boot] [PATCH] SMDK5250: Add ethernet support

2012-02-09 Thread 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

[U-Boot] [PATCH v2] SMDK5250: Add ethernet support

2012-02-09 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH] EXYNOS: SMDK5250: Add support for DDR3 memory.

2012-02-09 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH v2] EXYNOS: SMDK5250: Support all 4 UARTs

2012-02-19 Thread Chander Kashyap
     */ > +       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

[U-Boot] [PATCH v2] S5PC2XX: Rename S5pc2XX to exynos4

2011-11-24 Thread Chander Kashyap
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 +-

[U-Boot] [PATCH v2] S5PC2XX: Rename S5pc2XX to exynos4

2011-11-24 Thread Chander Kashyap
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

[U-Boot] [PATCH V3] 5PC2XX: Rename S5pc2XX to exynos

2011-12-07 Thread Chander Kashyap
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

[U-Boot] [PATCH] Origen: Select SCLKMPLL as FIMD0 parent clock

2011-12-18 Thread Chander Kashyap
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

[U-Boot] [PATCH 0/2] Exynos Related fixes

2011-12-18 Thread Chander Kashyap
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

[U-Boot] [PATCH 1/2] Exynos: PWM: Add TCMPB3 field in pwm structure

2011-12-18 Thread Chander Kashyap
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

[U-Boot] [PATCH 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-18 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-19 Thread Chander Kashyap
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 +

Re: [U-Boot] [PATCH 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-19 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-19 Thread Chander Kashyap
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

[U-Boot] [PATCH V2 0/2] Exynos Related fixes

2011-12-19 Thread Chander Kashyap
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

[U-Boot] [PATCH V2 1/2] Exynos: PWM: Add TCMPB3 field in pwm structure

2011-12-19 Thread Chander Kashyap
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

[U-Boot] [PATCH V2 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-19 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH 2/2] Exynos: Fix ARM Clock frequency calculation

2011-12-19 Thread Chander Kashyap
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

Re: [U-Boot] [PATCH V2 1/2] Exynos: PWM: Add TCMPB3 field in pwm structure

2011-12-19 Thread Chander Kashyap
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. > > >

[U-Boot] [PATCH 0/6] Add SMDK5250 board support

2011-12-22 Thread Chander Kashyap
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

[U-Boot] [PATCH 1/6] Exynos: Add CONFIG_EXYNOS4 Macro to EXYNOS4 based boards

2011-12-22 Thread Chander Kashyap
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

[U-Boot] [PATCH 2/6] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2011-12-22 Thread Chander Kashyap
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

[U-Boot] [PATCH 3/6] Exynos: Clock.c: Replace exynos4 prefix with exynos

2011-12-22 Thread Chander Kashyap
: 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

[U-Boot] [PATCH 5/6] EXYNOS: SMDK5250: Add MMC SPL support

2011-12-22 Thread Chander Kashyap
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

[U-Boot] [PATCH 6/6] SMDK5250: enable device tree support

2011-12-22 Thread Chander Kashyap
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   2   3   >