From: Nishanth Menon <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 4/4] configs: ti_armv7_keystone2: start using armv7_common
Date: Fri, 17 Jul 2015 12:25:59 -0500 [thread overview]
Message-ID: <55A93AA7.3050501@ti.com> (raw)
In-Reply-To: <55A93746.70905@ti.com>
On 07/17/2015 12:11 PM, Murali Karicheri wrote:
> On 07/17/2015 12:52 PM, Nishanth Menon wrote:
>> On 07/17/2015 11:04 AM, Murali Karicheri wrote:
>>> On 07/16/2015 03:08 PM, Nishanth Menon wrote:
>>>> Try to maintain as much commonality by conditionally including stuff
>>>> in armv7_common as necessary and removing the common defines from
>>>> keystone2 header.
>>>>
>>> Including the common ti_armv7_common.h for keystone also add duplication
>>> of the various addresses
>>>
>>> #define DEFAULT_LINUX_BOOT_ENV \
>>> "loadaddr=0x82000000\0" \
>>> "kernel_addr_r=0x82000000\0" \
>>> "fdtaddr=0x88000000\0" \
>>> "fdt_addr_r=0x88000000\0" \
>>> "rdaddr=0x88080000\0" \
>>> "ramdisk_addr_r=0x88080000\0" \
>>> "bootm_size=0x10000000\0"
>>>
>>> Some of these are also defined in keystone common file. The env scripts
>>> for keystone to be reworked to use the common variable above.
>>>
>>> Rework the CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS to include common as
>>> well.
>>
>> we need to cleanup all the variables once we get the distro config
>
> What do you mean by distro config? Could you explain?
include/config_distro* - both will eventually get integrated into
armv7_common.h to benefit all TI SoC platforms.
>
>> included in anyways... I had decided not to rock the apple cart too much
>> with this patch -> just the basic consolidation with as minimal changes
>> as necessary. inclusion of DEFAULT_LINUX_BOOT_ENV into keystone2.h can
>> be done as a follow on patch.
>
> Probably not this one. User would see both these variables and will
> cause confusion and should be fixed.
>
they are no variables, they are defines. they will eventually be fixed.
I am leery to make a huge jump on a single series. lets do consolidation
in small baby steps please.
as I have already shown in my reply - the status quo is being maintained
and we are one step closer to an common framework.
>>
>>>>
>>>> diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h
>>>> index ac50a01b2980..f1e650141ae1 100644
>>>> --- a/include/configs/k2e_evm.h
>>>> +++ b/include/configs/k2e_evm.h
>>>> @@ -15,8 +15,6 @@
>>>> #define CONFIG_K2E_EVM
>>>>
>>>> /* U-Boot general configuration */
>>>> -#define CONFIG_SYS_PROMPT "K2E EVM # "
>>>
>>> Why remove this?
>>
>> arm_v7_common defines just "u-boot#" for all SoC and boards. So, we dont
>> need this.
>
> Sorry, this may be needed from the automation perspective. Also for
> backward compatibility for users. Would like to keep for K2.
This has been beaten to death in the past as well (I think some 3/4
years ago.. i think it should be in the archives, just too lazy to dig
through multi-year old discussions)..
I will let Tom comment more here. My understanding is that the
convention followed by all other TI SoCs will imply not having custom
sys_prompt..
That said, custom sys_prompt is NOT a need from automation perspective -
we have all our boards in automation farm for years now with and without
custom boot prompt. board identification can be done in other ways.
--
Regards,
Nishanth Menon
next prev parent reply other threads:[~2015-07-17 17:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 19:08 [U-Boot] [PATCH V2 0/4] configs: make keystone2 config to start using arm_v7_common header Nishanth Menon
2015-07-16 19:08 ` [U-Boot] [PATCH V2 1/4] configs: split ti_armv7_common into a omap generic header Nishanth Menon
2015-07-17 15:38 ` Murali Karicheri
2015-07-17 16:27 ` Nishanth Menon
2015-07-17 17:35 ` Murali Karicheri
2015-07-16 19:08 ` [U-Boot] [PATCH V2 2/4] board: ks2_evm: get rid of bogus CONFIG_LINUX_BOOT_PARAM_ADDR Nishanth Menon
2015-07-17 15:44 ` Murali Karicheri
2015-07-17 15:50 ` Vitaly Andrianov
2015-07-16 19:08 ` [U-Boot] [PATCH V2 3/4] configs: rename ks2_evm into ti_armv7_keystone2 Nishanth Menon
2015-07-17 15:42 ` Murali Karicheri
2015-07-17 15:49 ` Vitaly Andrianov
2015-07-16 19:08 ` [U-Boot] [PATCH V2 4/4] configs: ti_armv7_keystone2: start using armv7_common Nishanth Menon
2015-07-17 16:04 ` Murali Karicheri
2015-07-17 16:52 ` Nishanth Menon
2015-07-17 17:11 ` Murali Karicheri
2015-07-17 17:25 ` Nishanth Menon [this message]
2015-07-17 17:45 ` Murali Karicheri
2015-07-17 20:41 ` Tom Rini
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=55A93AA7.3050501@ti.com \
--to=nm@ti.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