Added support for SPEAr SoCs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 9 patches 0 repliesNew
- v2 posting 1/20 of 9 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [U-Boot] [PATCH v2 0/9] Added support for SPEAr SoCs
Quoted 50 lines · Vipin KUMAR
Hello Peter,
Quoted 38 lines
Quoted 1 line
This patch set is a reworked patch which incorporates all review
feedbacks from
Quoted 9 lines
earlier earlier mails
This patch set contains the support for 4 SoCs
SPEAr600
SPEAr300
SPEAr310
SPEAr320SPEAr is an ARM based SoC which supports rich set of peripherals like
Ethernet,
Quoted 1 line
USB Host, USB Device etc to support various general
applications
Quoted 2 lines
For further info on SPEAr SoC, please see README.spear also contained
in the
Quoted 12 lines
patch set.
Vipin (9):
Added README.spear
SPEAr600 SoC support added
SPEAr300 SoC support added
SPEAr310 SoC support added
SPEAr320 SoC support added
i2c driver support for SPEAr SoCs
smi driver support for SPEAr SoCs
nand(fsmc) driver support for SPEAr SoCs
usbd driver support for SPEAr SoCsIt would be nice if you reordered the patches. At a glance, some of the
boards added first rely on drivers added later. Eg patch 1 uses the I2C
driver in patch 6. This will cause 'git bisects' to break. To prevent this you should add SOC + driver code first, then boards last. Something like:Quoted 9 lines
1. Initial SPEAr SOC support
2. SPEAr: Add I2C support
3. SPEAr: Add SMI support
....
6. Add SPEAr 600 board support
7. Add SPEAr 300 board support
8. Add SPEAr 310 board support
9. Add SPEAr 320 board support
Quoted 5 lines
I am planning to keep the patch order as it is but I would remove dependencies eg. SPEAr600 would not contain code that depends on a driver added later and so on.
This should also be OK. Right?
It should remove the 'git bisect' issue, which is the important thing to me. The way you did it in v3 should work, its just a bit uglier than doing it the "right" way that I outlined above. Eg you modify spear.h and config.mk each time you add a new driver, basically tweaking the board support as the patch sequence progresses instead of just adding proper board support in 1 patch at the end.
Also, its a bit ugly to add both spear arch support as well as board support in patch 2/11. Ideally you'd have 1 patch adding spear architectural support, then additional patches for drivers, then patches for boards.
In any case, my comments are mostly aesthetic and I don't really care how you split up the patches as long as you don't break bisection:) Wolfgang or Tom can force you to reorganize the patches if they care about it enough.
Best,
Peter