summaryrefslogtreecommitdiff
path: root/libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-12-12 22:45:00 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-12-12 22:45:32 +0100
commit49fef4a963e1b2163a000a6b65e2f4d61bd171ae (patch)
tree89dcc01ec578373123b9ab188e9a3342df2a0772 /libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch
parenta95b393e7d22b42eb2d82b550f9995975ab33299 (diff)
downloadabslibre-49fef4a963e1b2163a000a6b65e2f4d61bd171ae.tar.gz
abslibre-49fef4a963e1b2163a000a6b65e2f4d61bd171ae.tar.bz2
abslibre-49fef4a963e1b2163a000a6b65e2f4d61bd171ae.zip
libre-testing: remove outdated u-boot packages
All these u-boot pakcages were consolidated in SOC specific packages instead of board specific pakcages in libre. In addition the libre packages are more recent and in sync with the Parabola armv7h installation manual. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch')
-rw-r--r--libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch84
1 files changed, 0 insertions, 84 deletions
diff --git a/libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch b/libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch
deleted file mode 100644
index 5cd77dbba..000000000
--- a/libre-testing/uboot4extlinux-nitrogen6q/0005-common-board-use-__weak.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From deda59a4022fcedd781a893fe5e1bb495988858f Mon Sep 17 00:00:00 2001
-From: Jeroen Hofstee <jeroen@myspectrum.nl>
-Date: Wed, 8 Oct 2014 22:57:22 +0200
-Subject: [PATCH 5/6] common: board: use __weak
-
-Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
----
- common/board_f.c | 10 ++--------
- common/board_r.c | 10 ++--------
- 2 files changed, 4 insertions(+), 16 deletions(-)
-
-diff --git a/common/board_f.c b/common/board_f.c
-index 4ea4cb2..215cc4a 100644
---- a/common/board_f.c
-+++ b/common/board_f.c
-@@ -130,14 +130,11 @@ int init_func_watchdog_reset(void)
- }
- #endif /* CONFIG_WATCHDOG */
-
--void __board_add_ram_info(int use_default)
-+__weak void board_add_ram_info(int use_default)
- {
- /* please define platform specific board_add_ram_info() */
- }
-
--void board_add_ram_info(int)
-- __attribute__ ((weak, alias("__board_add_ram_info")));
--
- static int init_baud_rate(void)
- {
- gd->baudrate = getenv_ulong("baudrate", 10, CONFIG_BAUDRATE);
-@@ -219,7 +216,7 @@ static int show_dram_config(void)
- return 0;
- }
-
--void __dram_init_banksize(void)
-+__weak void dram_init_banksize(void)
- {
- #if defined(CONFIG_NR_DRAM_BANKS) && defined(CONFIG_SYS_SDRAM_BASE)
- gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
-@@ -227,9 +224,6 @@ void __dram_init_banksize(void)
- #endif
- }
-
--void dram_init_banksize(void)
-- __attribute__((weak, alias("__dram_init_banksize")));
--
- #if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
- static int init_func_i2c(void)
- {
-diff --git a/common/board_r.c b/common/board_r.c
-index 602a239..fa4bd9c 100644
---- a/common/board_r.c
-+++ b/common/board_r.c
-@@ -60,7 +60,7 @@ DECLARE_GLOBAL_DATA_PTR;
-
- ulong monitor_flash_len;
-
--int __board_flash_wp_on(void)
-+__weak int board_flash_wp_on(void)
- {
- /*
- * Most flashes can't be detected when write protection is enabled,
-@@ -70,16 +70,10 @@ int __board_flash_wp_on(void)
- return 0;
- }
-
--int board_flash_wp_on(void)
-- __attribute__ ((weak, alias("__board_flash_wp_on")));
--
--void __cpu_secondary_init_r(void)
-+__weak void cpu_secondary_init_r(void)
- {
- }
-
--void cpu_secondary_init_r(void)
-- __attribute__ ((weak, alias("__cpu_secondary_init_r")));
--
- static int initr_secondary_cpu(void)
- {
- /*
---
-2.4.4
-