changed Makefile and profiles, added patches for kernel 2.6.24
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1156-Disable-low-level-debugging-make-the-s3c24xx-PM-deb.patch
1 From 6b346561de958cd995c920d998bc6429bff39ce8 Mon Sep 17 00:00:00 2001
2 From: Holger Freyther <zecke@openmoko.org>
3 Date: Tue, 13 May 2008 18:54:13 +0100
4 Subject: [PATCH] Disable low level debugging, make the s3c24xx PM debug code depend on DEBUG_LL
5
6 Hey,
7 where are slowly getting into the product state, low level debugging is
8 supposed to be turned off there. :)
9
10 z
11
12
13
14 From 6448f0a521c05c5ba6672f5908c55583974ce1ed Mon Sep 17 00:00:00 2001
15 From: Holger Freyther <zecke@openmoko.org>
16 Date: Fri, 9 May 2008 19:56:31 +0200
17 Subject: [PATCH] [debug] Disable low level debugging for the product
18      Disable low level debugging in the defconfig-gta02 and
19      the s3c pm code used printascii which is only available
20      with low level debugging, update the Kconfig entry for
21      this pm debugging support to depend on low level debugging
22
23 Signed-Off-By: Holger Freyther <zecke@openmoko.org>
24 ---
25  arch/arm/plat-s3c/Kconfig |    2 +-
26  defconfig-gta02           |    5 +----
27  2 files changed, 2 insertions(+), 5 deletions(-)
28
29 diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
30 index 31656c3..73bbff3 100644
31 --- a/arch/arm/plat-s3c/Kconfig
32 +++ b/arch/arm/plat-s3c/Kconfig
33 @@ -61,7 +61,7 @@ comment "Power management"
34  
35  config S3C2410_PM_DEBUG
36         bool "S3C2410 PM Suspend debug"
37 -       depends on PLAT_S3C && PM
38 +       depends on PLAT_S3C && PM && DEBUG_LL
39         help
40           Say Y here if you want verbose debugging from the PM Suspend and
41           Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
42 diff --git a/defconfig-gta02 b/defconfig-gta02
43 index c4947b7..13670ee 100644
44 --- a/defconfig-gta02
45 +++ b/defconfig-gta02
46 @@ -159,7 +159,6 @@ CONFIG_CPU_LLSERIAL_S3C2440=y
47  #
48  # Power management
49  #
50 -CONFIG_S3C2410_PM_DEBUG=y
51  # CONFIG_S3C2410_PM_CHECK is not set
52  CONFIG_S3C_LOWLEVEL_UART_PORT=2
53  
54 @@ -1693,9 +1692,7 @@ CONFIG_FORCED_INLINING=y
55  # CONFIG_SAMPLES is not set
56  # CONFIG_DEBUG_USER is not set
57  CONFIG_DEBUG_ERRORS=y
58 -CONFIG_DEBUG_LL=y
59 -# CONFIG_DEBUG_ICEDCC is not set
60 -CONFIG_DEBUG_S3C_PORT=y
61 +# CONFIG_DEBUG_LL is not set
62  CONFIG_DEBUG_S3C_UART=2
63  
64  #
65 -- 
66 1.5.6.5
67