mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-24 10:52:13 +01:00
Merge tag 'rpi-2024.10-rc1' of https://source.denx.de/u-boot/custodians/u-boot-raspberrypi
Updates for RPi for 2024.10: - board: rpi: remove leftover CONFIG_HW_WATCHDOG block - arm: bcm283x: remove unused empty hw_watchdog_disable - board: raspberrypi: Fix format specifier for printing rev_scheme - Revert "arm: dts: bcm283x: Add minimal smbios information"
This commit is contained in:
commit
1ca216522d
@ -6,25 +6,6 @@
|
||||
* (C) Copyright 2016 Fabian Vogt <fvogt@suse.com>
|
||||
*/
|
||||
|
||||
/ {
|
||||
smbios {
|
||||
compatible = "u-boot,sysinfo-smbios";
|
||||
smbios {
|
||||
system {
|
||||
manufacturer = "raspberrypi";
|
||||
product = "rpi";
|
||||
};
|
||||
baseboard {
|
||||
manufacturer = "raspberrypi";
|
||||
product = "rpi";
|
||||
};
|
||||
chassis {
|
||||
manufacturer = "raspberrypi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
skip-init;
|
||||
bootph-all;
|
||||
|
||||
@ -25,8 +25,6 @@
|
||||
/* max ticks timeout */
|
||||
#define BCM2835_WDOG_MAX_TIMEOUT 0x000fffff
|
||||
|
||||
void hw_watchdog_disable(void) {}
|
||||
|
||||
__efi_runtime_data struct bcm2835_wdog_regs *wdog_regs;
|
||||
|
||||
static void __efi_runtime
|
||||
@ -34,10 +32,9 @@ __reset_cpu(struct bcm2835_wdog_regs *wdog_regs, ulong ticks)
|
||||
{
|
||||
uint32_t rstc, timeout;
|
||||
|
||||
if (ticks == 0) {
|
||||
hw_watchdog_disable();
|
||||
if (ticks == 0)
|
||||
timeout = RESET_TIMEOUT;
|
||||
} else
|
||||
else
|
||||
timeout = ticks & BCM2835_WDOG_MAX_TIMEOUT;
|
||||
|
||||
rstc = readl(&wdog_regs->rstc);
|
||||
|
||||
@ -381,7 +381,7 @@ static void set_board_info(void)
|
||||
|
||||
snprintf(s, sizeof(s), "0x%X", revision);
|
||||
env_set("board_revision", s);
|
||||
snprintf(s, sizeof(s), "%d", rev_scheme);
|
||||
snprintf(s, sizeof(s), "%u", rev_scheme);
|
||||
env_set("board_rev_scheme", s);
|
||||
/* Can't rename this to board_rev_type since it's an ABI for scripts */
|
||||
snprintf(s, sizeof(s), "0x%X", rev_type);
|
||||
@ -493,10 +493,6 @@ static void get_board_revision(void)
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
#ifdef CONFIG_HW_WATCHDOG
|
||||
hw_watchdog_init();
|
||||
#endif
|
||||
|
||||
get_board_revision();
|
||||
|
||||
gd->bd->bi_boot_params = 0x100;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user