qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 00/20] Add Faraday A36x SoC platform support


From: Kuo-Jung Su
Subject: [Qemu-devel] [PATCH v2 00/20] Add Faraday A36x SoC platform support
Date: Fri, 25 Jan 2013 16:19:36 +0800

From: Kuo-Jung Su <address@hidden>

These patches introduce Faraday A36x SoC platform support.

Faraday provides ARMv4/ARMv5TE compatible solutions, 
and focus on ASIC design service. 

Here are some public documents for you reference.

http://www.faraday-tech.com/html/documentation/index.html

The pre-built images are also available at my Google Drive:

https://docs.google.com/folder/d/0BwfiewvSmUgAX2pTTmtUMGFCZW8/edit

Here is the image file list:

1. android-4.0.4/zImage: A369 linux-3.0.31
2. android-4.0.4/romfs-4.0.4.tar.bz2: android-4.0.4
3. nand.img.bz2: A369 nand flash image
4. rom.img.bz2: A369 embedded ROM image
5. u-boot: A369 u-boot-2012.10 ELF file
6. zImage: A369 linux-3.4.12 + initramfs
7. README

Changes for v2:

   1. coding style fixes (verified with checkpatch.pl)
   2. add Faraday A360 support
   3. add Faraday USB 2.0 EHCI support
   4. merge a369_scu.c into a369.c
   5. introduce QOM coding style
   6. remove lowercase Macros: min(), max()
   7. name all struct as CamelCase style
   8. move function prototypes from .c to faraday.h
   9. use switch instead of if statement in a369_ahbc_write
  10. remove debug prints
  11. update all uarts in A36x to DEVICE_LITTLE_ENDIAN.
  12. move the variable definitions to the start of the function,
      instead of inside a do { } while(0)
  13. remove disabled and commented out code.
  14. use hw_error() and exit() upon pflash register failed.
  15. add const prior to TypeInfo (i.e. static *const* 
      TypeInfo ftrtc011_info)
  16. add le32_to_cpu/cpu_to_le32 to the descriptor processing in 
      FTGMAC100/FTMAC110.
  17. update the GPL license to GPL v2 (except for FTLCDC200, 
      it's based on pl110.c which is LGPL.)
  18. add const to src_* in the DMA controllers (FTAPBBRG020/FTDMAC020)

  Note:   
  1. Thanks to the comments from KONRAD, Andreas, Paul and Blue.
     But if there is still something missed, please kindly remind me to fix.
     Thanks!
  
  2. There are still two coding style errors reported by checkpatch.pl,
     but I think they might be false alarms, here is the error log:

  ERROR: need consistent spacing around '*' (ctx:WxV)
  #74: FILE: hw/a360.c:32:
  +    i2c_bus      *i2c[2];                ^

  ERROR: open brace '{' following function declarations go on the next line
  #4680: FILE: hw/ftlcdc200_template.h:59:
  +static drawfn glue(ftlcdc200_draw_fn_, BITS)[48] = {


Kuo-Jung Su (20):
  arm: add Faraday a36x SoC platform support
  arm: add Faraday FUSBH200 EHCI controller support
  arm: add Faraday FTAPBBRG020 APB DMA support
  arm: add Faraday FTDMAC020 AHB DMA support
  arm: add Faraday FTGMAC100 1Gbps ethernet support
  arm: add Faraday FTMAC110 10/100Mbps ethernet support
  arm: add Faraday FTI2C010 I2C controller support
  arm: add Faraday FTLCDC200 LCD controller support
  arm: add Faraday FTNANDC021 nand flash controller support
  arm: add Faraday FTSDC010 MMC/SD controller support
  arm: add Faraday FTTSC010 touchscreen controller support
  arm: add Faraday FTSSP010 multi-function controller support
  arm: add Faraday FTSPI020 spi flash controller support
  arm: add Faraday FTRTC011 RTC timer support
  arm: add Faraday FTWDT010 watchdog timer support
  arm: add Faraday FTTMR010 timer support
  arm: add Faraday FTPWMTMR010 timer support
  arm: add Faraday FTINTC020 interrupt controller support
  arm: add Faraday FTKBC010 support for A369
  arm: add generic ROM model for Faraday SoC platforms

 .gitignore               |    1 +
 hw/a360.c                |  271 +++++++++++++++++++
 hw/a369.c                |  581 ++++++++++++++++++++++++++++++++++++++++
 hw/arm/Makefile.objs     |    6 +
 hw/faraday.h             |   21 ++
 hw/ftapbbrg020.c         |  502 ++++++++++++++++++++++++++++++++++
 hw/ftapbbrg020.h         |   41 +++
 hw/ftdmac020.c           |  667 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/ftdmac020.h           |  105 ++++++++
 hw/ftgmac100.c           |  647 ++++++++++++++++++++++++++++++++++++++++++++
 hw/ftgmac100.h           |  177 ++++++++++++
 hw/fti2c010.c            |  205 ++++++++++++++
 hw/fti2c010.h            |   62 +++++
 hw/ftintc020.c           |  354 ++++++++++++++++++++++++
 hw/ftkbc010.c            |  226 ++++++++++++++++
 hw/ftlcdc200.c           |  505 +++++++++++++++++++++++++++++++++++
 hw/ftlcdc200.h           |  110 ++++++++
 hw/ftlcdc200_template.h  |  439 ++++++++++++++++++++++++++++++
 hw/ftmac110.c            |  591 ++++++++++++++++++++++++++++++++++++++++
 hw/ftmac110.h            |  131 +++++++++
 hw/ftnandc021.c          |  514 +++++++++++++++++++++++++++++++++++
 hw/ftnandc021.h          |   55 ++++
 hw/ftpwmtmr010.c         |  244 +++++++++++++++++
 hw/ftrtc011.c            |  315 ++++++++++++++++++++++
 hw/ftsdc010.c            |  363 +++++++++++++++++++++++++
 hw/ftsdc010.h            |   88 ++++++
 hw/ftspi020.c            |  345 ++++++++++++++++++++++++
 hw/ftspi020.h            |   50 ++++
 hw/ftssp010.c            |  552 ++++++++++++++++++++++++++++++++++++++
 hw/ftssp010.h            |   91 +++++++
 hw/fttmr010.c            |  468 ++++++++++++++++++++++++++++++++
 hw/fttsc010.c            |  260 ++++++++++++++++++
 hw/fttsc010.h            |   23 ++
 hw/ftwdt010.c            |  213 +++++++++++++++
 hw/rom.c                 |  119 +++++++++
 hw/usb/hcd-ehci-sysbus.c |   23 ++
 hw/usb/hcd-ehci.c        |   51 +++-
 hw/usb/hcd-ehci.h        |   14 +-
 38 files changed, 9416 insertions(+), 14 deletions(-)
 create mode 100644 hw/a360.c
 create mode 100644 hw/a369.c
 create mode 100644 hw/faraday.h
 create mode 100644 hw/ftapbbrg020.c
 create mode 100644 hw/ftapbbrg020.h
 create mode 100644 hw/ftdmac020.c
 create mode 100644 hw/ftdmac020.h
 create mode 100644 hw/ftgmac100.c
 create mode 100644 hw/ftgmac100.h
 create mode 100644 hw/fti2c010.c
 create mode 100644 hw/fti2c010.h
 create mode 100644 hw/ftintc020.c
 create mode 100644 hw/ftkbc010.c
 create mode 100644 hw/ftlcdc200.c
 create mode 100644 hw/ftlcdc200.h
 create mode 100644 hw/ftlcdc200_template.h
 create mode 100644 hw/ftmac110.c
 create mode 100644 hw/ftmac110.h
 create mode 100644 hw/ftnandc021.c
 create mode 100644 hw/ftnandc021.h
 create mode 100644 hw/ftpwmtmr010.c
 create mode 100644 hw/ftrtc011.c
 create mode 100644 hw/ftsdc010.c
 create mode 100644 hw/ftsdc010.h
 create mode 100644 hw/ftspi020.c
 create mode 100644 hw/ftspi020.h
 create mode 100644 hw/ftssp010.c
 create mode 100644 hw/ftssp010.h
 create mode 100644 hw/fttmr010.c
 create mode 100644 hw/fttsc010.c
 create mode 100644 hw/fttsc010.h
 create mode 100644 hw/ftwdt010.c
 create mode 100644 hw/rom.c

-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]