[PATCH 1/2] Revert "Force set console baudrate"

Alexey Galakhov agalakhov at gmail.com
Wed Jul 10 06:15:09 EDT 2013


This reverts commit 564414b6db90fabb2c1f529454f153badd75d5d5.
---
 common/console.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/common/console.c b/common/console.c
index abf5322..a0a06f6 100644
--- a/common/console.c
+++ b/common/console.c
@@ -147,7 +147,6 @@ int console_register(struct console_device *newcdev)
 		newcdev->baudrate = CONFIG_BAUDRATE;
 		dev_add_param_int(dev, "baudrate", console_baudrate_set,
 			NULL, &newcdev->baudrate, "%u", newcdev);
-		newcdev->setbrg(newcdev, newcdev->baudrate);
 	}
 
 	dev_add_param(dev, "active", console_std_set, NULL, 0);
-- 
1.7.10.4




More information about the barebox mailing list