**** BEGIN LOGGING AT Wed Oct 10 02:59:57 2007 Oct 10 13:40:30 morning all Oct 10 13:40:38 drath: whats cookin today? Oct 10 14:35:25 drath: i really think that nand.c should be totally ignorant of the buswidth of the nand flash Oct 10 14:36:34 hey prpplague Oct 10 14:36:55 drath: greetings Oct 10 14:37:06 drath: beer-thirty there yet? Oct 10 14:38:18 prpplague: imho every hour with a "pm" qualifies for that ;) Oct 10 14:38:19 drath: imho all the data i/o from within nand.c should be done as u32, the controller code, i.e. the lpc3180 or s3c24xx should handle the proper breakdown of the data Oct 10 14:38:24 drath: hehe Oct 10 14:38:27 drath: good deal Oct 10 14:45:30 prpplague: well, in case of a manufacturer id read for example, we want exactly one bus-size data word - what would you return in that case? Oct 10 14:46:57 a 32-bit read could hold 2x16bit or 4x8bit - we need to know that bus-width to know what that data is Oct 10 14:47:06 drath: i'd still return a u32, just have some code to break out the ids Oct 10 14:47:33 drath: hmm Oct 10 14:48:21 drath: the problem i have is that even though this is a 8-bit buswidth, all the access to it is designed around operations doing x32 Oct 10 14:50:04 drath: i'll tinker around some more, but i still think the nand.c data i/o should be x32 and let the controller code do the actually low level buswidth control Oct 10 14:50:50 prpplague: heh, feel free to propose a patch that works for you and i'll have a look at it Oct 10 14:53:27 drath: will do, still testing and tinkering Oct 10 14:53:39 drath: just thought i'd break the ice on the topic Oct 10 14:54:49 drath: a good example for me is the fact that the address function call doesn't know if it it needs one write or four Oct 10 14:55:00 drath: thats handled in the controller code Oct 10 14:55:17 drath: i.e. in my s3c24xx code i do one x32 write Oct 10 14:56:03 prpplague: if this is only about performance: that's what the ->read_page and ->write_page functions are for Oct 10 14:56:51 prpplague: the controller is free to do whatever it wants in that case, it should just return the data Oct 10 14:57:07 drath: it is only partly related to performance Oct 10 21:56:43 drath: ping Oct 10 21:57:01 drath: nm Oct 10 21:57:06 unping Oct 11 00:39:16 anyone done serial over ethernet **** ENDING LOGGING AT Thu Oct 11 02:59:56 2007