diff mbox

[U-Boot,18/31] defconfig: keystone2: Enable U-boot runtime DTB detection

Message ID 20170302190435.23212-19-fcooper@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Franklin S Cooper Jr March 2, 2017, 7:04 p.m. UTC
Enable various config options to allow U-boot at runtime to select the
proper dtb to use from the list of dtb's within the FIT image.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 configs/k2e_evm_defconfig  | 3 +++
 configs/k2g_evm_defconfig  | 3 +++
 configs/k2hk_evm_defconfig | 3 +++
 configs/k2l_evm_defconfig  | 3 +++
 4 files changed, 12 insertions(+)

Comments

Tom Rini March 9, 2017, 1:08 p.m. UTC | #1
On Thu, Mar 02, 2017 at 01:04:22PM -0600, Franklin S Cooper Jr wrote:

> Enable various config options to allow U-boot at runtime to select the
> proper dtb to use from the list of dtb's within the FIT image.
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>

... but is the goal here to eventually support more than one EVM in a
single binary, on all of these platforms?

Reviewed-by: Tom Rini <trini@konsulko.com>
Franklin S Cooper Jr March 16, 2017, 9:52 p.m. UTC | #2
On 03/09/2017 07:08 AM, Tom Rini wrote:
> On Thu, Mar 02, 2017 at 01:04:22PM -0600, Franklin S Cooper Jr wrote:
> 
>> Enable various config options to allow U-boot at runtime to select the
>> proper dtb to use from the list of dtb's within the FIT image.
>>
>> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> 
> ... but is the goal here to eventually support more than one EVM in a
> single binary, on all of these platforms?

Yes the goal is to have a single binary that support multiple evms for a
given SoC family. Similar to what we are doing for OMAP devices except
using U-boot instead of SPL.
> 
> Reviewed-by: Tom Rini <trini@konsulko.com>
>
diff mbox

Patch

diff --git a/configs/k2e_evm_defconfig b/configs/k2e_evm_defconfig
index a42a485..801a4e4 100644
--- a/configs/k2e_evm_defconfig
+++ b/configs/k2e_evm_defconfig
@@ -54,3 +54,6 @@  CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
+CONFIG_OF_LIST="keystone-k2e-evm"
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index f3ee01a..1352877 100644
--- a/configs/k2g_evm_defconfig
+++ b/configs/k2g_evm_defconfig
@@ -58,3 +58,6 @@  CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
+CONFIG_OF_LIST="keystone-k2g-generic keystone-k2g-evm"
diff --git a/configs/k2hk_evm_defconfig b/configs/k2hk_evm_defconfig
index d924796..0fa74b6 100644
--- a/configs/k2hk_evm_defconfig
+++ b/configs/k2hk_evm_defconfig
@@ -54,3 +54,6 @@  CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
+CONFIG_OF_LIST="keystone-k2hk-evm"
diff --git a/configs/k2l_evm_defconfig b/configs/k2l_evm_defconfig
index c817585..caad57c 100644
--- a/configs/k2l_evm_defconfig
+++ b/configs/k2l_evm_defconfig
@@ -54,3 +54,6 @@  CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
+CONFIG_OF_LIST="keystone-k2l-evm"