{"push_id":2826609283,"size":34,"distinct_size":34,"ref":"refs/heads/master","head":"cb6c5650c87417bf28d79c602e321d480d1b7a8e","before":"c3a89458a0eba02ce7fcac24a015a9a61dd33531","commits":[{"sha":"aa51579f9aecdc509c91d6a9fc9498c2495cf218","author":{"name":"Sam Protsenko","email":"e3e0098ede0001339d6139e93917c216f5e40eec@linaro.org"},"message":"cmd: fastboot: Validate user input\n\nIn case when user provides '-' as USB controller index, like this:\n\n    => fastboot -\n\ndata abort occurs in strcmp() function in do_fastboot(), here:\n\n    if (!strcmp(argv[1], \"udp\"))\n\n(tested on BeagleBone Black).\n\nThat's because argv[1] is NULL when user types in the '-', and null\npointer dereference occurs in strcmp() (which is ok according to C\nstandard specification). So we must validate user input to prevent such\nbehavior.\n\nWhile at it, check also the result of strtoul() function and handle\nerror cases properly.\n\nSigned-off-by: Sam Protsenko <semen.protsenko@linaro.org>\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Lukasz Majewski <lukma@denx.de>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/aa51579f9aecdc509c91d6a9fc9498c2495cf218"},{"sha":"10d5ed9a54c5498992ebda56383c23a42bc70438","author":{"name":"Adam Ford","email":"b78e2d58470ceb4ca2120c00df307b89e7576873@gmail.com"},"message":"usb: musb-new: omap2430: Remove dead code\n\nA bunch of code was encapsulated in #ifdef's whether or not\nit is building or for U-Boot.  Since this code is always building\nfor U-Boot, this patch removes the dead code.\n\nSigned-off-by: Adam Ford <aford173@gmail.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/10d5ed9a54c5498992ebda56383c23a42bc70438"},{"sha":"1a35526e1d54a346e12435bee757bfe47093157d","author":{"name":"Adam Ford","email":"b78e2d58470ceb4ca2120c00df307b89e7576873@gmail.com"},"message":"usb: musb-new: omap2430: Enable DM_USB and OF support\n\nWith upcoming changes that require CONFIG_BLK, this broke\nUSB Mass Storage on the OMAP3 boards because if CONFIG_BLK is\nenabled, it assumes that DM_USB is enabled, but it wasn't yet\navailable on omap3 and omap4 boards.\n\nThis patch converts the OMAP2430 MUSB glue to support DM_USB and\nextracts the necessary information based on the device tree.\n\nIt's based on the ti-musb driver, but there are enough significant\ndifferences in both the architecture and device tree entires between\nam33xx and OMAP3/OMAP4, that I think it makes sense to continue to\nkeep the separate.\n\nPer doc/driver-model/usb-info.txt, the USB gadget stuff hasn't\nmigrated to DM_USB yet, so this only supports USB Host for now.\n\nUsers wanting USB Gadgets will need to disable DM_USB and leave\nit the old way for now.\n\nSigned-off-by: Adam Ford <aford173@gmail.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/1a35526e1d54a346e12435bee757bfe47093157d"},{"sha":"c73251eac199a54643ead1febde2db0b02970cc6","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller\n\nAdd an entry in usb_gadget_controller_number() for the DWC3 gadget\ncontroller. Without it, it is not possible to bind the USB Ethernet driver.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/c73251eac199a54643ead1febde2db0b02970cc6"},{"sha":"c3211708cf721163733f03330bdb579d8c0f689b","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"net: eth-uclass: Fix for DM USB ethernet support\n\nWhen a USB ethernet device is halted, the device driver is removed. When\nthis happens the uclass private memory is freed and uclass_priv is set to\nNULL. This causes a data abort when uclass_priv->state is then set to\nETH_STATE_PASSIVE.\n\nFix it by checking if uclass_priv is NULL before setting uclass_priv->state\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>\nAcked-by: Joe Hershberger <joe.hershberger@ni.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/c3211708cf721163733f03330bdb579d8c0f689b"},{"sha":"e7c865620e569df493e67d3772673108fce62064","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"uclass: Add dev_get_uclass_index() to get the uclass/index of a device\n\nThis function is the reciprocal of uclass_find_device().\nIt will be used to print the index information in dm tree dump.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/e7c865620e569df493e67d3772673108fce62064"},{"sha":"999b204383ffb4eee1467604a935ed3a670c460e","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"dm: print the index of the device when dumping the dm tree\n\nCommand \"dm tree\" dumps the devices with class, driver, name information.\nAdd the index of the device in the class too, because the information is\nuseful for the bind/unbind commands.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>\nReviewed-by: Simon Glass <sjg@chromium.org>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/999b204383ffb4eee1467604a935ed3a670c460e"},{"sha":"7ec9181d6a2b68480a289c36e5729487f2a4add1","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()\n\nAlso add device_find_global_by_ofnode() that also find a device based on\nthe OF node, but doesn't probe the device.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/7ec9181d6a2b68480a289c36e5729487f2a4add1"},{"sha":"3be9bcb04883497b422f3f2e4a468657056dd48d","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"device: expose the functions used to remove and unbind children of a device\n\nAlso add a 'drv' parameter to filter the children to remove/unbind.\nExporting those functions is a preparatory work for the addition of the\nbind/unbind commands.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/3be9bcb04883497b422f3f2e4a468657056dd48d"},{"sha":"49c752c93a785b9bad9d3fbbd52a76bec003eac5","author":{"name":"Jean-Jacques Hiblot","email":"945fd5a31a3ce50e10e2f4aa1a281647e423db0c@ti.com"},"message":"cmd: Add bind/unbind commands to bind a device to a driver from the command line\n\nIn some cases it can be useful to be able to bind a device to a driver from\nthe command line.\nThe obvious example is for versatile devices such as USB gadget.\nAnother use case is when the devices are not yet ready at startup and\nrequire some setup before the drivers are bound (ex: FPGA which bitsream is\nfetched from a mass storage or ethernet)\n\nusage example:\n\nbind usb_dev_generic 0 usb_ether\nunbind usb_dev_generic 0 usb_ether\nor\nunbind eth 1\n\nbind /ocp/omap_dwc3@48380000/usb@48390000 usb_ether\nunbind /ocp/omap_dwc3@48380000/usb@48390000\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/49c752c93a785b9bad9d3fbbd52a76bec003eac5"},{"sha":"8b8d59f323d7fbd589ecb32b408841b675ca53f7","author":{"name":"Jagan Teki","email":"66ee1c6d5923fee80757c8e2bd79556528e9aa19@amarulasolutions.com"},"message":"usb: musb-new: Fix improper musb host pointer\n\nWhen MUSB is operating in peripheral mode, probe registering\nmusb core using musb_register which intern return int value\nfor validation. so there is no scope to preserve struct musb\npointer but the same can be used in .remove musb_stop.\nSo fix this by return musb_register with struct musb pointer.\n\nCc: Igor Grinberg <grinberg@compulab.co.il>\nCc: Purna Chandra Mandal <purna.mandal@microchip.com>\nTested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino\nTested-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/8b8d59f323d7fbd589ecb32b408841b675ca53f7"},{"sha":"622fd2b98c6dd37fdbb86a417989049a3f222f05","author":{"name":"Jagan Teki","email":"66ee1c6d5923fee80757c8e2bd79556528e9aa19@amarulasolutions.com"},"message":"usb: musb-new: sunxi: Allocate struct phy in private\n\nAllocate struct phy in private structure instead of allocating\nlocally and assign it to a pointer. This eventually fix miss\nalignment phy which is used in another functions.\n\nTested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino\nTested-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/622fd2b98c6dd37fdbb86a417989049a3f222f05"},{"sha":"1034bcc26db6153aa86addfd69d68b275eb2223f","author":{"name":"Jagan Teki","email":"66ee1c6d5923fee80757c8e2bd79556528e9aa19@amarulasolutions.com"},"message":"musb-new: sunxi: Access ahb_reset0_cfg via ccm offset\n\nreset0 is not available for sun4i, 5i and 7i so access\nthe reset0 offset from ccm via driver data for relevant\nAllwinner SoC. this will eventually drop the existing\nifdef for SUN6I.\n\nTested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino\nTested-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/1034bcc26db6153aa86addfd69d68b275eb2223f"},{"sha":"14b6a07cf73c4f191bafefcece6132eab6cf740e","author":{"name":"Jagan Teki","email":"66ee1c6d5923fee80757c8e2bd79556528e9aa19@amarulasolutions.com"},"message":"usb: musb-new: sunxi: Add proper musb exit support\n\nmusb have platform ops to do proper graceful exit,\nso add the exit call and move musb platform exit code\ninstead of keeping it in driver remove.\nThis make proper shutdown of musb where .remove will\ncall disable, exit serially via musb_stop.\n\nTested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino\nTested-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/14b6a07cf73c4f191bafefcece6132eab6cf740e"},{"sha":"12069bd0466a87015dd40bb25c6b2571ee5f0851","author":{"name":"Jagan Teki","email":"66ee1c6d5923fee80757c8e2bd79556528e9aa19@amarulasolutions.com"},"message":"usb: musb-new: Call musb_platform_exit from musb_stop\n\nmusb stop is musb core call during unregister or shutting down\ngadget or host musb. For graceful exit add musb_platform_exit\non musb_stop so-that it can exit the musb platform driver as well.\n\nTested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino\nTested-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/12069bd0466a87015dd40bb25c6b2571ee5f0851"},{"sha":"db3b5e9898f5420a7dbf7c38d80ea3f0d972de36","author":{"name":"Ley Foon Tan","email":"0560d82b7374eb0077d8d3c95e86138ee54fadf1@intel.com"},"message":"arm: socfpga: stratix10: Enable EMAC to FPGA bridge based on handoff\n\nCode checking and setting EMAC use fpga is in\npopulate_sysmgr_fpgaintf_module(). So, call to sysmgr_pinmux_init()\ninstead of populate_sysmgr_pinmux().\nIn sysmgr_pinmux_init(), it will call to both populate_sysmgr_pinmux()\nand populate_sysmgr_fpgaintf_module().\n\nSigned-off-by: Ley Foon Tan <ley.foon.tan@intel.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/db3b5e9898f5420a7dbf7c38d80ea3f0d972de36"},{"sha":"8497cb9b25302e75a4422502c9d13d310ffbcfd2","author":{"name":"Ley Foon Tan","email":"0560d82b7374eb0077d8d3c95e86138ee54fadf1@intel.com"},"message":"arm: socfpga: stratix10: Fix mailbox urgent command with urgent register\n\nAccording to mailbox spec, software should send urgent command with\nurgent register instead of COUT location. This patch write urgent\ncommand index to urgent register.\n\nSigned-off-by: Ley Foon Tan <ley.foon.tan@intel.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/8497cb9b25302e75a4422502c9d13d310ffbcfd2"},{"sha":"0b8f6378cbf20e56f49a52a584c1374f11020cbf","author":{"name":"Marek Vasut","email":"f40600653b33f5282fa4c5daf377dfc444fb4625@denx.de"},"message":"ARM: socfpga: Reorder Arria10 SPL\n\nThe Arria10 SPL is a complete mess of calls to functions which are\ncalled in the wrong context and it is surprise it works at all. This\npatch tries to clean that mess up by shuffling the function calls\naround and moving the calls into the correct context. Due to the\ndelicate nature of the reordering, this is done in one huge patch.\n\nThe following changes happen in this patch:\n- Security policy init and NIC301 happens first in board_init_f()\n- The clock init happens very early in board_init_f() in SPL only\n- arch_early_init_r() only registers the FPGA, just like on Gen5\n- arch_early_init_r() is never called from any _f() function\n- Dedicated FPGA pins are inited in board_init_f() as on Gen5\n\nSigned-off-by: Marek Vasut <marex@denx.de>\nCc: Chin Liang See <chin.liang.see@intel.com>\nCc: Dinh Nguyen <dinguyen@kernel.org>\nCc: Ley Foon Tan <ley.foon.tan@intel.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/0b8f6378cbf20e56f49a52a584c1374f11020cbf"},{"sha":"66011a0883ffc03135cd2d3649478c812e4f1b28","author":{"name":"Marek Vasut","email":"f40600653b33f5282fa4c5daf377dfc444fb4625@denx.de"},"message":"timer: dw-apb: Add Designware APB timer driver\n\nAdd timer driver for the Designware APB Timer IP. This is present\nfor example on the Altera SoCFPGA chips.\n\nSigned-off-by: Marek Vasut <marex@denx.de>\nCc: Chin Liang See <chin.liang.see@intel.com>\nCc: Dinh Nguyen <dinguyen@kernel.org>\nCc: Ley Foon Tan <ley.foon.tan@intel.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/66011a0883ffc03135cd2d3649478c812e4f1b28"},{"sha":"cca9af63a32220e0a270ac62fa9c46a0ed4ca0ce","author":{"name":"Marek Vasut","email":"f40600653b33f5282fa4c5daf377dfc444fb4625@denx.de"},"message":"ARM: dts: socfpga: Flag timer clock as pre-reloc\n\nFlag timer clock as DM pre-reloc, so that a timer driver can be used and\nit can extract information about it's clock rate using the clock framework.\nThis patch also moves some of the pre-reloc flags into the core dtsi file,\nthis is because the timer is not board specific, but rather is used on all\nboards.\n\nSigned-off-by: Marek Vasut <marex@denx.de>\nCc: Chin Liang See <chin.liang.see@intel.com>\nCc: Dinh Nguyen <dinguyen@kernel.org>\nCc: Ley Foon Tan <ley.foon.tan@intel.com>","distinct":true,"url":"https://api.github.com/repos/giuliobenetti/u-boot/commits/cca9af63a32220e0a270ac62fa9c46a0ed4ca0ce"}]}
{"actor":{"display_login":"giuliobenetti"}}