aboutsummaryrefslogtreecommitdiff
path: root/board/davinci
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-07 22:29:57 -0400
committerTom Rini <trini@konsulko.com>2021-09-07 22:29:57 -0400
commit07298e4828b7d0904fbfd77d386f01b4a37a5609 (patch)
treeba4e04647da735f6ac5ddc547a26578d8e99855c /board/davinci
parentec929484ecd95279abd5a95516ec8307571a26a4 (diff)
parent5f588f831b7459ea910aaf75f4ddd2522987b0e6 (diff)
downloadu-boot-07298e4828b7d0904fbfd77d386f01b4a37a5609.zip
u-boot-07298e4828b7d0904fbfd77d386f01b4a37a5609.tar.gz
u-boot-07298e4828b7d0904fbfd77d386f01b4a37a5609.tar.bz2
Merge branch '2021-09-07-ATAGs-and-related-migration' into next
- Merge ATAGs and MACH_ID options to Kconfig, and then disable them for nearly all platforms. A small number of platforms actively require this support still, and have it still enabled. Otherwise, it's migrated and disabled.
Diffstat (limited to 'board/davinci')
-rw-r--r--board/davinci/da8xxevm/da850evm.c2
-rw-r--r--board/davinci/da8xxevm/omapl138_lcdk.c14
2 files changed, 2 insertions, 14 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index f6ce336..2436aab 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -232,6 +232,7 @@ const int lpsc_size = ARRAY_SIZE(lpsc);
#define REV_AM18X_EVM 0x100
+#ifdef CONFIG_REVISION_TAG
/*
* get_board_rev() - setup to pass kernel board revision information
* Returns:
@@ -259,6 +260,7 @@ u32 get_board_rev(void)
rev = 1;
return rev;
}
+#endif
int board_early_init_f(void)
{
diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c
index 43d9b69..cd021cc 100644
--- a/board/davinci/da8xxevm/omapl138_lcdk.c
+++ b/board/davinci/da8xxevm/omapl138_lcdk.c
@@ -143,20 +143,6 @@ const int lpsc_size = ARRAY_SIZE(lpsc);
#define CONFIG_DA850_EVM_MAX_CPU_CLK 456000000
#endif
-/*
- * get_board_rev() - setup to pass kernel board revision information
- * Returns:
- * bit[0-3] Maximum cpu clock rate supported by onboard SoC
- * 0000b - 300 MHz
- * 0001b - 372 MHz
- * 0010b - 408 MHz
- * 0011b - 456 MHz
- */
-u32 get_board_rev(void)
-{
- return 0;
-}
-
int board_early_init_f(void)
{
/*