Dear Macpaul Lin, In message <1303718498-20740-1-git-send-email-macp...@andestech.com> you wrote: > andes_spi is an spi interface developed by Andes Tech. > > Signed-off-by: Macpaul Lin <macp...@andestech.com> > Cc: Wolfgang Denk <w...@denx.de> > Cc: Mike Frysinger <vap...@gentoo.org> > --- > Changes for v2: > - Replace redundant length checking by min(len, 4). > - Remove redundant debug marco. > - Replace reading register in debug() by local variable. > - Add Baud rate setup code (APB register) according to datasheet. > Changes for v3: > - Add comment to explain why the hardware doesn't allow changing > frequency. > - Remove unnecessary varible initialization to zero. > - Refine the loop of data writing. > > drivers/spi/Makefile | 1 + > drivers/spi/andes_spi.c | 302 > +++++++++++++++++++++++++++++++++++++++++++++++ > drivers/spi/andes_spi.h | 128 ++++++++++++++++++++ > 3 files changed, 431 insertions(+), 0 deletions(-) > create mode 100644 drivers/spi/andes_spi.c > create mode 100644 drivers/spi/andes_spi.h
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de It became apparent that one reason why the Ice Giants were known as the Ice Giants was because they were, well, giants. The other was that they were made of ice. -Terry Pratchett, _Sourcery_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot