summaryrefslogtreecommitdiffstats
path: root/hw/arm
Commit message (Collapse)AuthorAgeFilesLines
* aio / timers: Switch entire codebase to the new timer APIAlex Bligh2013-08-225-57/+57
| | | | | | | | | | | This is an autogenerated patch using scripts/switch-timer-api. Switch the entire code base to using the new timer API. Note this patch may introduce some line length issues. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* aio / timers: Convert rtc_clock to be a QEMUClockTypeAlex Bligh2013-08-223-23/+26
| | | | | | | | | Convert rtc_clock to be a QEMUClockType Move rtc_clock users to use the new API Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu()Peter Maydell2013-08-202-26/+1
| | | | | | | | Now all the boards have been converted arm_pic_init_cpu() is unused and can just be deleted. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-15-git-send-email-peter.maydell@linaro.org
* hw/arm/xilinx_zynq: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-5/+2
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-14-git-send-email-peter.maydell@linaro.org
* hw/arm/vexpress: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-6/+2
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-13-git-send-email-peter.maydell@linaro.org
* hw/arm/versatilepb: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-4/+3
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-12-git-send-email-peter.maydell@linaro.org
* hw/arm/strongarm: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-3/+3
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-11-git-send-email-peter.maydell@linaro.org
* hw/arm/realview: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-3/+1
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-10-git-send-email-peter.maydell@linaro.org
* hw/arm/omap*: Don't use arm_pic_init_cpu()Peter Maydell2013-08-202-8/+8
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-9-git-send-email-peter.maydell@linaro.org
* hw/arm/musicpal: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-3/+1
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-8-git-send-email-peter.maydell@linaro.org
* hw/arm/kzm: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-5/+3
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-7-git-send-email-peter.maydell@linaro.org
* hw/arm/integratorcp: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-4/+3
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-6-git-send-email-peter.maydell@linaro.org
* hw/arm/highbank: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-3/+1
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-5-git-send-email-peter.maydell@linaro.org
* hw/arm/exynos4210: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-13/+3
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-4-git-send-email-peter.maydell@linaro.org
* hw/arm/armv7m: Don't use arm_pic_init_cpu()Peter Maydell2013-08-201-3/+2
| | | | | | | | Drop the now-deprecated arm_pic_init_cpu() in favour of directly getting the IRQ line from the ARMCPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-3-git-send-email-peter.maydell@linaro.org
* target-arm: Make IRQ and FIQ gpio lines on the CPU objectPeter Maydell2013-08-201-53/+10
| | | | | | | | | | | | | | Now that ARMCPU is a subclass of DeviceState, we can make the CPU's inbound IRQ and FIQ lines be simply gpio lines, which means we can remove the odd arm_pic shim. We retain the arm_pic_init_cpu() function as a backwards compatibility shim layer so we can convert the board models to get the IRQ and FIQ lines directly from the ARMCPU object one at a time. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1375977856-25046-2-git-send-email-peter.maydell@linaro.org
* pxa2xx: Avoid object_get_link_property() assertion for "parent_bus"Andreas Färber2013-08-051-1/+3
| | | | | | | | | | | | | | pxa2xx_i2c_init() creates a pxa2xx-i2c-slave device on a second i2c-bus, which has a NULL parent device. This causes an assertion in object_get_canonical_path() when accessing pxa2xx-i2c-slave's "parent_bus" link<bus> property in tosa and likely other PXA2xx machines. Fix this by using the pxa2xx_i2c device, created just before, as parent. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1375621501-5564-1-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* versatilepb: QOM cast cleanup for vpb_sic_stateAndreas Färber2013-07-291-16/+21
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMSSPStateAndreas Färber2013-07-291-10/+18
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMUARTStateAndreas Färber2013-07-291-6/+11
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMPPCInfoAndreas Färber2013-07-291-10/+14
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMGPIOInfoAndreas Färber2013-07-291-11/+14
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMRTCStateAndreas Färber2013-07-291-5/+10
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* strongarm: QOM cast cleanup for StrongARMPICStateAndreas Färber2013-07-291-9/+16
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* stellaris: QOM cast cleanup for stellaris_adc_stateAndreas Färber2013-07-291-11/+16
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* stellaris: QOM cast cleanup for stellaris_i2c_stateAndreas Färber2013-07-291-9/+15
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* stellaris: QOM cast cleanup for gptm_stateAndreas Färber2013-07-291-9/+15
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* spitz: QOM cast cleanup for SpitzKeyboardStateAndreas Färber2013-07-291-10/+14
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* spitz: QOM cast cleanup for SLNANDStateAndreas Färber2013-07-291-7/+10
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pxa2xx_pic: QOM cast cleanup for PXA2xxPICStateAndreas Färber2013-07-291-6/+12
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfoAndreas Färber2013-07-291-14/+21
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pxa2xx: QOM cast cleanup for PXA2xxI2CStateAndreas Färber2013-07-291-13/+21
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pxa2xx: QOM cast cleanup for PXA2xxRTCStateAndreas Färber2013-07-291-5/+12
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pxa2xx: QOM cast cleanup for PXA2xxSSPStateAndreas Färber2013-07-291-10/+18
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for musicpal_key_stateAndreas Färber2013-07-291-7/+15
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for musicpal_gpio_stateAndreas Färber2013-07-291-11/+19
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for mv88w8618_flashcfgAndreas Färber2013-07-291-4/+11
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for mv88w8618_pit_stateAndreas Färber2013-07-291-6/+12
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup mv88w8618_pic_stateAndreas Färber2013-07-291-9/+14
| | | | | | Introduce a type constant, use QOM casts and rename the parent field. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for musicpal_lcd_stateAndreas Färber2013-07-291-8/+16
| | | | | | | Introduce a type constant, use QOM casts, rename the parent field and prepare for QOM realize. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: QOM cast cleanup for mv88w8618_eth_stateAndreas Färber2013-07-291-8/+16
| | | | | | Introduce type constant and use QOM casts. Signed-off-by: Andreas Färber <afaerber@suse.de>
* musicpal: Fix typo in name of local functionStefan Weil2013-07-291-2/+2
| | | | | | | | The misspelling was spotted by Andreas Färber. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Andreas Färber <afaerber@suse.de>
* integratorcp: QOM cast cleanup for icp_pic_stateAndreas Färber2013-07-291-18/+25
| | | | | | | Introduce type constant and use QOM cast. Fix indentation. Signed-off-by: Andreas Färber <afaerber@suse.de>
* integratorcp: QOM cast cleanup for integratorcm_stateAndreas Färber2013-07-291-13/+20
| | | | | | Rename to IntegratorCMState, introduce type constant and use QOM cast. Signed-off-by: Andreas Färber <afaerber@suse.de>
* highbank: QOM cast cleanup for HighbankRegsStateAndreas Färber2013-07-291-5/+11
| | | | | | Add type constant and use QOM casts. Signed-off-by: Andreas Färber <afaerber@suse.de>
* armv7m: QOM cast cleanup for BitBandStateAndreas Färber2013-07-291-5/+11
| | | | | | Introduce TYPE_* constant and use QOM cast. Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw/arm: Use 'load_ramdisk()' for loading ramdisks w/ U-Boot headerSoren Brinkmann2013-07-221-4/+10
| | | | | | | | | | The load_ramdisk function is used to load ramdisk featuring a U-Boot header. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1373323202-17083-3-git-send-email-soren.brinkmann@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* vexpress: Add virtio-mmio transportsPeter Maydell2013-07-191-0/+99
| | | | | | | | | | Add some virtio-mmio transports to the vexpress board model, together with a modify_dtb hook which adds them to the device tree so that the kernel will probe for them. We put them in a reserved area of the address map. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1373977512-28932-9-git-send-email-peter.maydell@linaro.org
* vexpress: Make VEDBoardInfo extend arm_boot_infoPeter Maydell2013-07-191-16/+15
| | | | | | | | | Make the VEDBoardInfo struct extend arm_boot_info; this will allow us to get at the VEDBoardInfo information inside callbacks from arm/boot code. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1373977512-28932-8-git-send-email-peter.maydell@linaro.org
* arm/boot: Allow boards to modify the FDT blobPeter Maydell2013-07-191-0/+5
| | | | | | | | | | Add a callback hook in arm_boot_info to allow board models to modify the device tree blob if they need to. (The major expected use case is to add virtio-mmio nodes for virtio-mmio transports that exist in QEMU but not in the hardware.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1373977512-28932-7-git-send-email-peter.maydell@linaro.org
OpenPOWER on IntegriCloud