[U-Boot] [PATCH 3/5] x86: i8042: Clean up the driver

Bin Meng bmeng.cn at gmail.com
Tue Aug 18 04:28:24 CEST 2015


Hi Simon,

On Tue, Aug 18, 2015 at 10:00 AM, Simon Glass <sjg at chromium.org> wrote:
> On 17 August 2015 at 04:45, Bin Meng <bmeng.cn at gmail.com> wrote:
>> This commit cleans up the existing i8042 driver by:
>> - Reorder those static function so that their declarations can be removed
>> - Remove unused routines i8042_flush() and i8042_disable()
>> - Remove unused CONFIG_USE_CPCIDVI wrapped codes
>> - Remove __weak board_i8042_skip()
>> - Rename CamelCase variables to conform U-Boot coding convention
>> - Rename wait_until_kbd_output_full() to kbd_output_full()
>> - Change to use macros for i8042 command and control register bits
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  drivers/input/i8042.c | 633 +++++++++++++++++++++-----------------------------
>>  include/i8042.h       | 112 +++++----
>>  2 files changed, 317 insertions(+), 428 deletions(-)
>
> It would be better to split this into a few patches (e.g. one to
> remove stuff, one to reorder, one for everything else) but this is a
> big improvement.

Ah, I see. This single patch is hard to review as it is totally
different from the original. I will see if I can do a v2 to split
this.

>
> Acked-by: Simon Glass <sjg at chromium.org>

Regards,
Bin


More information about the U-Boot mailing list