mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
fix comments with new drivers organization
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
This commit is contained in:
parent
a9b410dc7d
commit
7817cb2083
4
README
4
README
@ -924,7 +924,7 @@ The following options need to be configured:
|
|||||||
(i.e. setenv videomode 317; saveenv; reset;)
|
(i.e. setenv videomode 317; saveenv; reset;)
|
||||||
|
|
||||||
- "videomode=bootargs" all the video parameters are parsed
|
- "videomode=bootargs" all the video parameters are parsed
|
||||||
from the bootargs. (See drivers/videomodes.c)
|
from the bootargs. (See drivers/video/videomodes.c)
|
||||||
|
|
||||||
|
|
||||||
CONFIG_VIDEO_SED13806
|
CONFIG_VIDEO_SED13806
|
||||||
@ -1353,7 +1353,7 @@ The following options need to be configured:
|
|||||||
CONFIG_FSL_I2C
|
CONFIG_FSL_I2C
|
||||||
|
|
||||||
Define this option if you want to use Freescale's I2C driver in
|
Define this option if you want to use Freescale's I2C driver in
|
||||||
drivers/fsl_i2c.c.
|
drivers/i2c/fsl_i2c.c.
|
||||||
|
|
||||||
|
|
||||||
- SPI Support: CONFIG_SPI
|
- SPI Support: CONFIG_SPI
|
||||||
|
@ -757,7 +757,7 @@ static struct pci_config_table pci_solidcard3_config_table[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------+
|
/*-------------------------------------------------------------------------+
|
||||||
| pci_init_board (Called from pci_init() in drivers/pci.c)
|
| pci_init_board (Called from pci_init() in drivers/pci/pci.c)
|
||||||
|
|
|
|
||||||
| Init the PCI part of the SolidCard III
|
| Init the PCI part of the SolidCard III
|
||||||
|
|
|
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
* !!!!! !!!!!
|
* !!!!! !!!!!
|
||||||
* !!!!! Next type definition was coming from original !!!!!
|
* !!!!! Next type definition was coming from original !!!!!
|
||||||
* !!!!! status LED driver drivers/status_led.c and !!!!!
|
* !!!!! status LED driver drivers/misc/status_led.c !!!!!
|
||||||
* !!!!! should exported for using here. !!!!!
|
* !!!!! and should be exported for using it here. !!!!!
|
||||||
* !!!!! !!!!!
|
* !!!!! !!!!!
|
||||||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
|
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ int nand_legacy_rw (struct nand_chip* nand, int cmd,
|
|||||||
size_t start, size_t len,
|
size_t start, size_t len,
|
||||||
size_t * retlen, u_char * buf);
|
size_t * retlen, u_char * buf);
|
||||||
|
|
||||||
/* info for NAND chips, defined in drivers/nand/nand.c */
|
/* info for NAND chips, defined in drivers/mtd/nand/nand.c */
|
||||||
extern nand_info_t nand_info[];
|
extern nand_info_t nand_info[];
|
||||||
|
|
||||||
/* references to names in env_common.c */
|
/* references to names in env_common.c */
|
||||||
|
@ -339,7 +339,7 @@ void pci_405gp_init(struct pci_controller *hose)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* drivers/pci.c skips every host bridge but the 405GP since it could
|
* drivers/pci/pci.c skips every host bridge but the 405GP since it could
|
||||||
* be set as an Adapter.
|
* be set as an Adapter.
|
||||||
*
|
*
|
||||||
* I (Andrew May) don't know what we should do here, but I don't want
|
* I (Andrew May) don't know what we should do here, but I don't want
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Notes on the the generic USB-OHCI driver
|
Notes on the the generic USB-OHCI driver
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
This driver (drivers/usb_ohci.[ch]) is the result of the merge of
|
This driver (drivers/usb/usb_ohci.[ch]) is the result of the merge of
|
||||||
various existing OHCI drivers that were basically identical beside
|
various existing OHCI drivers that were basically identical beside
|
||||||
cpu/board dependant initalization. This initalization has been moved
|
cpu/board dependant initalization. This initalization has been moved
|
||||||
into cpu/board directories and are called via the hooks below.
|
into cpu/board directories and are called via the hooks below.
|
||||||
|
@ -51,8 +51,8 @@ board/modnet50/lowlevel_init.S .. memory setup for ModNET50
|
|||||||
board/modnet50/flash.c .. flash routines
|
board/modnet50/flash.c .. flash routines
|
||||||
board/modnet50/modnet50.c .. some board init stuff
|
board/modnet50/modnet50.c .. some board init stuff
|
||||||
|
|
||||||
drivers/netarm_eth.c .. ethernet driver for the NET+50 CPU
|
drivers/net/netarm_eth.c .. ethernet driver for the NET+50 CPU
|
||||||
drivers/netarm_eth.h .. header for ethernet driver
|
drivers/net/netarm_eth.h .. header for ethernet driver
|
||||||
|
|
||||||
include/configs/modnet50.h .. configuration file for ModNET50
|
include/configs/modnet50.h .. configuration file for ModNET50
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* drivers/nand/nand_util.c
|
* drivers/mtd/nand/nand_util.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006 by Weiss-Electronic GmbH.
|
* Copyright (C) 2006 by Weiss-Electronic GmbH.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
# MA 02111-1307 USA
|
# MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
# File: drivers/sk98lin/Makefile
|
# File: drivers/net/sk98lin/Makefile
|
||||||
#
|
#
|
||||||
# Makefile for the SysKonnect SK-98xx device driver.
|
# Makefile for the SysKonnect SK-98xx device driver.
|
||||||
#
|
#
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* MA 02111-1307 USA
|
* MA 02111-1307 USA
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Derived in part from the SL811 HCD driver "u-boot/drivers/sl811_usb.c"
|
* Derived in part from the SL811 HCD driver "u-boot/drivers/usb/sl811_usb.c"
|
||||||
* (original copyright message follows):
|
* (original copyright message follows):
|
||||||
*
|
*
|
||||||
* (C) Copyright 2004
|
* (C) Copyright 2004
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
* bodonoghue@CodeHermit.ie
|
* bodonoghue@CodeHermit.ie
|
||||||
*
|
*
|
||||||
* References
|
* References
|
||||||
* DasUBoot/drivers/usbdcore_omap1510.c, for design and implementation ideas.
|
* DasUBoot/drivers/usb/usbdcore_omap1510.c, for design and implementation
|
||||||
|
* ideas.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -187,9 +187,9 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the hardware cursor capability of the
|
|||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Cursor definition: */
|
/* Cursor definition: */
|
||||||
/* CONFIG_CONSOLE_CURSOR: Uses a timer function (see drivers/i8042.c) to */
|
/* CONFIG_CONSOLE_CURSOR: Uses a timer function (see drivers/input/i8042.c) */
|
||||||
/* let the cursor blink. Uses the macros CURSOR_OFF */
|
/* to let the cursor blink. Uses the macros */
|
||||||
/* and CURSOR_ON. */
|
/* CURSOR_OFF and CURSOR_ON. */
|
||||||
/* CONFIG_VIDEO_SW_CURSOR: Draws a cursor after the last character. No */
|
/* CONFIG_VIDEO_SW_CURSOR: Draws a cursor after the last character. No */
|
||||||
/* blinking is provided. Uses the macros CURSOR_SET */
|
/* blinking is provided. Uses the macros CURSOR_SET */
|
||||||
/* and CURSOR_OFF. */
|
/* and CURSOR_OFF. */
|
||||||
@ -217,7 +217,7 @@ void console_cursor (int state);
|
|||||||
#define CURSOR_OFF console_cursor(0);
|
#define CURSOR_OFF console_cursor(0);
|
||||||
#define CURSOR_SET
|
#define CURSOR_SET
|
||||||
#ifndef CONFIG_I8042_KBD
|
#ifndef CONFIG_I8042_KBD
|
||||||
#warning Cursor drawing on/off needs timer function s.a. drivers/i8042.c
|
#warning Cursor drawing on/off needs timer function s.a. drivers/input/i8042.c
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef CONFIG_CONSOLE_TIME
|
#ifdef CONFIG_CONSOLE_TIME
|
||||||
|
@ -165,7 +165,7 @@ static struct part_info *current_part;
|
|||||||
int read_jffs2_nand(size_t start, size_t len,
|
int read_jffs2_nand(size_t start, size_t len,
|
||||||
size_t * retlen, u_char * buf, int nanddev);
|
size_t * retlen, u_char * buf, int nanddev);
|
||||||
#else
|
#else
|
||||||
/* info for NAND chips, defined in drivers/nand/nand.c */
|
/* info for NAND chips, defined in drivers/mtd/nand/nand.c */
|
||||||
extern nand_info_t nand_info[];
|
extern nand_info_t nand_info[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -473,7 +473,7 @@
|
|||||||
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
||||||
/* This is the base address (on 405EP-side) used to generate I/O accesses on PCI bus */
|
/* This is the base address (on 405EP-side) used to generate I/O accesses on PCI bus */
|
||||||
#define CFG_ISA_IO 0xE8000000
|
#define CFG_ISA_IO 0xE8000000
|
||||||
/* see also drivers/videomodes.c */
|
/* see also drivers/video/videomodes.c */
|
||||||
#define CFG_DEFAULT_VIDEO_MODE 0x303
|
#define CFG_DEFAULT_VIDEO_MODE 0x303
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@
|
|||||||
|
|
||||||
#define CFG_LBC_MRTPR 0x20000000 /*TODO */ /* LB refresh timer prescal, 266MHz/32 */
|
#define CFG_LBC_MRTPR 0x20000000 /*TODO */ /* LB refresh timer prescal, 266MHz/32 */
|
||||||
|
|
||||||
/* drivers/nand/nand.c */
|
/* drivers/mtd/nand/nand.c */
|
||||||
#define CFG_NAND_BASE 0xE2800000 /* 0xF0000000 */
|
#define CFG_NAND_BASE 0xE2800000 /* 0xF0000000 */
|
||||||
#define CFG_MAX_NAND_DEVICE 1
|
#define CFG_MAX_NAND_DEVICE 1
|
||||||
#define NAND_MAX_CHIPS 1
|
#define NAND_MAX_CHIPS 1
|
||||||
|
@ -496,7 +496,7 @@
|
|||||||
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
||||||
/* This is the base address (on 405EP-side) used to generate I/O accesses on PCI bus */
|
/* This is the base address (on 405EP-side) used to generate I/O accesses on PCI bus */
|
||||||
#define CFG_ISA_IO 0xE8000000
|
#define CFG_ISA_IO 0xE8000000
|
||||||
/* see also drivers/videomodes.c */
|
/* see also drivers/video/videomodes.c */
|
||||||
#define CFG_DEFAULT_VIDEO_MODE 0x303
|
#define CFG_DEFAULT_VIDEO_MODE 0x303
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
* FLASH driver setup
|
* FLASH driver setup
|
||||||
*/
|
*/
|
||||||
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
||||||
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */
|
||||||
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
||||||
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ SIB at Block62 End Block62 address 0x24f80000
|
|||||||
/*
|
/*
|
||||||
* Move up the U-Boot & monitor area if more flash is fitted.
|
* Move up the U-Boot & monitor area if more flash is fitted.
|
||||||
* If this U-Boot is to be run on Integrators with varying flash sizes,
|
* If this U-Boot is to be run on Integrators with varying flash sizes,
|
||||||
* drivers/cfi_flash.c::flash_init() can read the Integrator CP_FLASHPROG
|
* drivers/mtd/cfi_flash.c::flash_init() can read the Integrator CP_FLASHPROG
|
||||||
* register and dynamically assign CFG_ENV_ADDR & CFG_MONITOR_BASE
|
* register and dynamically assign CFG_ENV_ADDR & CFG_MONITOR_BASE
|
||||||
* - CFG_MONITOR_BASE is set to indicate that the environment is not
|
* - CFG_MONITOR_BASE is set to indicate that the environment is not
|
||||||
* embedded in the boot monitor(s) area
|
* embedded in the boot monitor(s) area
|
||||||
|
@ -179,7 +179,7 @@
|
|||||||
* FLASH driver setup
|
* FLASH driver setup
|
||||||
*/
|
*/
|
||||||
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
||||||
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */
|
||||||
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
||||||
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@
|
|||||||
* CFI FLASH driver setup
|
* CFI FLASH driver setup
|
||||||
*/
|
*/
|
||||||
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
||||||
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */
|
||||||
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
||||||
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
#define CFG_FLASH_PROTECTION 1 /* Use hardware sector protection */
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@
|
|||||||
* FLASH driver setup
|
* FLASH driver setup
|
||||||
*/
|
*/
|
||||||
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
#define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
||||||
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/mtd/cfi_flash.c */
|
||||||
|
|
||||||
#define CFG_FLASH_BANKS_LIST { PHYS_FLASH_1, PHYS_FLASH_2 }
|
#define CFG_FLASH_BANKS_LIST { PHYS_FLASH_1, PHYS_FLASH_2 }
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ $(obj)nand_boot.c:
|
|||||||
@rm -f $(obj)nand_boot.c
|
@rm -f $(obj)nand_boot.c
|
||||||
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
||||||
|
|
||||||
# from drivers/nand directory
|
# from drivers/mtd/nand directory
|
||||||
$(obj)nand_ecc.c:
|
$(obj)nand_ecc.c:
|
||||||
@rm -f $(obj)nand_ecc.c
|
@rm -f $(obj)nand_ecc.c
|
||||||
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
||||||
|
@ -79,7 +79,7 @@ $(obj)nand_boot.c:
|
|||||||
@rm -f $(obj)nand_boot.c
|
@rm -f $(obj)nand_boot.c
|
||||||
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
||||||
|
|
||||||
# from drivers/nand directory
|
# from drivers/mtd/nand directory
|
||||||
$(obj)nand_ecc.c:
|
$(obj)nand_ecc.c:
|
||||||
@rm -f $(obj)nand_ecc.c
|
@rm -f $(obj)nand_ecc.c
|
||||||
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
||||||
|
@ -89,7 +89,7 @@ $(obj)nand_boot.c:
|
|||||||
@rm -f $(obj)nand_boot.c
|
@rm -f $(obj)nand_boot.c
|
||||||
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
|
||||||
|
|
||||||
# from drivers/nand directory
|
# from drivers/mtd/nand directory
|
||||||
$(obj)nand_ecc.c:
|
$(obj)nand_ecc.c:
|
||||||
@rm -f $(obj)nand_ecc.c
|
@rm -f $(obj)nand_ecc.c
|
||||||
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
ln -s $(SRCTREE)/drivers/mtd/nand/nand_ecc.c $(obj)nand_ecc.c
|
||||||
|
Loading…
Reference in New Issue
Block a user