diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-02-03 20:17:00 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2012-02-03 20:17:00 +0000 |
commit | d6afe712abeef60e65fe6a5fb64c9a502a53cede (patch) | |
tree | 219fcedf2dd14883118a0bb864dcf3687a6a5b67 /target/linux/x86/patches-3.3/001-alix_platform.patch | |
parent | c433bfb5711474b1c2c8c35220e22d601d3b0dc7 (diff) | |
download | mtk-20170518-d6afe712abeef60e65fe6a5fb64c9a502a53cede.zip mtk-20170518-d6afe712abeef60e65fe6a5fb64c9a502a53cede.tar.gz mtk-20170518-d6afe712abeef60e65fe6a5fb64c9a502a53cede.tar.bz2 |
x86: make alix platform patch apply to 3.3
Based on a patch from Philip Prindeville.
While at it, also refresh the patches.
SVN-Revision: 30025
Diffstat (limited to 'target/linux/x86/patches-3.3/001-alix_platform.patch')
-rw-r--r-- | target/linux/x86/patches-3.3/001-alix_platform.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/x86/patches-3.3/001-alix_platform.patch b/target/linux/x86/patches-3.3/001-alix_platform.patch index 21a5278..4a5f4f4 100644 --- a/target/linux/x86/patches-3.3/001-alix_platform.patch +++ b/target/linux/x86/patches-3.3/001-alix_platform.patch @@ -19,12 +19,11 @@ index dc5f1d3..a24bf8c 100644 #include <asm/geode.h> --static int force = 0; +#define BIOS_SIGNATURE_TINYBIOS 0xf0000 +#define BIOS_SIGNATURE_COREBOOT 0x500 +#define BIOS_REGION_SIZE 0x10000 + -+static bool force = 0; + static bool force = 0; module_param(force, bool, 0444); /* FIXME: Award bios is not automatically detected as Alix platform */ MODULE_PARM_DESC(force, "Force detection as ALIX.2/ALIX.3 platform"); @@ -58,7 +57,7 @@ index dc5f1d3..a24bf8c 100644 static struct gpio_led alix_leds[] = { { .name = "alix:1", -@@ -64,17 +106,22 @@ static struct platform_device alix_leds_ +@@ -64,17 +98,22 @@ static struct platform_device alix_leds_ .dev.platform_data = &alix_leds_data, }; @@ -83,7 +82,7 @@ index dc5f1d3..a24bf8c 100644 const char *bios_virt; const char *scan_end; const char *p; -@@ -109,7 +156,8 @@ static int __init alix_present(unsigned +@@ -109,7 +148,8 @@ static int __init alix_present(unsigned *a = '\0'; tail = p + alix_sig_len; @@ -93,7 +92,7 @@ index dc5f1d3..a24bf8c 100644 printk(KERN_INFO "%s: system is recognized as \"%s\"\n", KBUILD_MODNAME, name); -@@ -120,6 +169,24 @@ static int __init alix_present(unsigned +@@ -120,6 +160,24 @@ static int __init alix_present(unsigned return 0; } @@ -118,7 +117,7 @@ index dc5f1d3..a24bf8c 100644 static int __init alix_init(void) { const char tinybios_sig[] = "PC Engines ALIX."; -@@ -128,8 +197,9 @@ static int __init alix_init(void) +@@ -128,8 +186,9 @@ static int __init alix_init(void) if (!is_geode()) return 0; |