linux-gbmc: aspeedg7: i2c-usb: revert the code for using static memory

Per
https://github.com/torvalds/linux/blob/c4dce0c094a89b1bc8fde1163342bd6fe29c0370/drivers/usb/core/message.c#L192-L195
the data pointer must be to dynamically allocated memory.

Tested:
```
root@fdtp120-nfd01:~# dmesg | grep 140
[    0.831645] spi-aspeed-smc 14000000.spi: user mode and normal read are used
[    0.896218] spi-aspeed-smc 14000000.spi: CE0 read buswidth: 4 [0x406c0641]
[    0.903910] spi-aspeed-smc 14000000.spi: CE0 write buswidth: 1 [0x00120602]
[    0.973036] spi_aspeed_txrx 14010000.spi: cs: 0, ctrl_val: 0x00000407
[    0.987426] ftgmac100 14050000.ftgmac: Read MAC address 04:00:6e:ea:86:ce from chip
[    0.996013] ftgmac100 14050000.ftgmac: Using NCSI interface
[    1.025237] ftgmac100 14050000.ftgmac eth0: irq 47, mapped at 00000000792e8784
[    1.033837] ftgmac100 14060000.ftgmac: Read MAC address 04:00:6e:ea:86:cf from chip
[    1.049360] Broadcom BCM54210E 14040008.mdio-1:00: attached PHY driver (mii_bus:phy_addr=14040008.mdio-1:00, irq=POLL)
[    1.081663] ftgmac100 14060000.ftgmac eth1: irq 48, mapped at 000000009ad9f34e
[    1.101406] usbserial: USB Serial support registered for pl2303
[    1.643596] i2c i2c-140: I2C-over-USB adapter i2c-usb-1-1:1.1-0
[   23.614022] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   25.939521] ftgmac100 14060000.ftgmac front: renamed from eth1
[   25.975223] ftgmac100 14050000.ftgmac nic0: renamed from eth0
[   34.289945] ftgmac100 14050000.ftgmac nic0: Link is Up - 100Mbps/Full - flow control off
[   34.753392] ftgmac100 14050000.ftgmac nic0: entered promiscuous mode
[   38.426870] ftgmac100 14060000.ftgmac front: Link is Up - 1Gbps/Full - flow control rx/tx
[   50.673655] ftgmac100 14050000.ftgmac nic0: NCSI: No channel found to configure!
[   51.697577] ftgmac100 14050000.ftgmac nic0: Wrong NCSI state 0x100 in workqueue
// no error shows up
```

Google-Bug-Id: 427798958
Change-Id: I92ecd14b5433420ab21d4e4be3e192477de810fc
Signed-off-by: Tom Tung <tomtung@google.com>
1 file changed
tree: 294005af837f016fe5b8cfb807fd922944df74f5
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.