public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4 V2] SMDK5250: Convert lowlevel_init.S to lowlevel_init.c
Date: Mon, 14 Jan 2013 16:44:32 +0900	[thread overview]
Message-ID: <50F3B760.3040005@samsung.com> (raw)
In-Reply-To: <CAPs=JDdih90u8tCrHw4oV=YVtZmv75=fP7vYLC3fgxHFjsp5eA@mail.gmail.com>

On 14/01/13 15:32, Rajeshwari Birje wrote:
> Hi Minkyu Kang,
> 
>> OK, but is this something you intend to fix, perhaps in a future
>> series? It seems like you need separate directories sooner rather than
>> later.I don't think this is board-specific code, but chip-specific.
> 
> Please do let me know your opinion on the above comment.
> 
> Regards,
> Rajeshwari Shinde.
> 
> On Fri, Jan 11, 2013 at 7:54 PM, Simon Glass <sjg@chromium.org> wrote:
>> Hi Rajeshwari,
>>
>> On Fri, Jan 11, 2013 at 2:43 AM, Rajeshwari Birje
>> <rajeshwari.birje@gmail.com> wrote:
>>> Hi Simon,
>>>
>>> Thank you for comments.
>>>
>>> On Thu, Jan 10, 2013 at 11:04 PM, Simon Glass <sjg@chromium.org> wrote:
>>>> Hi Rajeshwari,
>>>>
>>>> On Mon, Jan 7, 2013 at 5:08 AM, Rajeshwari Shinde
>>>> <rajeshwari.s@samsung.com> wrote:
>>>>> This patch converts lowlevel_init.S to lowlevel_init_c.c for
>>>>> SMDK5250.
>>>>> Lowlevel.S as of now added only for SMDK5250 and same can be
>>>>> extended to other SOC in future.
>>>>
>>>> Should perhaps also mention new feature (controllable memory reset for resume?)
>>> -OK
>>>>
>>>>>
>>>>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>>>>> ---
>>>>> Changes in V2:
>>>>>         - Renamed lowlevel_init.S to lowlevel.S and moved to
>>>>>         arch/arm/cpu/armv7/exynos/
>>>>>         - Moved power mode defines to power.h
>>>>>         - Added early serial support.
>>>>>         - Renamed mem_reset to reset.
>>>>>  arch/arm/cpu/armv7/exynos/Makefile       |    6 ++
>>>>>  arch/arm/cpu/armv7/exynos/lowlevel.S     |   35 ++++++++
>>>>>  arch/arm/include/asm/arch-exynos/power.h |    8 ++
>>>>>  board/samsung/smdk5250/Makefile          |    2 +-
>>>>>  board/samsung/smdk5250/dmc_common.c      |    4 +-
>>>>>  board/samsung/smdk5250/dmc_init_ddr3.c   |    6 +-
>>>>>  board/samsung/smdk5250/lowlevel_init.S   |   96 --------------------
>>>>>  board/samsung/smdk5250/lowlevel_init.c   |   81 +++++++++++++++++
>>>>
>>>> Any change we could move all of this to arch/arm/cpu/armv7/exynos...?
>>> We do not have a separate directory for exynos5 and exynos4 and if we
>>> add all these files in arch/arm/cpu/armv7/exynos it would break the
>>> compilation for EXYNOS4. Also Later versions of exynos5 have different
>>> memory and timing variants.
>>
>> OK, but is this something you intend to fix, perhaps in a future
>> series? It seems like you need separate directories sooner rather than
>> later.I don't think this is board-specific code, but chip-specific.
>>

We don't have to separate directory for exynos5 and exynos4.
We can check this by cpu_is_exynos5 or cpu_is_exynos4.
I think each SoCs have different memory and timing but the logic can be same.
If so we can move all of changes to SoC directory.

--
Thanks,
Minkyu Kang.

  reply	other threads:[~2013-01-14  7:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07 13:08 [U-Boot] [PATCH 0/4 V2] SMDK5250: Convert lowlevel_init.S to .c and set PMIC values Rajeshwari Shinde
2013-01-07 13:08 ` [U-Boot] [PATCH 1/4 V2] EXYNOS: Add functions for power initialisation Rajeshwari Shinde
2013-01-10 17:26   ` Simon Glass
2013-01-07 13:08 ` [U-Boot] [PATCH 2/4 V2] SMDK5250: Convert lowlevel_init.S to lowlevel_init.c Rajeshwari Shinde
2013-01-10 17:34   ` Simon Glass
2013-01-11 10:43     ` Rajeshwari Birje
2013-01-11 14:24       ` Simon Glass
2013-01-14  6:32         ` Rajeshwari Birje
2013-01-14  7:44           ` Minkyu Kang [this message]
2013-01-11  7:54   ` Minkyu Kang
2013-01-11 10:10     ` Rajeshwari Birje
2013-01-14  7:39       ` Minkyu Kang
2013-01-07 13:08 ` [U-Boot] [PATCH 3/4 V2] SMDK5250: Add PMIC voltage settings Rajeshwari Shinde
2013-01-10 17:41   ` Simon Glass
2013-01-07 13:08 ` [U-Boot] [PATCH 4/4 V2] SMDK5250: Modify IRAM stack pointer address Rajeshwari Shinde
2013-01-11  5:59   ` Simon Glass
2013-01-10  5:23 ` [U-Boot] [PATCH 0/4 V2] SMDK5250: Convert lowlevel_init.S to .c and set PMIC values Rajeshwari Birje
2013-01-14  7:48 ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F3B760.3040005@samsung.com \
    --to=mk7.kang@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox