From: Alex G. <alex.g@adaptrum.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] configs: am335x: Enable PHY_VITESSE
Date: Mon, 6 Feb 2017 12:54:15 -0800 [thread overview]
Message-ID: <11985967-76cb-2585-e2f9-0d97d30be7c9@adaptrum.com> (raw)
In-Reply-To: <e208622b-0c7a-0eb1-12ae-8e46179e6305@ti.com>
On 02/06/2017 12:38 PM, Andrew F. Davis wrote:
> On 02/06/2017 02:30 PM, Alex G. wrote:
>>
>>
>> On 02/06/2017 11:47 AM, Andrew F. Davis wrote:
>>> On 02/06/2017 01:02 PM, Alex G. wrote:
>>>> On 02/06/2017 07:56 AM, Andrew F. Davis wrote:
>>>>> On 02/03/2017 05:42 PM, Alexandru Gagniuc wrote:
>>>>>> The Adaptrum ACRS2 mainboard uses a Vitesse VSC8601 PHY.
>>>>>>
>>>>>> Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
>>>>>> ---
>>>>>> include/configs/am335x_evm.h | 1 +
>>>>>> 1 file changed, 1 insertion(+)
>>>>>>
>>>>>> diff --git a/include/configs/am335x_evm.h
>>>>>> b/include/configs/am335x_evm.h
>>>>>> index cd42601..b0014cf 100644
>>>>>> --- a/include/configs/am335x_evm.h
>>>>>> +++ b/include/configs/am335x_evm.h
>>>>>> @@ -366,6 +366,7 @@
>>>>>> #define CONFIG_PHY_SMSC
>>>>>> /* Enable Atheros phy driver */
>>>>>> #define CONFIG_PHY_ATHEROS
>>>>>> +#define CONFIG_PHY_VITESSE
>>>>>>
>>>>>
>>>>> These PHY symbols should instead be moved to Kconfig, lets try not to
>>>>> add anything new to the config headers :)
>>>>
>>>> The whole PHY_ seclection does seem like it could use a major rework. I
>>>> was hoping to not have to touch Kconfig in this series, but if that is
>>>> the will, I shall yield.
>>>>
>>>
>>> It's really not so bad, have you ever used tools/moveconfig.py? Just
>>> define the symbol in kconfig and it will do all the work for you. The
>>> more people forced to at least try it out the quicker we can finish with
>>> this the conversion.
>>
>> I did try this for PHYLIB, and got a bunch of
>>
>> Compiler is missing. Do nothing.
>>
>> I got that for every single defconfig, so I gave up on it.
>>
>
> Yeah, this is the only hard part, you need compilers for each supported
> platform. You can use buildman to grab most of them, my path ends up
> like this:
>
> export
> PATH=~/.buildman-toolchains/blackfin/opt/uClinux/bfin-elf/bin/:~/.buildman-toolchains/gcc-4.2.4-nolibc/avr32-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/aarch64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/am33_2.0-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/alpha-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/microblaze-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/hppa-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/m68k-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/powerpc64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/sparc-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/xtensa-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/s390x-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/ia64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/frv-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/i386-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/ppc64le-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/sparc64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/m32r-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/hppa64-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/powerpc-linux/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/h8300-elf/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/arm-unknown-linux-gnueabi/bin/:~/.buildman-toolchains/gcc-4.9.0-nolibc/mips64-linux/bin/:~/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/:~/.buildman-toolchains/arc/arc_gnu_2016.03_prebuilt_uclibc_le_archs_linux_install/bin/:~/.buildman-toolchains/gcc-4.6.2-nolibc/tilegx-linux/bin/:~/.buildman-toolchains/sh/renesas-2012.09/bin/:~/.buildman-toolchains/gcc-4.6.3-nolibc/crisv32-linux/bin/:~/.buildman-toolchains/gcc-4.6.3-nolibc/bfin-uclinux/bin/:~/.buildman-toolchains/gcc-4.6.3-nolibc/cris-linux/bin/:~/.buildman-toolchains/gcc-4.6.3-nolibc/sh4-linux/bin/:$PATH
In conclusion, I think I will define the Kconfig symbols -- note I
didn't say also move the #defines". I'm okay with dropping this patch
(4/5) from the series.
> Then you should be good!
:)
Alex
> Andrew
>
> P.S. I would bundle these all up and send them to you, but it ends up
> being several GB of data...
>
>> Alex
>>
>>> Andrew
>>>
>>>> Alex
>>>>
>>>>>
>>>>> Andrew
>>>>>
>>>>>> /*
>>>>>> * NOR Size = 16 MiB
>>>>>>
next prev parent reply other threads:[~2017-02-06 20:54 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-03 23:42 [U-Boot] [PATCH 0/5] Add support for Adaptrum ACRS2 mainboard Alexandru Gagniuc
2017-02-03 23:42 ` [U-Boot] [PATCH 1/5] configs: am335x_evm: Enable FASTBOOT based on kconfig Alexandru Gagniuc
2017-02-06 15:15 ` Andrew F. Davis
2017-02-06 18:32 ` Alex
2017-02-03 23:42 ` [U-Boot] [PATCH 2/5] Revert "configs: am335x: usb: do not define CONFIG_DM_USB for spl" Alexandru Gagniuc
2017-02-06 15:52 ` Andrew F. Davis
2017-02-06 18:47 ` Alex
2017-02-06 19:43 ` Andrew F. Davis
2017-02-06 21:30 ` Grygorii Strashko
2017-02-06 22:02 ` Alexandru Gagniuc
2017-02-06 22:30 ` [U-Boot] [PATCH] am33xx: board: Refactor USB initialization into separate function Alexandru Gagniuc
2017-02-12 13:55 ` Andreas Färber
2017-02-13 17:18 ` Alex
2017-02-03 23:42 ` [U-Boot] [PATCH 3/5] ARM: DTS: Add devicetree for Adaptrum ACRS2 mainboard Alexandru Gagniuc
2017-02-03 23:42 ` [U-Boot] [PATCH 4/5] configs: am335x: Enable PHY_VITESSE Alexandru Gagniuc
2017-02-06 15:56 ` Andrew F. Davis
2017-02-06 19:02 ` Alex G.
2017-02-06 19:47 ` Andrew F. Davis
2017-02-06 20:30 ` Alex G.
2017-02-06 20:38 ` Andrew F. Davis
2017-02-06 20:54 ` Alex G. [this message]
2017-02-06 21:03 ` Andrew F. Davis
2017-02-06 21:05 ` [U-Boot] [PATCH] drivers: net: Provide Kconfig menu for PHYLIB Alexandru Gagniuc
2017-02-06 21:45 ` [U-Boot] [PATCH] drivers: net: Move PHYLIB to Kconfig Andrew F. Davis
2017-02-07 16:28 ` Joe Hershberger
2017-02-03 23:42 ` [U-Boot] [PATCH 5/5] configs: Add defconfig for Adaptrum ACRS2 Alexandru Gagniuc
2017-02-07 3:17 ` [U-Boot] [PATCH v2 0/6] Add support for Adaptrum ACRS2 board Alexandru Gagniuc
2017-02-07 3:17 ` [U-Boot] [PATCH v2 1/6] configs: am335x_evm: Enable FASTBOOT based on kconfig Alexandru Gagniuc
2017-02-07 18:23 ` Tom Rini
2017-07-12 12:14 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-02-07 3:17 ` [U-Boot] [PATCH v2 2/6] am33xx: board: Refactor USB initialization into separate function Alexandru Gagniuc
2017-02-07 18:23 ` Tom Rini
2017-07-12 12:14 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-02-07 3:17 ` [U-Boot] [PATCH v2 3/6] drivers: net: Provide Kconfig menu for PHYLIB Alexandru Gagniuc
2017-02-07 16:28 ` Joe Hershberger
2017-02-07 18:23 ` Tom Rini
2017-02-09 16:28 ` [U-Boot] " Joe Hershberger
2017-02-09 18:18 ` Alexandru Gagniuc
2017-02-09 22:19 ` Joe Hershberger
2017-02-09 22:45 ` Tom Rini
2017-02-07 3:17 ` [U-Boot] [PATCH v2 4/6] drivers: net: Move PHYLIB to Kconfig Alexandru Gagniuc
2017-02-07 16:55 ` Andrew F. Davis
2017-02-07 17:15 ` Joe Hershberger
2017-02-07 17:49 ` Tom Rini
2017-02-07 17:52 ` Tom Rini
2017-02-08 22:45 ` Joe Hershberger
2017-02-07 3:17 ` [U-Boot] [PATCH v2 5/6] ARM: DTS: Add devicetree for Adaptrum ACRS2 mainboard Alexandru Gagniuc
2017-02-07 3:17 ` [U-Boot] [PATCH v2 6/6] configs: Add defconfig for Adaptrum ACRS2 Alexandru Gagniuc
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=11985967-76cb-2585-e2f9-0d97d30be7c9@adaptrum.com \
--to=alex.g@adaptrum.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