This series aims to upstream fixes that have been in the Calxeda firmware version of U-Boot for ages. The first two patches fix reset, both for Highbank and Midway. Patches 3-5 add support for larger hard disks, so U-Boot can now access sectors from beyond 2 TB on larger disks. Patch 6 and 7 teach U-Boot not to touch the FDT memory node. The primary Calxeda firmware detects the amount of memory (it has a DIMM socket!) at boot time and populates the memory node accordingly. U-Boot would overwrite the node with a fixed value, most commonly getting lost of any memory beyond 4 GB on Midway systems. I have been told that this fix has been disliked before, so I am open to a discussion on how to address this problem. The final patch fixes Highbank's SATA setup, which requires some special care (cf. the sata_highbank.c driver in Linux).
There are actually more patches [1] in the last official firmware, but most of the others only make sense with some special management firmware versions that never made it to the light. I extracted the most useful and important patches from there and rebased them on top of the current master. With them I can happily use upstream U-Boot on a Midway system - I haven't had time to test it on Highbank, though. Please review, comment and hopefully apply them! Cheers, Andre. [1] https://git.linaro.org/people/rob.herring/u-boot.git/shortlog/refs/heads/highbank Mark Langsdorf (5): ARM: highbank: add reset support for Calxeda Midway machine cmd_scsi: use lbaint_t for LBA values instead of u32 ahci: support LBA48 data reads for 2+TB drives ahci: extend data io wait to 10s highbank: add custom ahci_link_up function Rob Herring (3): ARM: highbank: add missing SCU register setup for reset ARM: bootm: allow skipping fdt memory node fixup ARM: highbank: remove DRAM bank setup arch/arm/lib/board.c | 2 + arch/arm/lib/bootm-fdt.c | 5 +- board/highbank/Makefile | 2 +- board/highbank/ahci.c | 218 +++++++++++++++++++++++++++++++++++++++++++++ board/highbank/highbank.c | 37 ++++++-- common/cmd_scsi.c | 58 ++++++++++-- drivers/block/ahci.c | 32 +++++-- include/configs/highbank.h | 2 +- include/scsi.h | 1 + 9 files changed, 331 insertions(+), 26 deletions(-) create mode 100644 board/highbank/ahci.c -- 1.8.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot