projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
board
/
lwmon5
/
kbd.c
diff --git
a/board/lwmon5/kbd.c
b/board/lwmon5/kbd.c
index
1e5349a
..
0a8787a
100644
(file)
--- a/
board/lwmon5/kbd.c
+++ b/
board/lwmon5/kbd.c
@@
-74,7
+74,7
@@
static int compare_magic (uchar *kbd_data, uchar *str);
/* maximum number of "magic" key codes that can be assigned */
/* maximum number of "magic" key codes that can be assigned */
-static uchar kbd_addr = C
FG
_I2C_KEYBD_ADDR;
+static uchar kbd_addr = C
ONFIG_SYS
_I2C_KEYBD_ADDR;
static uchar *key_match (uchar *);
static uchar *key_match (uchar *);
@@
-106,7
+106,7
@@
static void kbd_init (void)
uchar val, errcd;
int i;
uchar val, errcd;
int i;
- i2c_init (C
FG_I2C_SPEED, CFG
_I2C_SLAVE);
+ i2c_init (C
ONFIG_SYS_I2C_SPEED, CONFIG_SYS
_I2C_SLAVE);
gd->kbd_status = 0;
gd->kbd_status = 0;
@@
-412,7
+412,7
@@
int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int i;
#if 0 /* Done in kbd_init */
int i;
#if 0 /* Done in kbd_init */
- i2c_init (C
FG_I2C_SPEED, CFG
_I2C_SLAVE);
+ i2c_init (C
ONFIG_SYS_I2C_SPEED, CONFIG_SYS
_I2C_SLAVE);
#endif
/* Read keys */
#endif
/* Read keys */