From 8494be33e8b20c33ab8a03a7a06287cdd10b5382 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 3 Oct 2011 15:19:57 +0000 Subject: [PATCH] Update comments, dates, ... housekeeping git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4012 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc17xx/lpc17_internal.h | 2 +- arch/arm/src/sam3u/Make.defs | 2 +- arch/arm/src/sam3u/sam3u_spi.c | 2 +- arch/arm/src/sam3u/sam3u_spi.h | 2 +- configs/sam3u-ek/src/sam3uek_internal.h | 2 +- configs/sam3u-ek/src/up_boot.c | 2 +- configs/sam3u-ek/src/up_spi.c | 2 +- include/nuttx/spi.h | 6 ++++-- 8 files changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_internal.h b/arch/arm/src/lpc17xx/lpc17_internal.h index 06bf3a9f4c..aa2ddc4899 100755 --- a/arch/arm/src/lpc17xx/lpc17_internal.h +++ b/arch/arm/src/lpc17xx/lpc17_internal.h @@ -1,7 +1,7 @@ /************************************************************************************ * arch/arm/src/lpc17xx/lpc17_internal.h * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/Make.defs b/arch/arm/src/sam3u/Make.defs index 4aac19b40e..b3bdac72b4 100644 --- a/arch/arm/src/sam3u/Make.defs +++ b/arch/arm/src/sam3u/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # arch/arm/src/sam3u/Make.defs # -# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/sam3u_spi.c b/arch/arm/src/sam3u/sam3u_spi.c index 3646134d10..e3ba0a1bfc 100644 --- a/arch/arm/src/sam3u/sam3u_spi.c +++ b/arch/arm/src/sam3u/sam3u_spi.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/sam3u/sam3u_spi.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/sam3u/sam3u_spi.h b/arch/arm/src/sam3u/sam3u_spi.h index 6fa0b6959c..f0d3af4961 100644 --- a/arch/arm/src/sam3u/sam3u_spi.h +++ b/arch/arm/src/sam3u/sam3u_spi.h @@ -1,7 +1,7 @@ /**************************************************************************************** * arch/arm/src/sam3u/sam3u_spi.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/sam3uek_internal.h b/configs/sam3u-ek/src/sam3uek_internal.h index 2bc6d397df..c7f9d42783 100644 --- a/configs/sam3u-ek/src/sam3uek_internal.h +++ b/configs/sam3u-ek/src/sam3uek_internal.h @@ -2,7 +2,7 @@ * configs/sam3uek_eval/src/sam3uek_internal.h * arch/arm/src/board/sam3uek_internal.n * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/up_boot.c b/configs/sam3u-ek/src/up_boot.c index a6dde5e1f0..87e91f0393 100644 --- a/configs/sam3u-ek/src/up_boot.c +++ b/configs/sam3u-ek/src/up_boot.c @@ -2,7 +2,7 @@ * configs/sam3u-ek/src/up_boot.c * arch/arm/src/board/up_boot.c * - * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/configs/sam3u-ek/src/up_spi.c b/configs/sam3u-ek/src/up_spi.c index 99739983e3..3b5089238b 100644 --- a/configs/sam3u-ek/src/up_spi.c +++ b/configs/sam3u-ek/src/up_spi.c @@ -2,7 +2,7 @@ * configs/sam3u-ek/src/up_spi.c * arch/arm/src/board/up_spi.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/include/nuttx/spi.h b/include/nuttx/spi.h index c5a9d0ff33..bd55ec5e2a 100644 --- a/include/nuttx/spi.h +++ b/include/nuttx/spi.h @@ -49,14 +49,16 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ - /* Configuration ************************************************************/ - /* CONFIG_SPI_OWNBUS - Set if there is only one active device on the SPI bus. * No locking or SPI configuration will be performed. It is not necessary * for clients to lock, re-configure, etc.. * CONFIG_SPI_EXCHANGE - Driver supports a single exchange method * (vs a recvblock() and sndblock ()methods). + * CONFIG_SPI_CMDDATA - Devices on the SPI bus require out-of-band support + * to distinguish command transfers from data transfers. Such devices + * will often support either 9-bit SPI (yech) or 8-bit SPI and a GPIO + * output that selects between command and data. */ /* Access macros ************************************************************/ -- GitLab