diff mbox

[U-Boot,v2,10/10] x86: crownbay: Enable CONFIG_PCH_GBE

Message ID 1440595055-26333-10-git-send-email-bmeng.cn@gmail.com
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Bin Meng Aug. 26, 2015, 1:17 p.m. UTC
Now that we have converted the pch_gbe driver to driver moel,
enable it on Intel Crown Bay board.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>

---

Changes in v2:
- Remove CONFIG_PHYLIB from crownbay.h

 configs/crownbay_defconfig | 1 +
 include/configs/crownbay.h | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

Comments

Joe Hershberger Aug. 26, 2015, 3:25 p.m. UTC | #1
Hi Bin,

On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
> Now that we have converted the pch_gbe driver to driver moel,
> enable it on Intel Crown Bay board.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Acked-by: Simon Glass <sjg@chromium.org>
>
> ---
>
> Changes in v2:
> - Remove CONFIG_PHYLIB from crownbay.h
>
>  configs/crownbay_defconfig | 1 +
>  include/configs/crownbay.h | 3 ---
>  2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
> index f027faf..f328159 100644
> --- a/configs/crownbay_defconfig
> +++ b/configs/crownbay_defconfig
> @@ -21,6 +21,7 @@ CONFIG_DM_PCI=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_DM_ETH=y
>  CONFIG_E1000=y
> +CONFIG_PCH_GBE=y
>  CONFIG_VIDEO_VESA=y
>  CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
>  CONFIG_USB=y
> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
> index a344c85..3153a74 100644
> --- a/include/configs/crownbay.h
> +++ b/include/configs/crownbay.h
> @@ -49,9 +49,6 @@
>  #define CONFIG_MMC_SDMA
>  #define CONFIG_CMD_MMC
>
> -/* Topcliff Gigabit Ethernet */
> -#define CONFIG_PHYLIB
> -

Since you added the PHYLIB config to the Kconfig, you need to run the
moveconfig.py tool to convert all boards so there is not a conflict
between the 2 config approaches.

>  /* Environment configuration */
>  #define CONFIG_ENV_SECT_SIZE           0x1000
>  #define CONFIG_ENV_OFFSET              0
> --
> 1.8.2.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Bin Meng Aug. 26, 2015, 3:31 p.m. UTC | #2
Hi Joe,

On Wed, Aug 26, 2015 at 11:25 PM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> Hi Bin,
>
> On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Now that we have converted the pch_gbe driver to driver moel,
>> enable it on Intel Crown Bay board.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> Acked-by: Simon Glass <sjg@chromium.org>
>>
>> ---
>>
>> Changes in v2:
>> - Remove CONFIG_PHYLIB from crownbay.h
>>
>>  configs/crownbay_defconfig | 1 +
>>  include/configs/crownbay.h | 3 ---
>>  2 files changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
>> index f027faf..f328159 100644
>> --- a/configs/crownbay_defconfig
>> +++ b/configs/crownbay_defconfig
>> @@ -21,6 +21,7 @@ CONFIG_DM_PCI=y
>>  CONFIG_SPI_FLASH=y
>>  CONFIG_DM_ETH=y
>>  CONFIG_E1000=y
>> +CONFIG_PCH_GBE=y
>>  CONFIG_VIDEO_VESA=y
>>  CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
>>  CONFIG_USB=y
>> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
>> index a344c85..3153a74 100644
>> --- a/include/configs/crownbay.h
>> +++ b/include/configs/crownbay.h
>> @@ -49,9 +49,6 @@
>>  #define CONFIG_MMC_SDMA
>>  #define CONFIG_CMD_MMC
>>
>> -/* Topcliff Gigabit Ethernet */
>> -#define CONFIG_PHYLIB
>> -
>
> Since you added the PHYLIB config to the Kconfig, you need to run the
> moveconfig.py tool to convert all boards so there is not a conflict
> between the 2 config approaches.
>

Since it is default n, so I believe there should be no conflicts. I
thought moveconfig causes lots of changes, which might be risky at
this time for this release? Do you think we can leave the PHYLIB
moveconfig to next release? But I may be wrong, e.g. I should trust
the moveconfig tool ;-)

Regards,
Bin
Bin Meng Aug. 27, 2015, 3:43 p.m. UTC | #3
Hi Joe,

On Wed, Aug 26, 2015 at 11:31 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Joe,
>
> On Wed, Aug 26, 2015 at 11:25 PM, Joe Hershberger
> <joe.hershberger@gmail.com> wrote:
>> Hi Bin,
>>
>> On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
>>> Now that we have converted the pch_gbe driver to driver moel,
>>> enable it on Intel Crown Bay board.
>>>
>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>> Acked-by: Simon Glass <sjg@chromium.org>
>>>
>>> ---
>>>
>>> Changes in v2:
>>> - Remove CONFIG_PHYLIB from crownbay.h
>>>
>>>  configs/crownbay_defconfig | 1 +
>>>  include/configs/crownbay.h | 3 ---
>>>  2 files changed, 1 insertion(+), 3 deletions(-)
>>>
>>> diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
>>> index f027faf..f328159 100644
>>> --- a/configs/crownbay_defconfig
>>> +++ b/configs/crownbay_defconfig
>>> @@ -21,6 +21,7 @@ CONFIG_DM_PCI=y
>>>  CONFIG_SPI_FLASH=y
>>>  CONFIG_DM_ETH=y
>>>  CONFIG_E1000=y
>>> +CONFIG_PCH_GBE=y
>>>  CONFIG_VIDEO_VESA=y
>>>  CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
>>>  CONFIG_USB=y
>>> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
>>> index a344c85..3153a74 100644
>>> --- a/include/configs/crownbay.h
>>> +++ b/include/configs/crownbay.h
>>> @@ -49,9 +49,6 @@
>>>  #define CONFIG_MMC_SDMA
>>>  #define CONFIG_CMD_MMC
>>>
>>> -/* Topcliff Gigabit Ethernet */
>>> -#define CONFIG_PHYLIB
>>> -
>>
>> Since you added the PHYLIB config to the Kconfig, you need to run the
>> moveconfig.py tool to convert all boards so there is not a conflict
>> between the 2 config approaches.
>>
>
> Since it is default n, so I believe there should be no conflicts. I
> thought moveconfig causes lots of changes, which might be risky at
> this time for this release? Do you think we can leave the PHYLIB
> moveconfig to next release? But I may be wrong, e.g. I should trust
> the moveconfig tool ;-)
>

Please let me know if you want me to update all boards' header and
defconfig files with moveconfig for PHYLIB for this release.

Regards,
Bin
Joe Hershberger Aug. 27, 2015, 9:09 p.m. UTC | #4
Hi Bin,

On Thu, Aug 27, 2015 at 10:43 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Joe,
>
> On Wed, Aug 26, 2015 at 11:31 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Hi Joe,
>>
>> On Wed, Aug 26, 2015 at 11:25 PM, Joe Hershberger
>> <joe.hershberger@gmail.com> wrote:
>>> Hi Bin,
>>>
>>> On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng <bmeng.cn@gmail.com> wrote:
>>>> Now that we have converted the pch_gbe driver to driver moel,
>>>> enable it on Intel Crown Bay board.
>>>>
>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>>> Acked-by: Simon Glass <sjg@chromium.org>
>>>>
>>>> ---
>>>>
>>>> Changes in v2:
>>>> - Remove CONFIG_PHYLIB from crownbay.h
>>>>
>>>>  configs/crownbay_defconfig | 1 +
>>>>  include/configs/crownbay.h | 3 ---
>>>>  2 files changed, 1 insertion(+), 3 deletions(-)
>>>>
>>>> diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
>>>> index f027faf..f328159 100644
>>>> --- a/configs/crownbay_defconfig
>>>> +++ b/configs/crownbay_defconfig
>>>> @@ -21,6 +21,7 @@ CONFIG_DM_PCI=y
>>>>  CONFIG_SPI_FLASH=y
>>>>  CONFIG_DM_ETH=y
>>>>  CONFIG_E1000=y
>>>> +CONFIG_PCH_GBE=y
>>>>  CONFIG_VIDEO_VESA=y
>>>>  CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
>>>>  CONFIG_USB=y
>>>> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
>>>> index a344c85..3153a74 100644
>>>> --- a/include/configs/crownbay.h
>>>> +++ b/include/configs/crownbay.h
>>>> @@ -49,9 +49,6 @@
>>>>  #define CONFIG_MMC_SDMA
>>>>  #define CONFIG_CMD_MMC
>>>>
>>>> -/* Topcliff Gigabit Ethernet */
>>>> -#define CONFIG_PHYLIB
>>>> -
>>>
>>> Since you added the PHYLIB config to the Kconfig, you need to run the
>>> moveconfig.py tool to convert all boards so there is not a conflict
>>> between the 2 config approaches.
>>>
>>
>> Since it is default n, so I believe there should be no conflicts. I
>> thought moveconfig causes lots of changes, which might be risky at
>> this time for this release? Do you think we can leave the PHYLIB
>> moveconfig to next release? But I may be wrong, e.g. I should trust
>> the moveconfig tool ;-)
>>
>
> Please let me know if you want me to update all boards' header and
> defconfig files with moveconfig for PHYLIB for this release.

I guess it's unnecessary for this release. At least make sure that
this doesn't cause problems on any boards with DM_ETH enabled.

-Joe
diff mbox

Patch

diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
index f027faf..f328159 100644
--- a/configs/crownbay_defconfig
+++ b/configs/crownbay_defconfig
@@ -21,6 +21,7 @@  CONFIG_DM_PCI=y
 CONFIG_SPI_FLASH=y
 CONFIG_DM_ETH=y
 CONFIG_E1000=y
+CONFIG_PCH_GBE=y
 CONFIG_VIDEO_VESA=y
 CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
 CONFIG_USB=y
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index a344c85..3153a74 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -49,9 +49,6 @@ 
 #define CONFIG_MMC_SDMA
 #define CONFIG_CMD_MMC
 
-/* Topcliff Gigabit Ethernet */
-#define CONFIG_PHYLIB
-
 /* Environment configuration */
 #define CONFIG_ENV_SECT_SIZE		0x1000
 #define CONFIG_ENV_OFFSET		0