Traditional KS2 devices supported NAND via the AEMIF peripheral. However,
66AK2G doesn't use the AEMIF but rather the GPMC for NAND. Therefore,
clarify some statements to indicate only certain devices have AEMIF and
in other places just say NAND instead of AEMIF NAND
Signed-off-by: Frank
n value from FDT_ERROR to -EINVAL.
>
> Signed-off-by: Nobuhiro Iwamatsu
> CC: Franklin S Cooper Jr
> ---
> common/boot_fit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/boot_fit.c b/common/boot_fit.c
> index 51440a6e6f..0a723150b5 1
ff-by: Nobuhiro Iwamatsu
> CC: Franklin S Cooper Jr
> ---
> common/boot_fit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/boot_fit.c b/common/boot_fit.c
> index 51440a6e6f..ca130f2308 100644
> --- a/common/boot_fit.c
> +++ b
On 07/12/2017 10:20 AM, Jean-Jacques Hiblot wrote:
>
>
> On 12/07/2017 14:58, Jean-Jacques Hiblot wrote:
>>
>>
>> On 10/07/2017 18:34, Franklin S Cooper Jr wrote:
>>>
>>> On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote:
>>>>
>&
On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote:
>
>
> On 07/07/2017 16:30, Tom Rini wrote:
>> On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote:
>>
>>> u-boot can be embedded within a FIT image with multiple DTBs. It then
>>> selects at run-time which one is best suited fo
Sorry. Somehow I left out the subject from this. I resent just the cover
letter with the proper subject.
On 06/16/2017 05:25 PM, Franklin S Cooper Jr wrote:
> This patchset adds support for the new Keystone 2 Industrial Communication
> Engine board.
>
> This patchset includes the int
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to
wrap these calls.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/
Upstream Linux has the unit address being added to the various 66AK2Gx
boards dts. Therefore, update the dts to mimic this change.
Also remove memory node from the base K2G dtsi file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/keystone-k2g-evm.dts | 5
which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.
Signed-off-by: Franklin S
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/keystone-k2g-evm.dts| 4
arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
2
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/keystone-k2g-ice-u-boot.dtsi | 19
ed or tweaked.
The DT for K2G ICE is based on the version that has been accepted into
Linux mainline https://lkml.org/lkml/2017/5/22/28
Franklin S Cooper Jr (29):
spl: fit: Break out some functions into a common file
boot_fit: Create helper functions that can be used to select DTB out
o
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to
be set depending on the board it is being ran on.
Update findfdt to use this new dynamic board_name value to determine
which dtb should be used.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or
configuration is slightly different. Therefore, use board detection to
deal with these variations.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 16 ++--
1 file ch
Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 20
Include K2G ICE to OF_LIST so it can be used for runtime board
detection.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
configs/k2g_evm_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index
value.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/ddr3.c | 3 +--
board/ti/ks2_evm/ddr3_k2g.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-keystone/ddr3.c b/arch/arm/mach-keystone/ddr3.c
index ee8e12e..25a9637 1
ction runs the proper pinmuxing can be reran to match the board
being ran on.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
board/ti/ks2_evm/mux-k2g.h | 45 +++-
2 files changed, 46 insertions(+), 1 del
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
1
Add configuration settings used by the K2G ICE evm. Also use board
detection to determine which DDR3 configuration to use.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/ddr3_k2g.c | 62 +++--
1 file changed, 60 insertions
S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 7 +++
board/ti/ks2_evm/board_k2g.c | 38 ++
2 files changed, 45 insertions(+)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
index 03254e1..4792311 100644
--- a/board
Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach
Now with support for U-boot runtime dtb selection each board needs to
define board_fit_config_name_match so U-boot can determine what the
correct dtb is within the FIT blob.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2e.c | 10 ++
board/ti
Future boards will need to configure DDR3 registers in a slightly
different manner. Support this by defining additional variables and
defines that will be utilized later.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/include/mach/ddr3.h | 14
With U-boot runtime board detect for DTB selection a "default" dtb needs
to be created. This will be used temporarily until the "proper" dtb is
selected.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/Makefile | 3 ++-
a
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
Reviewed-by: Tom Rini
---
configs/k2e_evm_defconfig | 3 +++
configs/k2g_evm_defconfig | 3 +++
configs/k2hk_evm_defc
OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Lokesh Vutla
Acked-by: Andrew F. Davis
---
dts/Kconfig | 11
u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom
hasn't ran. Finish board configuration
once the board has been identified.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 1 +
board/ti/ks2_evm/board_k2g.c | 44 +++-
2 files changed, 24 insertions(+
EPROM was previously read or not without having to
perform a I2C transaction.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/common/board_detect.c | 10 ++
board/ti/common/board_detect.h | 9 +
2 files changed, 19 insertions(+)
diff --git a/board/ti/c
specific code to run and perform what ever necessary configuration
that is needed.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
common/Kconfig | 9 +
common/board_f.c | 3 +++
include/common.h | 4
3 files changed, 16 insertions(+)
diff --git a/common/Kconfig b
.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/keystone-k2g-evm-u-boot.dtsi | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
diff --git a/arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
b/arch/arm/dts
Add additional make targets and options for building embedded FIT U-boot
images.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
.gitignore | 1 +
Makefile | 18 --
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index
Some of the functions within spl_fit will be used for non spl purposes.
Instead of duplicating functions simply break the functions to be reused
into its own file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
---
Version 4 changes:
Updated to work with
Some platforms may append a FIT image to the U-boot image. This function
aids in parsing the FIT image and selecting the correct DTB at runtime.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
Version 4 changes:
Updated to work with latest master.
Reviewed-bys were left in since
This patch gives U-boot the runtime support to have the board specific
code decide which FDT to use. This is especially useful for devices
that need this type of runtime determination and also doesn't use SPL.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Lokesh Vutla
Reviewed-by: Tom
ay also be helpful in certain boot modes where doing i2c reads
may be costly and the config supports running only a specific board.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
Signed-off-by: Franklin S Cooper Jr.
Reviewed-by: Tom Rini
---
board/ti/common/boar
ed or tweaked.
The DT for K2G ICE is based on the version that has been accepted into
Linux mainline https://lkml.org/lkml/2017/5/22/28
Franklin S Cooper Jr (29):
spl: fit: Break out some functions into a common file
boot_fit: Create helper functions that can be used to select DTB out
o
With Davinci I2C switching to device model, K2E requires U-boot specific
device tree entries. This is only required for I2C 1 which is needed
extremely early during the boot process.
Fixes: 1743d040b1df ("ARM: keystone: Enable DM_I2C by default")
Signed-off-by: Franklin S Cooper Jr
---
With Davinci I2C switching to device model, K2HK requires U-boot specific
device tree entries. This is only required for I2C 1 which is needed
extremely early during the boot process.
Fixes: 1743d040b1df ("ARM: keystone: Enable DM_I2C by default")
Reported-by: Yan Liu
Signed-off-by:
On 05/26/2017 01:46 PM, Tom Rini wrote:
> On Fri, May 26, 2017 at 01:22:17PM -0500, Franklin S Cooper Jr wrote:
>>
>>
>> On 05/26/2017 01:09 PM, Tom Rini wrote:
>>> On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
>>>
>>>>
On 05/26/2017 03:08 AM, Lothar Waßmann wrote:
> Franklin S Cooper Jr wrote:
>
>> Runtime U-boot dtb selection is generally a two step process. First step
>> is to simply use an initial generic dtb. The second step is to select
>> the dtb and perhaps execute additiona
On 05/26/2017 01:09 PM, Tom Rini wrote:
> On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
>
>> Disable netcp by default like all other peripherals in the dtsi file.
>> Enable the peripheral explicitly in the board specific dts file.
>>
>> Si
which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.
Signed-off-by: Franklin S
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
Updated the dts to mimic version accepted into the Linux kernel.
arch/arm/dts/Makefile | 3
Now with support for U-boot runtime dtb selection each board needs to
define board_fit_config_name_match so U-boot can determine what the
correct dtb is within the FIT blob.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2e.c | 10 ++
board/ti
u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to
wrap these calls.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/
Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach
Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 20
Add configuration settings used by the K2G ICE evm. Also use board
detection to determine which DDR3 configuration to use.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/ddr3_k2g.c | 62 +++--
1 file changed, 60 insertions
value.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/ddr3.c | 3 +--
board/ti/ks2_evm/ddr3_k2g.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-keystone/ddr3.c b/arch/arm/mach-keystone/ddr3.c
index ee8e12e..25a9637 1
S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 7 +++
board/ti/ks2_evm/board_k2g.c | 38 ++
2 files changed, 45 insertions(+)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
index 03254e1..4792311 100644
--- a/board
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
1
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or
configuration is slightly different. Therefore, use board detection to
deal with these variations.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 16 ++--
1 file ch
EPROM was previously read or not without having to
perform a I2C transaction.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/common/board_detect.c | 10 ++
board/ti/common/board_detect.h | 9 +
2 files changed, 19 insertions(+)
diff --git a/board/ti/c
Include K2G ICE to OF_LIST so it can be used for runtime board
detection.
Signed-off-by: Franklin S Cooper Jr
---
configs/k2g_evm_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index 7b105da..a5639ea 100644
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to
be set depending on the board it is being ran on.
Update findfdt to use this new dynamic board_name value to determine
which dtb should be used.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/
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
Reviewed-by: Tom Rini
---
configs/k2e_evm_defconfig | 3 +++
configs/k2g_evm_defconfig | 3 +++
configs/k2hk_evm_defc
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm.dts| 4
arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
2 files changed, 5 insertions
OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Lokesh Vutla
Acked-by: Andrew F. Davis
---
dts/Kconfig | 11
ction runs the proper pinmuxing can be reran to match the board
being ran on.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
board/ti/ks2_evm/mux-k2g.h | 45 +++-
2 files changed, 46 insertions(+), 1 del
Upstream Linux has the unit address being added to the various 66AK2Gx
boards dts. Therefore, update the dts to mimic this change.
Also remove memory node from the base K2G dtsi file.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
This patch attempts to get the dts closer to what is
With U-boot runtime board detect for DTB selection a "default" dtb needs
to be created. This will be used temporarily until the "proper" dtb is
selected.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
Version 2 changes:
Added keystone-k2g-generic-u-boot.dtsi
specific code to run and perform what ever necessary configuration
that is needed.
Signed-off-by: Franklin S Cooper Jr
---
Version 3 changes:
Dropped default n
common/Kconfig | 9 +
common/board_f.c | 3 +++
include/common.h | 4
3 files changed, 16 insertions(+)
diff --git a
Add additional make targets and options for building embedded FIT U-boot
images.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
.gitignore | 1 +
Makefile | 18 --
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index
Some platforms may append a FIT image to the U-boot image. This function
aids in parsing the FIT image and selecting the correct DTB at runtime.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
common/Kconfig | 7 +++
common/Makefile| 1 +
common/boot_fit.c | 58
hasn't ran. Finish board configuration
once the board has been identified.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 1 +
board/ti/ks2_evm/board_k2g.c | 44 +++-
2 files changed, 24 insertions(+
Future boards will need to configure DDR3 registers in a slightly
different manner. Support this by defining additional variables and
defines that will be utilized later.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/include/mach/ddr3.h | 14
.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm-u-boot.dtsi | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
diff --git a/arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
b/arch/arm/dts/keystone-k2g-evm-u
ay also be helpful in certain boot modes where doing i2c reads
may be costly and the config supports running only a specific board.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
Signed-off-by: Franklin S Cooper Jr.
---
board/ti/common/board_det
Some of the functions within spl_fit will be used for non spl purposes.
Instead of duplicating functions simply break the functions to be reused
into its own file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
---
common/Makefile | 1 +
common
This patch gives U-boot the runtime support to have the board specific
code decide which FDT to use. This is especially useful for devices
that need this type of runtime determination and also doesn't use SPL.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Lokesh Vutla
Reviewed-by: Tom
upstream already.
The addition davinci i2c device model in upstream resulted in some
patches having to be added or tweaked.
The DT for K2G ICE is based on the version that has been accepted into
Linux mainline https://lkml.org/lkml/2017/5/22/28
Franklin S Cooper Jr (29):
spl: fit: Break out some
On 05/23/2017 12:42 PM, Franklin S Cooper Jr wrote:
> Runtime U-boot dtb selection is generally a two step process. First step
> is to simply use an initial generic dtb. The second step is to select
> the dtb and perhaps execute additional code ones U-boot knows what board
> it i
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
1
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
Updated to the dts recently accepted into the Linux kernel.
arch/arm/dts/Makefile | 3 ++-
arch/arm
ction runs the proper pinmuxing can be reran to match the board
being ran on.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 2 ++
board/ti/ks2_evm/mux-k2g.h | 45 +++-
2 files changed, 46 insertions(+), 1 del
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or
configuration is slightly different. Therefore, use board detection to
deal with these variations.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2g.c | 16 ++--
1 file ch
This patch gives U-boot the runtime support to have the board specific
code decide which FDT to use. This is especially useful for devices
that need this type of runtime determination and also doesn't use SPL.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Lokesh Vutla
Reviewed-by: Tom
Include K2G ICE to OF_LIST so it can be used for runtime board
detection.
Signed-off-by: Franklin S Cooper Jr
---
configs/k2g_evm_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index 7b105da..a5639ea 100644
ay also be helpful in certain boot modes where doing i2c reads
may be costly and the config supports running only a specific board.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
Signed-off-by: Franklin S Cooper Jr.
---
board/ti/common/board_det
specific code to run and perform what ever necessary configuration
that is needed.
Signed-off-by: Franklin S Cooper Jr
---
common/Kconfig | 10 ++
common/board_f.c | 3 +++
include/common.h | 4
3 files changed, 17 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to
wrap these calls.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/
.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm-u-boot.dtsi | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
diff --git a/arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
b/arch/arm/dts/keystone-k2g-evm-u
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to
be set depending on the board it is being ran on.
Update findfdt to use this new dynamic board_name value to determine
which dtb should be used.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/
hasn't ran. Finish board configuration
once the board has been identified.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 1 +
board/ti/ks2_evm/board_k2g.c | 44 +++-
2 files changed, 24 insertions(+
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm.dts| 4
arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
2 files changed, 5 insertions
Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.h | 20
u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom
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
Reviewed-by: Tom Rini
---
configs/k2e_evm_defconfig | 3 +++
configs/k2g_evm_defconfig | 3 +++
configs/k2hk_evm_defc
Add configuration settings used by the K2G ICE evm. Also use board
detection to determine which DDR3 configuration to use.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/ddr3_k2g.c | 62 +++--
1 file changed, 60 insertions
which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.
Signed-off-by: Franklin S
Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach
With U-boot runtime board detect for DTB selection a "default" dtb needs
to be created. This will be used temporarily until the "proper" dtb is
selected.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
Version 2 changes:
Added -u-boot.dtsi with U-boot specific
Upstream Linux has the unit address being added to the various 66AK2Gx
boards dts. Therefore, update the dts to mimic this change.
Also remove memory node from the base K2G dtsi file.
Signed-off-by: Franklin S Cooper Jr
---
Version 2 changes:
This patch attempts to get the dts closer to what is
Future boards will need to configure DDR3 registers in a slightly
different manner. Support this by defining additional variables and
defines that will be utilized later.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/mach-keystone/include/mach/ddr3.h | 14
S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board.c | 7 +++
board/ti/ks2_evm/board_k2g.c | 38 ++
2 files changed, 45 insertions(+)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
index 03254e1..4792311 100644
--- a/board
OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Lokesh Vutla
Acked-by: Andrew F. Davis
---
dts/Kconfig | 11
Now with support for U-boot runtime dtb selection each board needs to
define board_fit_config_name_match so U-boot can determine what the
correct dtb is within the FIT blob.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
board/ti/ks2_evm/board_k2e.c | 10 ++
board/ti
1 - 100 of 178 matches
Mail list logo