diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/rtems/machine/param.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/machine/param.h index 4168f1f6c..fd244431d 100644 --- a/newlib/libc/sys/rtems/machine/param.h +++ b/newlib/libc/sys/rtems/machine/param.h @@ -34,8 +34,13 @@ #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ #define DEV_BSIZE (1<<DEV_BSHIFT) +#if defined(__AVR__) || defined(__h8300__) +#define BLKDEV_IOSIZE 1024 +#define MAXPHYS (1 * 1024) /* max raw I/O transfer size */ +#else #define BLKDEV_IOSIZE 2048 #define MAXPHYS (64 * 1024) /* max raw I/O transfer size */ +#endif #define UPAGES 2 /* pages of u-area */ |