1. 19 10月, 2009 2 次提交
  2. 14 10月, 2009 9 次提交
    • K
      Clean-up of s3c24x0 nand driver · 3d1988ab
      kevin.morfitt@fearnside-systems.co.uk 提交于
      This patch re-formats the arm920t s3c24x0 nand driver in preparation for changes
      to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
      non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
       - patches 1/4, 2/4 and 3/4 of this series
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
      smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
      board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
      errors were found.
      Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      3d1988ab
    • K
      Clean-up of s3c24x0 drivers excluding nand driver · eb0ae7f5
      kevin.morfitt@fearnside-systems.co.uk 提交于
      This patch re-formats the arm920t s3c24x0 driver files, excluding the nand
      driver, in preparation for changes to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
        non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
      - patches 1/4 and 2/4 of this series
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
      smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
      board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
      errors were found.
      Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      eb0ae7f5
    • K
      Clean-up of s3c24x0 header files · 8250d0ba
      kevin.morfitt@fearnside-systems.co.uk 提交于
      This patch re-formats the arm920t s3c24x0 header files in preparation for
      changes to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
      non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
      - patch 1/4 of this series
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
      smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
      board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
      errors were found.
      Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      8250d0ba
    • K
      Clean-up of cpu_arm920t and cpu_arm920t_s3c24x0 code · d67cce2d
      kevin.morfitt@fearnside-systems.co.uk 提交于
      This patch re-formats the code in cpu/arm920t and cpu/arm920t/23c24x0 in
      preparation for changes to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
        non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no
      new warnings or errors were found.
      Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      d67cce2d
    • K
      CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards · cd85662b
      kevin.morfitt@fearnside-systems.co.uk 提交于
      This sets CONFIG_SYS_HZ to 1000 for all boards that use the s3c2400 and
      s3c2410 cpu's which fixes various problems such as the timeouts in tftp being
      too short.
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't
      have any s3c2400 or s3c2410 boards but need this patch applying before I can
      submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets
      and no new warnings or errors were found.
      
      It was originally submitted on 21/06/2009 but didn't get into the 2009.08
      release, and Jean-Pierre made one comment on the original patch (see
      http://lists.denx.de/pipermail/u-boot/2009-July/055470.html). I've made two
      changes to the original patch:
      - it's been re-based to the current release
      - I've re-named get_timer_raw() to get_ticks() in response to Jean-Pierre's comment
      
      This affects the sbc2410, smdk2400, smdk2410 and trab boards. I've copied it
      directly to the maintainers of all except the sbc2410 which doesn't have an
      entry in MAINTAINERS.
      Signed-off-by: NKevin Morfitt <kmorfitt@aselaptop-1.localdomain>
      Tested-by: NWolfgang Denk <wd@denx.de>
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      cd85662b
    • M
      s5pc1xx: add support SMDKC100 board · 8bc4ee9e
      Minkyu Kang 提交于
      Adds new board SMDKC100 that uses s5pc100 SoC
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      Signed-off-by: NHeungJun, Kim <riverful.kim@samsung.com>
      8bc4ee9e
    • M
      s5pc1xx: support serial driver · dd2c9e6a
      Minkyu Kang 提交于
      This patch includes the serial driver for s5pc1xx.
      s5pc1xx uart driver needs own register setting and clock configuration.
      So, need to special driver.
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      dd2c9e6a
    • M
      s5pc1xx: support onenand driver · 4678d674
      Minkyu Kang 提交于
      This patch includes the onenand driver for s5pc100
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      4678d674
    • M
      s5pc1xx: support Samsung s5pc1xx SoC · 399e5ae0
      Minkyu Kang 提交于
      This patch adds support for the Samsung s5pc100 and s5pc110
      SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor.
      Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
      Signed-off-by: NHeungJun, Kim <riverful.kim@samsung.com>
      399e5ae0
  3. 13 10月, 2009 24 次提交
  4. 11 10月, 2009 3 次提交
    • L
    • L
    • L
      Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an... · 4ba31ab3
      Luigi 'Comio' Mantellini 提交于
      Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses.
      
      This feature is useful when your board uses different mii buses for different
      phys and all (or a part) of these buses are implemented via bit-banging mode.
      
      The driver requires that the following macros should be defined into the board
      configuration file:
      
      CONFIG_BITBANGMII       - Enable the miiphybb driver
      CONFIG_BITBANGMII_MULTI - Enable the multi bus support
      
      If the CONFIG_BITBANGMII_MULTI is not defined, the board's config file needs
      to define at least the following macros:
      
      MII_INIT      - Generic code to enable the MII bus (optional)
      MDIO_DECLARE  - Declaration needed to access to the MDIO pin (optional)
      MDIO_ACTIVE   - Activate the MDIO pin as out pin
      MDIO_TRISTATE - Activate the MDIO pin as input/tristate pin
      MDIO_READ     - Read the MDIO pin
      MDIO(v)       - Write v on the MDIO pin
      MDC_DECLARE   - Declaration needed to access to the MDC pin (optional)
      MDC(v)        - Write v on the MDC pin
      
      The previous macros make the driver compatible with the previous version
      (that didn't support the multi-bus).
      
      When the CONFIG_BITBANGMII_MULTI is also defined, the board code needs to fill
      the bb_miiphy_buses[] array with a record for each required bus and declare
      the bb_miiphy_buses_num variable with the number of mii buses.
      The record (struct bb_miiphy_bus) has the following fields/callbacks (see
      miiphy.h for details):
      
      char name[]            - The symbolic name that must be equal to the MII bus
                               registered name
      int (*init)()          - Initialization function called at startup time (just
                               before the Ethernet initialization)
      int (*mdio_active)()   - Activate the MDIO pin as output
      int (*mdio_tristate)() - Activate the MDIO pin as input/tristate pin
      int (*set_mdio)()      - Write the MDIO pin
      int (*get_mdio)()      - Read the MDIO pin
      int (*set_mdc)()       - Write the MDC pin
      int (*delay)()         - Delay function
      void *priv             - Private data used by board specific code
      
      The board code will look like:
      
      struct bb_miiphy_bus bb_miiphy_buses[] = {
       { .name = miibus#1, .init = b1_init, .mdio_active = b1_mdio_active, ... },
       { .name = miibus#2, .init = b2_init, .mdio_active = b2_mdio_active, ... },
       ...
      int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) /
                                sizeof(bb_miiphy_buses[0]);
      Signed-off-by: NLuigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      4ba31ab3
  5. 09 10月, 2009 1 次提交
  6. 08 10月, 2009 1 次提交