This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor miscellaneous changes for NOOBS v1.3.8
- Loading branch information
Showing
9 changed files
with
172 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
buildroot/board/raspberrypi/kernel-patches/linux-f2c2d2b.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
commit f2c2d2bfa1ef742584b2219eb34f90c284715dfb | ||
Author: popcornmix <[email protected]> | ||
Date: Tue Feb 11 17:03:51 2014 +0000 | ||
|
||
bcm2708: Allow disk activity led gpio to be specified | ||
|
||
diff --git a/arch/arm/mach-bcm2708/bcm2708.c b/arch/arm/mach-bcm2708/bcm2708.c | ||
index 993379c..caa9f48 100644 | ||
--- a/arch/arm/mach-bcm2708/bcm2708.c | ||
+++ b/arch/arm/mach-bcm2708/bcm2708.c | ||
@@ -83,6 +83,8 @@ | ||
/* command line parameters */ | ||
static unsigned boardrev, serial; | ||
static unsigned uart_clock; | ||
+static unsigned disk_led_gpio = 16; | ||
+static unsigned disk_led_active_low = 1; | ||
static unsigned reboot_part = 0; | ||
static unsigned w1_gpio_pin = W1_GPIO; | ||
|
||
@@ -965,7 +967,9 @@ static struct platform_device bcm2708_led_device = { | ||
|
||
static void __init bcm2708_init_led(void) | ||
{ | ||
- platform_device_register(&bcm2708_led_device); | ||
+ bcm2708_leds[0].gpio = disk_led_gpio; | ||
+ bcm2708_leds[0].active_low = disk_led_active_low; | ||
+ platform_device_register(&bcm2708_led_device); | ||
} | ||
#else | ||
static inline void bcm2708_init_led(void) | ||
@@ -1004,5 +1008,7 @@ MACHINE_END | ||
module_param(boardrev, uint, 0644); | ||
module_param(serial, uint, 0644); | ||
module_param(uart_clock, uint, 0644); | ||
+module_param(disk_led_gpio, uint, 0644); | ||
+module_param(disk_led_active_low, uint, 0644); | ||
module_param(reboot_part, uint, 0644); | ||
module_param(w1_gpio_pin, uint, 0644); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters