mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
xburst: ben nanonote: first add WPAN(atben,atusb) driver
take from qi-kernel.git thanks to Werner
This commit is contained in:
parent
73e5dad403
commit
af26c2eaae
@ -1,7 +1,7 @@
|
||||
From 2f669aa98831b7248402bab6a07b1b6f722cb6e9 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sat, 24 Apr 2010 17:34:29 +0200
|
||||
Subject: [PATCH 01/29] JZ4740 cache quirks
|
||||
Subject: [PATCH 01/32] JZ4740 cache quirks
|
||||
|
||||
---
|
||||
arch/mips/include/asm/r4kcache.h | 231 ++++++++++++++++++++++++++++++++++++++
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 633a1f02f183675e3448c45a5ddd5e942ecbc37c Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sat, 24 Apr 2010 17:25:01 +0200
|
||||
Subject: [PATCH 02/29] Add n516 board support
|
||||
Subject: [PATCH 02/32] Add n516 board support
|
||||
|
||||
---
|
||||
arch/mips/include/asm/mach-jz4740/board-n516.h | 39 +++
|
||||
|
@ -1,7 +1,7 @@
|
||||
From dcc0d9f15146c100a843dfa62ba259e208330f07 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sat, 24 Apr 2010 17:25:23 +0200
|
||||
Subject: [PATCH 03/29] Add n526 board support
|
||||
Subject: [PATCH 03/32] Add n526 board support
|
||||
|
||||
---
|
||||
arch/mips/jz4740/Kconfig | 4 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 322d8e1ccf544f576d60622dc304f136cef64a3b Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 5 Sep 2010 20:34:08 +0200
|
||||
Subject: [PATCH 04/29] MIPS: JZ4740: Add id800wt board
|
||||
Subject: [PATCH 04/32] MIPS: JZ4740: Add id800wt board
|
||||
|
||||
---
|
||||
arch/mips/jz4740/Kconfig | 4 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 523f9ca02b5c2c8b79f1d01fff03b1191a6aed6c Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 1 Aug 2010 21:34:54 +0200
|
||||
Subject: [PATCH 05/29] Add N516 sound SoC board driver
|
||||
Subject: [PATCH 05/32] Add N516 sound SoC board driver
|
||||
|
||||
---
|
||||
sound/soc/jz4740/Kconfig | 8 ++
|
||||
|
@ -1,7 +1,7 @@
|
||||
From b02e39f1ba2310fedf212d2a6e5d99c4a14fc297 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Wed, 12 May 2010 14:22:36 +0200
|
||||
Subject: [PATCH 06/29] Add n516 lpc driver
|
||||
Subject: [PATCH 06/32] Add n516 lpc driver
|
||||
|
||||
---
|
||||
drivers/misc/Kconfig | 8 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 19d5c8c334a79951d927a1b6eb25bf6a896c9ab5 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sat, 24 Apr 2010 12:38:41 +0200
|
||||
Subject: [PATCH 07/29] Add N526 sound SoC board driver
|
||||
Subject: [PATCH 07/32] Add N526 sound SoC board driver
|
||||
|
||||
---
|
||||
sound/soc/jz4740/Kconfig | 8 ++
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 5e219770079a61b8c8e59abe5510678361c94696 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 5 Sep 2010 03:19:10 +0200
|
||||
Subject: [PATCH 08/29] i2c: Add i2c driver for JZ47XX SoCs
|
||||
Subject: [PATCH 08/32] i2c: Add i2c driver for JZ47XX SoCs
|
||||
|
||||
This patch adds a driver for the i2c controller found in Ingenic JZ47XX based
|
||||
SoCs.
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 05bc4140f9da08fa48d81131ffa785e3026773a8 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 5 Sep 2010 03:21:51 +0200
|
||||
Subject: [PATCH 09/29] MIPS: JZ4740: Fix i2c driver name.
|
||||
Subject: [PATCH 09/32] MIPS: JZ4740: Fix i2c driver name.
|
||||
|
||||
The i2c driver is generic to all JZ47XX based SoCs not only the JZ4740. Reflect
|
||||
this in the driver name.
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 659b0bb01c8e567d4593ffbd7acd6b8ceab0edf3 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 5 Sep 2010 20:36:59 +0200
|
||||
Subject: [PATCH 10/29] MFD: jz4740-adc: Add support for the touchscreen part of the adc unit
|
||||
Subject: [PATCH 10/32] MFD: jz4740-adc: Add support for the touchscreen part of the adc unit
|
||||
|
||||
---
|
||||
drivers/mfd/jz4740-adc.c | 27 ++++++++++++++++++++++++---
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 71e0648ad022c6f05e1bed1fcca69abc8abde4d9 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 5 Sep 2010 20:45:08 +0200
|
||||
Subject: [PATCH 11/29] input: Add touchscreen driver for the JZ4740 SoC
|
||||
Subject: [PATCH 11/32] input: Add touchscreen driver for the JZ4740 SoC
|
||||
|
||||
This patch adds a touchscreen driver for the Ingenic JZ4740 SoC.
|
||||
The touchscreen controller is part of the ADC unit and thus this driver is a mfd
|
||||
|
@ -1,7 +1,7 @@
|
||||
From d7a92f8ccdca40672a2a242c756fb52c31b2bdba Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun, 1 Aug 2010 21:19:40 +0200
|
||||
Subject: [PATCH 12/29] Add ili8960 lcd driver
|
||||
Subject: [PATCH 12/32] Add ili8960 lcd driver
|
||||
|
||||
---
|
||||
drivers/video/backlight/Kconfig | 7 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From ecd72bc68f9b9a39cb0f1ec456787c61f03be978 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Tue, 13 Sep 2011 16:07:41 +0800
|
||||
Subject: [PATCH 13/29] Add jz4740 udc driver
|
||||
Subject: [PATCH 13/32] Add jz4740 udc driver
|
||||
|
||||
---
|
||||
drivers/usb/gadget/Kconfig | 13 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From c7700fa672bf0a171ceb9f4b092de33e3b306243 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sat, 24 Apr 2010 12:23:28 +0200
|
||||
Subject: [PATCH 14/29] Framebuffer notifier: Call notifier callbacks prior to blanking the screen
|
||||
Subject: [PATCH 14/32] Framebuffer notifier: Call notifier callbacks prior to blanking the screen
|
||||
|
||||
---
|
||||
drivers/video/fbmem.c | 8 ++++++--
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 15bd698ca3f4104f3e3c28dcc7619dcef21f40ad Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:40:08 +0800
|
||||
Subject: [PATCH 15/29] 500-modifier-keys.patch
|
||||
Subject: [PATCH 15/32] 500-modifier-keys.patch
|
||||
|
||||
---
|
||||
drivers/tty/vt/defkeymap.c_shipped | 326 +++++++++++++++++++++++++++---------
|
||||
|
@ -1,7 +1,7 @@
|
||||
From f4c9a977dc405856676cd1ca435394faf49b5f1c Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:44:15 +0800
|
||||
Subject: [PATCH 16/29] 850-ks7010-support.patch
|
||||
Subject: [PATCH 16/32] 850-ks7010-support.patch
|
||||
|
||||
---
|
||||
drivers/mmc/core/core.c | 4 ++--
|
||||
|
@ -1,7 +1,7 @@
|
||||
From a5d4cdf6165b2e324f6f55a0c6b2e3d29d303382 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Wed, 12 May 2010 14:18:47 +0200
|
||||
Subject: [PATCH 17/29] 900-add-openwrt-logo
|
||||
Subject: [PATCH 17/32] 900-add-openwrt-logo
|
||||
|
||||
---
|
||||
drivers/video/logo/Kconfig | 4 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From e4334870d2348cc326cb9135e9da83cdbec9e95e Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:45:19 +0800
|
||||
Subject: [PATCH 18/29] 901-ubi-Read-only-the-vid-header-instead-of-the-whole-pa.patch
|
||||
Subject: [PATCH 18/32] 901-ubi-Read-only-the-vid-header-instead-of-the-whole-pa.patch
|
||||
|
||||
---
|
||||
drivers/mtd/ubi/io.c | 2 +-
|
||||
|
@ -1,7 +1,7 @@
|
||||
From a525f2fabe86dfd4a1acc057afcb31de319ca3e5 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:45:39 +0800
|
||||
Subject: [PATCH 19/29] 902-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch
|
||||
Subject: [PATCH 19/32] 902-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch
|
||||
|
||||
---
|
||||
drivers/mtd/nand/nand_base.c | 14 ++++++++++----
|
||||
|
@ -1,7 +1,7 @@
|
||||
From e4e1ca7caccf399366d8dbbf6539217e2c7ea852 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:45:59 +0800
|
||||
Subject: [PATCH 20/29] 903-NAND-Add-support-for-subpage-reads-for-NAND_ECC_HW_O.patch
|
||||
Subject: [PATCH 20/32] 903-NAND-Add-support-for-subpage-reads-for-NAND_ECC_HW_O.patch
|
||||
|
||||
---
|
||||
drivers/mtd/nand/nand_base.c | 78 ++++++++++++++++++++++++++++++++++++++++--
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 5fa159fe903240a78136ba90bfefc91d899fcfe3 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:46:14 +0800
|
||||
Subject: [PATCH 21/29] 904-NAND-Optimize-reading-the-eec-data-for-the-JZ4740-ev.patch
|
||||
Subject: [PATCH 21/32] 904-NAND-Optimize-reading-the-eec-data-for-the-JZ4740-ev.patch
|
||||
|
||||
---
|
||||
drivers/mtd/nand/nand_base.c | 14 ++++----------
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 1133e48ddc4c3082dfa78606cff16d3c3bde84c4 Mon Sep 17 00:00:00 2001
|
||||
From: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Wed, 13 Oct 2010 01:17:24 +0200
|
||||
Subject: [PATCH 22/29] qi_lb60: Don't use 3-wire spi mode for the display for now
|
||||
Subject: [PATCH 22/32] qi_lb60: Don't use 3-wire spi mode for the display for now
|
||||
|
||||
The spi_gpio driver does not support 3-wire mode.
|
||||
---
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 1878b22649c3ecde1795d6695b92ca02fa9110c2 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.(none)>
|
||||
Date: Fri, 19 Aug 2011 15:46:52 +0800
|
||||
Subject: [PATCH 23/29] qi_lb60: NAND: add data partition
|
||||
Subject: [PATCH 23/32] qi_lb60: NAND: add data partition
|
||||
|
||||
---
|
||||
arch/mips/jz4740/board-qi_lb60.c | 7 ++++++-
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 87eb40e63e1b149ef87fe05765b97328bfbd1c1f Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Wed, 14 Sep 2011 14:29:37 +0800
|
||||
Subject: [PATCH 24/29] forward code to linux 3.0
|
||||
Subject: [PATCH 24/32] forward code to linux 3.0
|
||||
|
||||
---
|
||||
arch/mips/Kconfig | 2 +
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 8a760f273f94b72e882d7f82b04ade72ae739a6b Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@sharism.cc>
|
||||
Date: Wed, 14 Sep 2011 15:12:41 +0800
|
||||
Subject: [PATCH 25/29] Update to new platform code
|
||||
Subject: [PATCH 25/32] Update to new platform code
|
||||
|
||||
---
|
||||
drivers/mtd/nand/jz4740_nand.c | 2 +-
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 5e689acca07bccdced123f82e8dde5459eca0d97 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Wed, 14 Sep 2011 14:30:01 +0800
|
||||
Subject: [PATCH 26/29] sound: update DMA code
|
||||
Subject: [PATCH 26/32] sound: update DMA code
|
||||
|
||||
---
|
||||
sound/soc/jz4740/jz4740-pcm.c | 21 ++++++++++++++++++---
|
||||
|
@ -1,7 +1,7 @@
|
||||
From ab59753a9df09b990822b15d2593c5c98905684c Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Wed, 14 Sep 2011 14:29:51 +0800
|
||||
Subject: [PATCH 27/29] Add DEVMEM support
|
||||
Subject: [PATCH 27/32] Add DEVMEM support
|
||||
|
||||
---
|
||||
drivers/char/Kconfig | 10 ++++++++++
|
||||
|
@ -1,7 +1,7 @@
|
||||
From b0b7794018b75ce33be133664fb58ab3e6efc2e8 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Wed, 14 Sep 2011 14:29:52 +0800
|
||||
Subject: [PATCH 28/29] Add cpufreq support
|
||||
Subject: [PATCH 28/32] Add cpufreq support
|
||||
|
||||
---
|
||||
drivers/cpufreq/cpufreq_stats.c | 161 ++++++++++++++++++++-------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 2dc84f90409839e6a85bd9e25394a387c86d12a1 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@macbook.openmobilefree.net>
|
||||
Date: Wed, 14 Sep 2011 14:29:58 +0800
|
||||
Subject: [PATCH 29/29] Add new jz4740_lcd.h
|
||||
Subject: [PATCH 29/32] Add new jz4740_lcd.h
|
||||
|
||||
---
|
||||
drivers/video/jz4740_fb.c | 78 +----------------------------------
|
||||
|
@ -1,6 +1,19 @@
|
||||
From 77de829067262bbe1f7435b087c11ad9a8ea0b06 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@sharism.cc>
|
||||
Date: Tue, 18 Oct 2011 09:21:04 +0800
|
||||
Subject: [PATCH 30/32] fbcon-color-fonts
|
||||
|
||||
---
|
||||
drivers/tty/vt/vt.c | 3 +-
|
||||
drivers/video/console/bitblit.c | 188 +++++++++++++++++++++++++++++++++------
|
||||
drivers/video/console/fbcon.c | 14 +++-
|
||||
3 files changed, 173 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
|
||||
index b3915b7..37eaac5 100644
|
||||
--- a/drivers/tty/vt/vt.c
|
||||
+++ b/drivers/tty/vt/vt.c
|
||||
@@ -4034,6 +4034,7 @@ static int con_font_set(struct vc_data *
|
||||
@@ -4034,6 +4034,7 @@ static int con_font_set(struct vc_data *vc, struct console_font_op *op)
|
||||
struct console_font font;
|
||||
int rc = -EINVAL;
|
||||
int size;
|
||||
@ -8,7 +21,7 @@
|
||||
|
||||
if (vc->vc_mode != KD_TEXT)
|
||||
return -EINVAL;
|
||||
@@ -4063,7 +4064,7 @@ static int con_font_set(struct vc_data *
|
||||
@@ -4063,7 +4064,7 @@ static int con_font_set(struct vc_data *vc, struct console_font_op *op)
|
||||
}
|
||||
if (op->width <= 0 || op->width > 32 || op->height > 32)
|
||||
return -EINVAL;
|
||||
@ -17,9 +30,11 @@
|
||||
if (size > max_font_size)
|
||||
return -ENOSPC;
|
||||
font.charcount = op->charcount;
|
||||
diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c
|
||||
index 28b1a83..8e559df 100644
|
||||
--- a/drivers/video/console/bitblit.c
|
||||
+++ b/drivers/video/console/bitblit.c
|
||||
@@ -105,6 +105,12 @@ static inline void bit_putcs_aligned(str
|
||||
@@ -105,6 +105,12 @@ static inline void bit_putcs_aligned(struct vc_data *vc, struct fb_info *info,
|
||||
info->fbops->fb_imageblit(info, image);
|
||||
}
|
||||
|
||||
@ -32,7 +47,7 @@
|
||||
static inline void bit_putcs_unaligned(struct vc_data *vc,
|
||||
struct fb_info *info, const u16 *s,
|
||||
u32 attr, u32 cnt, u32 d_pitch,
|
||||
@@ -140,12 +146,62 @@ static inline void bit_putcs_unaligned(s
|
||||
@@ -140,12 +146,62 @@ static inline void bit_putcs_unaligned(struct vc_data *vc,
|
||||
|
||||
}
|
||||
|
||||
@ -96,7 +111,7 @@
|
||||
u32 cellsize = width * vc->vc_font.height;
|
||||
u32 maxcnt = info->pixmap.size/cellsize;
|
||||
u32 scan_align = info->pixmap.scan_align - 1;
|
||||
@@ -153,6 +209,10 @@ static void bit_putcs(struct vc_data *vc
|
||||
@@ -153,6 +209,10 @@ static void bit_putcs(struct vc_data *vc, struct fb_info *info,
|
||||
u32 mod = vc->vc_font.width % 8, cnt, pitch, size;
|
||||
u32 attribute = get_attribute(info, scr_readw(s));
|
||||
u8 *dst, *buf = NULL;
|
||||
@ -107,7 +122,7 @@
|
||||
|
||||
image.fg_color = fg;
|
||||
image.bg_color = bg;
|
||||
@@ -167,31 +227,73 @@ static void bit_putcs(struct vc_data *vc
|
||||
@@ -167,31 +227,73 @@ static void bit_putcs(struct vc_data *vc, struct fb_info *info,
|
||||
return;
|
||||
}
|
||||
|
||||
@ -206,7 +221,7 @@
|
||||
}
|
||||
|
||||
/* buf is always NULL except when in monochrome mode, so in this case
|
||||
@@ -234,6 +336,29 @@ static void bit_clear_margins(struct vc_
|
||||
@@ -234,6 +336,29 @@ static void bit_clear_margins(struct vc_data *vc, struct fb_info *info,
|
||||
}
|
||||
}
|
||||
|
||||
@ -236,7 +251,7 @@
|
||||
static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode,
|
||||
int softback_lines, int fg, int bg)
|
||||
{
|
||||
@@ -245,6 +370,7 @@ static void bit_cursor(struct vc_data *v
|
||||
@@ -245,6 +370,7 @@ static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode,
|
||||
int attribute, use_sw = (vc->vc_cursor_type & 0x10);
|
||||
int err = 1;
|
||||
char *src;
|
||||
@ -244,7 +259,7 @@
|
||||
|
||||
cursor.set = 0;
|
||||
|
||||
@@ -383,8 +509,14 @@ static void bit_cursor(struct vc_data *v
|
||||
@@ -383,8 +509,14 @@ static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode,
|
||||
if (info->fbops->fb_cursor)
|
||||
err = info->fbops->fb_cursor(info, &cursor);
|
||||
|
||||
@ -261,9 +276,11 @@
|
||||
|
||||
ops->cursor_reset = 0;
|
||||
}
|
||||
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
|
||||
index 8745637..dea9d2c 100644
|
||||
--- a/drivers/video/console/fbcon.c
|
||||
+++ b/drivers/video/console/fbcon.c
|
||||
@@ -2552,7 +2552,8 @@ static int fbcon_set_font(struct vc_data
|
||||
@@ -2552,7 +2552,8 @@ static int fbcon_set_font(struct vc_data *vc, struct console_font *font, unsigne
|
||||
int size;
|
||||
int i, csum;
|
||||
u8 *new_data, *data = font->data;
|
||||
@ -273,7 +290,7 @@
|
||||
|
||||
/* Is there a reason why fbconsole couldn't handle any charcount >256?
|
||||
* If not this check should be changed to charcount < 256 */
|
||||
@@ -2571,6 +2572,7 @@ static int fbcon_set_font(struct vc_data
|
||||
@@ -2571,6 +2572,7 @@ static int fbcon_set_font(struct vc_data *vc, struct console_font *font, unsigne
|
||||
size = h * pitch * charcount;
|
||||
|
||||
new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER);
|
||||
@ -281,7 +298,7 @@
|
||||
|
||||
if (!new_data)
|
||||
return -ENOMEM;
|
||||
@@ -2579,8 +2581,14 @@ static int fbcon_set_font(struct vc_data
|
||||
@@ -2579,8 +2581,14 @@ static int fbcon_set_font(struct vc_data *vc, struct console_font *font, unsigne
|
||||
FNTSIZE(new_data) = size;
|
||||
FNTCHARCNT(new_data) = charcount;
|
||||
REFCOUNT(new_data) = 0; /* usage counter */
|
||||
@ -298,3 +315,6 @@
|
||||
}
|
||||
|
||||
/* Since linux has a nice crc32 function use it for counting font
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
|
10010
target/linux/xburst/patches-3.0/0031-first-patch-for-atBen.patch
Normal file
10010
target/linux/xburst/patches-3.0/0031-first-patch-for-atBen.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
||||
From 24c474c864c5b53c068a3203393e40894a385fb8 Mon Sep 17 00:00:00 2001
|
||||
From: Xiangfu Liu <xiangfu@sharism.cc>
|
||||
Date: Tue, 1 Nov 2011 21:15:26 +0800
|
||||
Subject: [PATCH 32/32] set atben GPIO to func_none
|
||||
|
||||
---
|
||||
arch/mips/jz4740/board-qi_lb60.c | 7 +++++++
|
||||
1 files changed, 7 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
|
||||
index 0bc4caa..67a5fa3 100644
|
||||
--- a/arch/mips/jz4740/board-qi_lb60.c
|
||||
+++ b/arch/mips/jz4740/board-qi_lb60.c
|
||||
@@ -446,6 +446,13 @@ static void __init board_gpio_setup(void)
|
||||
* drivers. Everything else is done by the drivers themselves. */
|
||||
jz_gpio_disable_pullup(QI_LB60_GPIO_SD_VCC_EN_N);
|
||||
jz_gpio_disable_pullup(QI_LB60_GPIO_SD_CD);
|
||||
+
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(8), JZ_GPIO_FUNC_NONE);
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(9), JZ_GPIO_FUNC_NONE);
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(10), JZ_GPIO_FUNC_NONE);
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(11), JZ_GPIO_FUNC_NONE);
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(12), JZ_GPIO_FUNC_NONE);
|
||||
+ jz_gpio_set_function(JZ_GPIO_PORTD(13), JZ_GPIO_FUNC_NONE);
|
||||
}
|
||||
|
||||
static int __init qi_lb60_init_platform_devices(void)
|
||||
--
|
||||
1.7.4.1
|
||||
|
Loading…
Reference in New Issue
Block a user