Author: mcayland Date: Fri Apr 26 11:53:43 2013 New Revision: 1129 URL: http://tracker.coreboot.org/trac/openbios/changeset/1129
Log: SPARC: Another escc alignment fix for escc_keyboard
Further tests show that the Sun ESCC serial driver routines are also used for the keyboard device. Hence we also need to update the escc_keyboard bindings declaration to use ucell instead of phys_addr_t.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/drivers/escc.c
Modified: trunk/openbios-devel/drivers/escc.c ============================================================================== --- trunk/openbios-devel/drivers/escc.c Sun Apr 21 10:27:23 2013 (r1128) +++ trunk/openbios-devel/drivers/escc.c Fri Apr 26 11:53:43 2013 (r1129) @@ -305,7 +305,7 @@ } }
-DECLARE_UNNAMED_NODE(escc_keyboard, INSTALL_OPEN, sizeof(phys_addr_t)); +DECLARE_UNNAMED_NODE(escc_keyboard, INSTALL_OPEN, sizeof(ucell));
NODE_METHODS(escc_keyboard) = { { "open", escc_open },