The following series adds support for the LCD panel on the ATSTK1000. To use this, you must first apply both of the following series:
http://lists.denx.de/pipermail/u-boot/2008-September/039826.html http://lists.denx.de/pipermail/u-boot/2008-September/039833.html I'm a bit unsure what to do about this. While I certainly want LCD support out of the box on all boards that support it, this patchset brings the U-Boot image size dangerously close to 128k, which is the space we currently have available with the current MTD partitioning layout hardcoded into the kernel. With NAND flash support added on top of this, the ATSTK1006 image ends up at almost 150k, and there are still other features I'd like to support in the future, e.g. libfdt, Hush parser, USB, etc. So this means I can either merge this as-is but disabled by default (which is bad from a testing perspective), disable some other features, or change the partitioning. Doing the latter will also make it possible to introduce redundant environment, but it means current kernels will break. Since the ATSTK1000 doesn't actually ship with a filesystem in flash by default, the breakage will probably be limited to a handful of customized boards, but people who have done this kind of customization probably won't like that the flash layout changes behind their back. What do everyone think about this? Is redundant environment and a boatload of features worth breaking compatibility with current kernels? Haavard Shortlog and diffstat for the whole series follows. Haavard Skinnemoen (6): ATSTK1000: Make the MACBs individually selectable avr32: Add clk and portmux infrastructure for the LCDC avr32: Reserve memory for LCD framebuffer spi: Add spi_xfer_single() convenience wrapper ATSTK1000: Add driver for the onboard LCD panel ATSTK1000: LCD support board/atmel/atstk1000/Makefile | 1 + board/atmel/atstk1000/atstk1000.c | 105 ++++++++++++++- board/atmel/atstk1000/ltv350qv.c | 157 +++++++++++++++++++++ board/atmel/atstk1000/ltv350qv.h | 95 +++++++++++++ cpu/at32ap/at32ap700x/portmux.c | 14 ++ include/asm-avr32/arch-at32ap700x/chip-features.h | 5 + include/asm-avr32/arch-at32ap700x/clk.h | 6 + include/asm-avr32/arch-at32ap700x/portmux.h | 3 + include/asm-avr32/global_data.h | 1 + include/configs/atstk1002.h | 25 ++++ include/configs/atstk1006.h | 26 ++++ include/spi.h | 15 ++- lib_avr32/board.c | 6 + 13 files changed, 457 insertions(+), 2 deletions(-) create mode 100644 board/atmel/atstk1000/ltv350qv.c create mode 100644 board/atmel/atstk1000/ltv350qv.h _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot