Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
427feb4a
Commit
427feb4a
authored
Apr 27, 2009
by
Santosh Shilimkar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OMAP: Add printk and correct LL debug
Signed-off-by:
Santosh Shilimkar
<
santosh.shilimkar@ti.com
>
parent
ed680c4a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
arch/arm/configs/omap_3430sdp_defconfig
arch/arm/configs/omap_3430sdp_defconfig
+2
-3
kernel/printk.c
kernel/printk.c
+7
-0
No files found.
arch/arm/configs/omap_3430sdp_defconfig
View file @
427feb4a
...
...
@@ -197,9 +197,8 @@ CONFIG_OMAP_MCBSP=y
CONFIG_OMAP_32K_TIMER=y
CONFIG_OMAP_32K_TIMER_HZ=128
CONFIG_OMAP_DM_TIMER=y
# CONFIG_OMAP_LL_DEBUG_UART1 is not set
# CONFIG_OMAP_LL_DEBUG_UART2 is not set
CONFIG_OMAP_LL_DEBUG_UART
3
=y
CONFIG_OMAP_LL_DEBUG_UART
1
=y
CONFIG_OMAP_SERIAL_WAKE=y
CONFIG_ARCH_OMAP34XX=y
CONFIG_ARCH_OMAP3430=y
...
...
@@ -1931,7 +1930,7 @@ CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_ERRORS is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_LL=y
#
# Security options
...
...
kernel/printk.c
View file @
427feb4a
...
...
@@ -45,6 +45,10 @@ void asmlinkage __attribute__((weak)) early_printk(const char *fmt, ...)
#define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT)
#ifdef CONFIG_DEBUG_LL
extern
void
printascii
(
char
*
);
#endif
/* printk's without a loglevel use this.. */
#define DEFAULT_MESSAGE_LOGLEVEL 4
/* KERN_WARNING */
...
...
@@ -686,6 +690,9 @@ asmlinkage int vprintk(const char *fmt, va_list args)
printed_len
+=
vscnprintf
(
printk_buf
+
printed_len
,
sizeof
(
printk_buf
)
-
printed_len
,
fmt
,
args
);
#ifdef CONFIG_DEBUG_LL
printascii
(
printk_buf
);
#endif
p
=
printk_buf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment