[U-Boot] [PATCH v4 6/7] arm: socfpga: Update SoCKit environment

Marek Vasut marex at denx.de
Wed Jan 25 04:40:26 CET 2017


On 01/25/2017 04:34 AM, Dinh Nguyen wrote:
> 
> 
> On 01/24/2017 09:30 PM, Dalon Westergreen wrote:
>> On Tue, 2017-01-24 at 21:27 -0600, Dinh Nguyen wrote:
>>>
>>> On 01/24/2017 11:06 AM, Dalon Westergreen wrote:
>>>>
>>>> From: Dalon Westergreen <dalon.westergreen at intel.com>
>>>>
>>>> Remove the default environment as it is now in a common
>>>> header.
>>>>
>>>> Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig
>>>> to set the linux devicetree name.
>>>>
>>>> Signed-off-by: Dalon Westergreen <dalon.westergreen at intel.com>
>>>> ---
>>>>  configs/socfpga_sockit_defconfig |  1 +
>>>>  include/configs/socfpga_sockit.h | 27 +--------------------------
>>>>  2 files changed, 2 insertions(+), 26 deletions(-)
>>>>
>>>> diff --git a/configs/socfpga_sockit_defconfig
>>>> b/configs/socfpga_sockit_defconfig
>>>> index d0c2bda..130c4e2 100644
>>>> --- a/configs/socfpga_sockit_defconfig
>>>> +++ b/configs/socfpga_sockit_defconfig
>>>> @@ -4,6 +4,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
>>>>  CONFIG_TARGET_SOCFPGA_TERASIC_SOCKIT=y
>>>>  CONFIG_SPL_STACK_R_ADDR=0x00800000
>>>>  CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_sockit"
>>>> +CONFIG_DEFAULT_FDT_FILE="socfpga.dtb"
>>>
>>> Should this be "socfpga_cyclone5_sockit.dtb" ?
>>
>> I can certainly do that, but as before i just left
>> the default b/c there is no mainlined dts in linux.
>> That said, i think you are correct, i will update all
>> the socfpga.dtb's to reflect the board name. 
>>
> 
> I think there is mainline DTS file for the sockit,
> (socfpga_cyclone5_sockit.dts), or am I confused again?

Yeah, that's sockit .


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list