superio/smsc/fdc37n972: Trivial cleanup reorder headers
Alphabetise headers and a few trivial cleanups. Change-Id: Ib8c8362962297cb59671d8274df8e4945373f94b Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6042 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
29179f0735
commit
49380b87d1
@ -18,4 +18,3 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
ramstage-$(CONFIG_SUPERIO_SMSC_FDC37N972) += fdc37n972.c
|
ramstage-$(CONFIG_SUPERIO_SMSC_FDC37N972) += fdc37n972.c
|
||||||
|
|
||||||
|
@ -17,10 +17,11 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "fdc37n972.h"
|
#include "fdc37n972.h"
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SUPERIO_SMSC_FDC37N972_FDC37N972_H
|
#ifndef SUPERIO_SMSC_FDC37N972_H
|
||||||
#define SUPERIO_SMSC_FDC37N972_FDC37N972_H
|
#define SUPERIO_SMSC_FDC37N972_H
|
||||||
|
|
||||||
#define FDC37N972_FDC 0x00 /* Floppy */
|
#define FDC37N972_FDC 0x00 /* Floppy */
|
||||||
#define FDC37N972_PP 0x03 /* Parallel port */
|
#define FDC37N972_PP 0x03 /* Parallel port */
|
||||||
@ -29,4 +29,4 @@
|
|||||||
#define FDC37N972_EC 0x08 /* Environmental Controller */
|
#define FDC37N972_EC 0x08 /* Environmental Controller */
|
||||||
#define FDC37N972_MBX 0x09 /* Mailbox register */
|
#define FDC37N972_MBX 0x09 /* Mailbox register */
|
||||||
|
|
||||||
#endif
|
#endif /* SUPERIO_SMSC_FDC37N972_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user