* [U-Boot] [PATCH v3 0/3] ARM: TI: Enable DISPLAY_{CPU/BOARD}INFO
@ 2016-10-04 4:04 Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support Lokesh Vutla
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Lokesh Vutla @ 2016-10-04 4:04 UTC (permalink / raw)
To: u-boot
This series adds ID code detection support for AM437x and enables
CONFIG_DISPLAY_{CPU/BOARD}INFO on all TI platforms.
This series is based on top of Andrew's (Kconfig: Separate AM33XX SOC config
from target board config) patch[1]
I specifically did not use tools/moveconfig.py as Tom suggested to select
these configs from targets instead of enabling it in defconfigs.
Changes since v2:
- Rebased on top of latest master: "53fec16 - Prepare v2016.11-rc1"
Lokesh Vutla (3):
ARM: AM437X: Add Silicon ID support
ARM: TI: Enable DISPLAY_CPUINFO on all SoCs
ARM: TI: Enable DISPLAY_BOARDINFO on all boards
arch/arm/Kconfig | 6 ++++++
arch/arm/cpu/armv7/am33xx/Kconfig | 11 +++++++++++
arch/arm/cpu/armv7/am33xx/sys_info.c | 5 ++++-
arch/arm/cpu/armv7/omap3/Kconfig | 8 ++++++++
arch/arm/cpu/armv7/omap5/Kconfig | 4 ++++
arch/arm/include/asm/arch-am33xx/cpu.h | 3 ++-
arch/arm/mach-keystone/Kconfig | 4 ++++
arch/powerpc/cpu/ppc4xx/Kconfig | 14 ++++++++++++++
board/amcc/acadia/Kconfig | 4 ----
board/amcc/bamboo/Kconfig | 4 ----
board/amcc/bubinga/Kconfig | 4 ----
board/amcc/canyonlands/Kconfig | 4 ----
board/amcc/katmai/Kconfig | 4 ----
board/amcc/kilauea/Kconfig | 4 ----
board/amcc/luan/Kconfig | 4 ----
board/amcc/makalu/Kconfig | 4 ----
board/amcc/redwood/Kconfig | 4 ----
board/amcc/sequoia/Kconfig | 4 ----
board/amcc/walnut/Kconfig | 4 ----
board/amcc/yosemite/Kconfig | 4 ----
board/amcc/yucca/Kconfig | 4 ----
board/liebherr/lwmon5/Kconfig | 4 ----
common/Kconfig | 16 ++++++++++++++++
include/configs/ti_armv7_keystone2.h | 1 -
include/configs/ti_omap4_common.h | 2 --
include/configs/ti_omap5_common.h | 3 ---
26 files changed, 69 insertions(+), 64 deletions(-)
--
2.9.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support
2016-10-04 4:04 [U-Boot] [PATCH v3 0/3] ARM: TI: Enable DISPLAY_{CPU/BOARD}INFO Lokesh Vutla
@ 2016-10-04 4:04 ` Lokesh Vutla
2016-10-08 17:08 ` [U-Boot] [U-Boot,v3,1/3] " Tom Rini
2016-10-04 4:04 ` [U-Boot] [PATCH v3 2/3] ARM: TI: Enable DISPLAY_CPUINFO on all SoCs Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 3/3] ARM: TI: Enable DISPLAY_BOARDINFO on all boards Lokesh Vutla
2 siblings, 1 reply; 5+ messages in thread
From: Lokesh Vutla @ 2016-10-04 4:04 UTC (permalink / raw)
To: u-boot
Add silicon ID code for AM437x silicon. This can be used to print
the cpu info using CONFIG_DISPLAY_CPUINFO.
Also printing "CPU :" along with cpu name in order to be consistent
with other OMAP platforms.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
arch/arm/cpu/armv7/am33xx/sys_info.c | 5 ++++-
arch/arm/include/asm/arch-am33xx/cpu.h | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c
index f42eee1..f0f72fa 100644
--- a/arch/arm/cpu/armv7/am33xx/sys_info.c
+++ b/arch/arm/cpu/armv7/am33xx/sys_info.c
@@ -95,6 +95,9 @@ int print_cpuinfo(void)
case TI81XX:
cpu_s = "TI81XX";
break;
+ case AM437X:
+ cpu_s = "AM437X";
+ break;
default:
cpu_s = "Unknown CPU type";
break;
@@ -110,7 +113,7 @@ int print_cpuinfo(void)
else
sec_s = "?";
- printf("%s-%s rev %s\n", cpu_s, sec_s, rev_s);
+ printf("CPU : %s-%s rev %s\n", cpu_s, sec_s, rev_s);
return 0;
}
diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h
index 62bca8c..4a0dce9 100644
--- a/arch/arm/include/asm/arch-am33xx/cpu.h
+++ b/arch/arm/include/asm/arch-am33xx/cpu.h
@@ -43,7 +43,8 @@
#define HS_DEVICE 0x2
#define GP_DEVICE 0x3
-/* cpu-id for AM33XX and TI81XX family */
+/* cpu-id for AM43XX AM33XX and TI81XX family */
+#define AM437X 0xB98C
#define AM335X 0xB944
#define TI81XX 0xB81E
#define DEVICE_ID (CTRL_BASE + 0x0600)
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH v3 2/3] ARM: TI: Enable DISPLAY_CPUINFO on all SoCs
2016-10-04 4:04 [U-Boot] [PATCH v3 0/3] ARM: TI: Enable DISPLAY_{CPU/BOARD}INFO Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support Lokesh Vutla
@ 2016-10-04 4:04 ` Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 3/3] ARM: TI: Enable DISPLAY_BOARDINFO on all boards Lokesh Vutla
2 siblings, 0 replies; 5+ messages in thread
From: Lokesh Vutla @ 2016-10-04 4:04 UTC (permalink / raw)
To: u-boot
Create a common Kconfig entry for DISPLAY_CPUINFO and select it for all
TI SoCs.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
arch/arm/Kconfig | 6 ++++++
common/Kconfig | 8 ++++++++
include/configs/ti_armv7_keystone2.h | 1 -
include/configs/ti_omap4_common.h | 1 -
include/configs/ti_omap5_common.h | 1 -
5 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f55d5b2..683ef66 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -439,6 +439,7 @@ config ARCH_KEYSTONE
select CPU_V7
select SUPPORT_SPL
select CMD_POWEROFF
+ select DISPLAY_CPUINFO
config ARCH_MESON
bool "Amlogic Meson"
@@ -489,22 +490,26 @@ config OMAP34XX
select CPU_V7
select SUPPORT_SPL
select USE_TINY_PRINTF
+ select DISPLAY_CPUINFO
config OMAP44XX
bool "OMAP44XX SoC"
select CPU_V7
select SUPPORT_SPL
select USE_TINY_PRINTF
+ select DISPLAY_CPUINFO
config OMAP54XX
bool "OMAP54XX SoC"
select CPU_V7
select SUPPORT_SPL
+ select DISPLAY_CPUINFO
config AM43XX
bool "AM43XX SoC"
select CPU_V7
select SUPPORT_SPL
+ select DISPLAY_CPUINFO
help
Support for AM43xx SOC from Texas Instruments.
The AM43xx high performance SOC features a Cortex-A9
@@ -516,6 +521,7 @@ config AM33XX
bool "AM33XX SoC"
select CPU_V7
select SUPPORT_SPL
+ select DISPLAY_CPUINFO
help
Support for AM335x SOC from Texas Instruments.
The AM335x high performance SOC features a Cortex-A8
diff --git a/common/Kconfig b/common/Kconfig
index c69c141..665c7ab 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -219,4 +219,12 @@ config VERSION_VARIABLE
Any change to this variable will be reverted at the
next reset.
+config DISPLAY_CPUINFO
+ bool
+ default n
+ help
+ Display information about the CPU that U-Boot is running on
+ when U-Boot starts up. The function print_cpuinfo() is called
+ to do this.
+
source "common/spl/Kconfig"
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index c42dedb..b39899f 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -15,7 +15,6 @@
/* U-Boot Build Configuration */
#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is a 2nd stage loader */
#define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_DISPLAY_CPUINFO
/* SoC Configuration */
#define CONFIG_ARCH_CPU_INIT
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 4115c78..eeeca24 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -17,7 +17,6 @@
*/
#define CONFIG_OMAP4430 1 /* which is in a 4430 */
#define CONFIG_MISC_INIT_R
-#define CONFIG_DISPLAY_CPUINFO 1
#define CONFIG_DISPLAY_BOARDINFO 1
#define CONFIG_SYS_THUMB_BUILD
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index a483850..1601f98 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -17,7 +17,6 @@
#ifndef __CONFIG_TI_OMAP5_COMMON_H
#define __CONFIG_TI_OMAP5_COMMON_H
-#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
/* Common ARM Erratas */
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH v3 3/3] ARM: TI: Enable DISPLAY_BOARDINFO on all boards
2016-10-04 4:04 [U-Boot] [PATCH v3 0/3] ARM: TI: Enable DISPLAY_{CPU/BOARD}INFO Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 2/3] ARM: TI: Enable DISPLAY_CPUINFO on all SoCs Lokesh Vutla
@ 2016-10-04 4:04 ` Lokesh Vutla
2 siblings, 0 replies; 5+ messages in thread
From: Lokesh Vutla @ 2016-10-04 4:04 UTC (permalink / raw)
To: u-boot
Delete board specific Kconfig entries for DISPLAY_BOARDINFO and create a common
entry. Select it for all TI SoCs and the boards that already has Kconfig entry.
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
arch/arm/cpu/armv7/am33xx/Kconfig | 11 +++++++++++
arch/arm/cpu/armv7/omap3/Kconfig | 8 ++++++++
arch/arm/cpu/armv7/omap5/Kconfig | 4 ++++
arch/arm/mach-keystone/Kconfig | 4 ++++
arch/powerpc/cpu/ppc4xx/Kconfig | 14 ++++++++++++++
board/amcc/acadia/Kconfig | 4 ----
board/amcc/bamboo/Kconfig | 4 ----
board/amcc/bubinga/Kconfig | 4 ----
board/amcc/canyonlands/Kconfig | 4 ----
board/amcc/katmai/Kconfig | 4 ----
board/amcc/kilauea/Kconfig | 4 ----
board/amcc/luan/Kconfig | 4 ----
board/amcc/makalu/Kconfig | 4 ----
board/amcc/redwood/Kconfig | 4 ----
board/amcc/sequoia/Kconfig | 4 ----
board/amcc/walnut/Kconfig | 4 ----
board/amcc/yosemite/Kconfig | 4 ----
board/amcc/yucca/Kconfig | 4 ----
board/liebherr/lwmon5/Kconfig | 4 ----
common/Kconfig | 8 ++++++++
include/configs/ti_omap4_common.h | 1 -
include/configs/ti_omap5_common.h | 2 --
22 files changed, 49 insertions(+), 59 deletions(-)
diff --git a/arch/arm/cpu/armv7/am33xx/Kconfig b/arch/arm/cpu/armv7/am33xx/Kconfig
index 8fd32c2..1cc718f 100644
--- a/arch/arm/cpu/armv7/am33xx/Kconfig
+++ b/arch/arm/cpu/armv7/am33xx/Kconfig
@@ -10,6 +10,7 @@ config TARGET_AM335X_EVM
select DM_SERIAL
select DM_GPIO
select TI_I2C_BOARD_DETECT
+ select DISPLAY_BOARDINFO
help
This option specifies support for the AM335x
GP and HS EVM development platforms. The AM335x
@@ -23,29 +24,34 @@ config TARGET_AM335X_BALTOS
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_AM335X_IGEP0033
bool "Support am335x_igep0033"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_AM335X_SHC
bool "Support am335x based shc board from bosch"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_AM335X_SL50
bool "Support am335x_sl50"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_BAV335X
bool "Support bav335x"
select DM
select DM_SERIAL
+ select DISPLAY_BOARDINFO
help
The BAV335x OEM Network Processor integrates all the functions of an
embedded network computer in a small, easy to use SODIMM module which
@@ -60,24 +66,28 @@ config TARGET_CM_T335
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_PCM051
bool "Support pcm051"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_PENGWYN
bool "Support pengwyn"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_PEPPER
bool "Support pepper"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
endchoice
@@ -97,6 +107,7 @@ config SPL_I2C_SUPPORT
config TARGET_AM43XX_EVM
bool "Support am43xx_evm"
select TI_I2C_BOARD_DETECT
+ select DISPLAY_BOARDINFO
help
This option specifies support for the AM43xx
GP and HS EVM development platforms.The AM437x
diff --git a/arch/arm/cpu/armv7/omap3/Kconfig b/arch/arm/cpu/armv7/omap3/Kconfig
index 7d884a2..043179e 100644
--- a/arch/arm/cpu/armv7/omap3/Kconfig
+++ b/arch/arm/cpu/armv7/omap3/Kconfig
@@ -48,6 +48,7 @@ config TARGET_OMAP3_BEAGLE
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_CM_T35
bool "CompuLab CM-T3530 and CM-T3730 boards"
@@ -60,6 +61,7 @@ config TARGET_DEVKIT8000
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_OMAP3_EVM
bool "TI OMAP3 EVM"
@@ -69,18 +71,21 @@ config TARGET_OMAP3_IGEP00X0
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_OMAP3_OVERO
bool "OMAP35xx Gumstix Overo"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_OMAP3_ZOOM1
bool "TI Zoom1"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_AM3517_CRANE
bool "am3517_crane"
@@ -102,6 +107,7 @@ config TARGET_OMAP3_LOGIC
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_NOKIA_RX51
bool "Nokia RX51"
@@ -117,12 +123,14 @@ config TARGET_OMAP3_CAIRO
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
config TARGET_SNIPER
bool "LG Optimus Black"
select DM
select DM_SERIAL
select DM_GPIO
+ select DISPLAY_BOARDINFO
endchoice
diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig
index a947ba4..947e0a1 100644
--- a/arch/arm/cpu/armv7/omap5/Kconfig
+++ b/arch/arm/cpu/armv7/omap5/Kconfig
@@ -39,18 +39,22 @@ choice
config TARGET_CM_T54
bool "CompuLab CM-T54"
+ select DISPLAY_BOARDINFO
config TARGET_OMAP5_UEVM
bool "TI OMAP5 uEVM board"
+ select DISPLAY_BOARDINFO
config TARGET_DRA7XX_EVM
bool "TI DRA7XX"
select TI_I2C_BOARD_DETECT
select PHYS_64BIT
+ select DISPLAY_BOARDINFO
config TARGET_AM57XX_EVM
bool "AM57XX"
select TI_I2C_BOARD_DETECT
+ select DISPLAY_BOARDINFO
endchoice
diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
index e1962c7..cd00f1a 100644
--- a/arch/arm/mach-keystone/Kconfig
+++ b/arch/arm/mach-keystone/Kconfig
@@ -6,15 +6,19 @@ choice
config TARGET_K2HK_EVM
bool "TI Keystone 2 Kepler/Hawking EVM"
+ select DISPLAY_BOARDINFO
config TARGET_K2E_EVM
bool "TI Keystone 2 Edison EVM"
+ select DISPLAY_BOARDINFO
config TARGET_K2L_EVM
bool "TI Keystone 2 Lamar EVM"
+ select DISPLAY_BOARDINFO
config TARGET_K2G_EVM
bool "TI Keystone 2 Galileo EVM"
+ select DISPLAY_BOARDINFO
endchoice
diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
index a6066ef..39e0e8f 100644
--- a/arch/powerpc/cpu/ppc4xx/Kconfig
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
@@ -10,51 +10,65 @@ choice
config TARGET_LWMON5
bool "Support lwmon5"
+ select DISPLAY_BOARDINFO
config TARGET_T3CORP
bool "Support t3corp"
config TARGET_ACADIA
bool "Support acadia"
+ select DISPLAY_BOARDINFO
config TARGET_BAMBOO
bool "Support bamboo"
+ select DISPLAY_BOARDINFO
config TARGET_BUBINGA
bool "Support bubinga"
+ select DISPLAY_BOARDINFO
config TARGET_CANYONLANDS
bool "Support canyonlands"
select DM
select DM_SERIAL
+ select DISPLAY_BOARDINFO
config TARGET_KATMAI
bool "Support katmai"
select PHYS_64BIT
+ select DISPLAY_BOARDINFO
config TARGET_KILAUEA
bool "Support kilauea"
+ select DISPLAY_BOARDINFO
config TARGET_LUAN
bool "Support luan"
+ select DISPLAY_BOARDINFO
config TARGET_MAKALU
bool "Support makalu"
+ select DISPLAY_BOARDINFO
config TARGET_REDWOOD
bool "Support redwood"
+ select DISPLAY_BOARDINFO
config TARGET_SEQUOIA
bool "Support sequoia"
+ select DISPLAY_BOARDINFO
config TARGET_WALNUT
bool "Support walnut"
+ select DISPLAY_BOARDINFO
config TARGET_YOSEMITE
bool "Support yosemite"
+ select DISPLAY_BOARDINFO
config TARGET_YUCCA
bool "Support yucca"
+ select DISPLAY_BOARDINFO
config TARGET_CPCI2DP
bool "Support CPCI2DP"
diff --git a/board/amcc/acadia/Kconfig b/board/amcc/acadia/Kconfig
index 7c0ef53..033deaf 100644
--- a/board/amcc/acadia/Kconfig
+++ b/board/amcc/acadia/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "acadia"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/bamboo/Kconfig b/board/amcc/bamboo/Kconfig
index d44a36a..c0bd40a 100644
--- a/board/amcc/bamboo/Kconfig
+++ b/board/amcc/bamboo/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "bamboo"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/bubinga/Kconfig b/board/amcc/bubinga/Kconfig
index fc40f6e..540d9b6 100644
--- a/board/amcc/bubinga/Kconfig
+++ b/board/amcc/bubinga/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "bubinga"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/canyonlands/Kconfig b/board/amcc/canyonlands/Kconfig
index a655dbc..cea6009 100644
--- a/board/amcc/canyonlands/Kconfig
+++ b/board/amcc/canyonlands/Kconfig
@@ -30,8 +30,4 @@ config ARCHES
endchoice
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/katmai/Kconfig b/board/amcc/katmai/Kconfig
index 59d3ef5..fc606cf 100644
--- a/board/amcc/katmai/Kconfig
+++ b/board/amcc/katmai/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "katmai"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/kilauea/Kconfig b/board/amcc/kilauea/Kconfig
index 5dfd9eb..3f2f434 100644
--- a/board/amcc/kilauea/Kconfig
+++ b/board/amcc/kilauea/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "kilauea"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/luan/Kconfig b/board/amcc/luan/Kconfig
index 36b44ff..3df90af 100644
--- a/board/amcc/luan/Kconfig
+++ b/board/amcc/luan/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "luan"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/makalu/Kconfig b/board/amcc/makalu/Kconfig
index 7f8498a..31ce5f1 100644
--- a/board/amcc/makalu/Kconfig
+++ b/board/amcc/makalu/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "makalu"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/redwood/Kconfig b/board/amcc/redwood/Kconfig
index fee6441..d710590 100644
--- a/board/amcc/redwood/Kconfig
+++ b/board/amcc/redwood/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "redwood"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/sequoia/Kconfig b/board/amcc/sequoia/Kconfig
index 6e6e408..67ee3ca 100644
--- a/board/amcc/sequoia/Kconfig
+++ b/board/amcc/sequoia/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "sequoia"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/walnut/Kconfig b/board/amcc/walnut/Kconfig
index d4c451d..94e3dc9 100644
--- a/board/amcc/walnut/Kconfig
+++ b/board/amcc/walnut/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "walnut"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/yosemite/Kconfig b/board/amcc/yosemite/Kconfig
index ec51236..dfa1068 100644
--- a/board/amcc/yosemite/Kconfig
+++ b/board/amcc/yosemite/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "yosemite"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/amcc/yucca/Kconfig b/board/amcc/yucca/Kconfig
index 338b6a9..61d9589 100644
--- a/board/amcc/yucca/Kconfig
+++ b/board/amcc/yucca/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "yucca"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/board/liebherr/lwmon5/Kconfig b/board/liebherr/lwmon5/Kconfig
index 7f1bb40..ec8349d 100644
--- a/board/liebherr/lwmon5/Kconfig
+++ b/board/liebherr/lwmon5/Kconfig
@@ -9,8 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "lwmon5"
-config DISPLAY_BOARDINFO
- bool
- default y
-
endif
diff --git a/common/Kconfig b/common/Kconfig
index 665c7ab..2b81636 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -227,4 +227,12 @@ config DISPLAY_CPUINFO
when U-Boot starts up. The function print_cpuinfo() is called
to do this.
+config DISPLAY_BOARDINFO
+ bool
+ default n
+ help
+ Display information about the board that U-Boot is running on
+ when U-Boot starts up. The board function checkboard() is called
+ to do this.
+
source "common/spl/Kconfig"
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index eeeca24..21106f9 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -17,7 +17,6 @@
*/
#define CONFIG_OMAP4430 1 /* which is in a 4430 */
#define CONFIG_MISC_INIT_R
-#define CONFIG_DISPLAY_BOARDINFO 1
#define CONFIG_SYS_THUMB_BUILD
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 1601f98..b9ed3ec 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -17,8 +17,6 @@
#ifndef __CONFIG_TI_OMAP5_COMMON_H
#define __CONFIG_TI_OMAP5_COMMON_H
-#define CONFIG_DISPLAY_BOARDINFO
-
/* Common ARM Erratas */
#define CONFIG_ARM_ERRATA_798870
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [U-Boot,v3,1/3] ARM: AM437X: Add Silicon ID support
2016-10-04 4:04 ` [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support Lokesh Vutla
@ 2016-10-08 17:08 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2016-10-08 17:08 UTC (permalink / raw)
To: u-boot
On Tue, Oct 04, 2016 at 09:34:50AM +0530, Lokesh Vutla wrote:
> Add silicon ID code for AM437x silicon. This can be used to print
> the cpu info using CONFIG_DISPLAY_CPUINFO.
> Also printing "CPU :" along with cpu name in order to be consistent
> with other OMAP platforms.
>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/7c00f89c/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-10-08 17:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-04 4:04 [U-Boot] [PATCH v3 0/3] ARM: TI: Enable DISPLAY_{CPU/BOARD}INFO Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 1/3] ARM: AM437X: Add Silicon ID support Lokesh Vutla
2016-10-08 17:08 ` [U-Boot] [U-Boot,v3,1/3] " Tom Rini
2016-10-04 4:04 ` [U-Boot] [PATCH v3 2/3] ARM: TI: Enable DISPLAY_CPUINFO on all SoCs Lokesh Vutla
2016-10-04 4:04 ` [U-Boot] [PATCH v3 3/3] ARM: TI: Enable DISPLAY_BOARDINFO on all boards Lokesh Vutla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.