Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-06-22 Thread Wolfgang Denk
Dear Marek Vasut, In message <201206221444.46242.ma...@denx.de> you wrote: > > I think we're missing each others point. So, lemme put it this way: > > We have CPU X, which uses sequence of commands, sequence A. > We have CPU Y, which uses sequence of commands, sequence B. > > We want make targe

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-06-22 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201205231422.17293.ma...@denx.de> you wrote: > > > What would be wrong if all boards would use the same > > > "u-boot.bin.sdcard" target name? > > > > That such file (u-boot.bin.sdcard) would be generated by a different tool > > for each di

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-06-21 Thread Wolfgang Denk
Dear Marek Vasut, In message <201205231422.17293.ma...@denx.de> you wrote: > > > What would be wrong if all boards would use the same "u-boot.bin.sdcard" > > target name? > > That such file (u-boot.bin.sdcard) would be generated by a different tool for > each different board, unlike u-boot.bin

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201205231334.53948.ma...@denx.de> you wrote: > > > > Maybe add some switch statement based on CONFIG_MX28 or another > > > > within the target? > > > > > > I can't parse this sentence - and I don't understand why you think > > > any specifi

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Wolfgang Denk
Dear Marek Vasut, In message <201205231334.53948.ma...@denx.de> you wrote: > > > > Maybe add some switch statement based on CONFIG_MX28 or another within > > > the target? > > > > I can't parse this sentence - and I don't understand why you think > > any specific name would be needed or useful.

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201205231144.04272.ma...@denx.de> you wrote: > > > Because there'd then be no way to tell apart u-boot.bin.sd for another > > > target but mx28. > > > > Maybe add some switch statement based on CONFIG_MX28 or another within > > the target?

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Wolfgang Denk
Dear Marek Vasut, In message <201205231144.04272.ma...@denx.de> you wrote: > > > Because there'd then be no way to tell apart u-boot.bin.sd for another > > target but mx28. > > Maybe add some switch statement based on CONFIG_MX28 or another within the > target? I can't parse this sentence - an

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Wolfgang Denk
Dear Marek Vasut, In message <201205231127.51935.ma...@denx.de> you wrote: > > Because there'd then be no way to tell apart u-boot.bin.sd for another target > but mx28. So what? We also use "u-boot.bin" for all targets. What's the difference? > > Would it not be useful to automatically build

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Marek Vasut
Dear Wolfgang Denk, > > Dear Marek Vasut, > > > > In message <1337729574-30475-1-git-send-email-ma...@denx.de> you wrote: > > > These targets allow for easy invocation of mxstool, for generating > > > the u-boot images bootable in mx28 CPU. > > > > Thanks. > > > > > +$(obj)u-boot.mx28.sd: $(ob

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <1337729574-30475-1-git-send-email-ma...@denx.de> you wrote: > > These targets allow for easy invocation of mxstool, for generating > > the u-boot images bootable in mx28 CPU. > > Thanks. > > > +$(obj)u-boot.mx28.sd: $(obj)u-boot.sb > > +

Re: [U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-23 Thread Wolfgang Denk
Dear Marek Vasut, In message <1337729574-30475-1-git-send-email-ma...@denx.de> you wrote: > These targets allow for easy invocation of mxstool, for generating > the u-boot images bootable in mx28 CPU. Thanks. > +$(obj)u-boot.mx28.sd: $(obj)u-boot.sb > + $(obj)tools/mxsboot sd $(obj)

[U-Boot] [PATCH 1/3] MX28: Add u-boot.mx28.sd and u-boot.mx28.nand make targets

2012-05-22 Thread Marek Vasut
These targets allow for easy invocation of mxstool, for generating the u-boot images bootable in mx28 CPU. Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Stefano Babic Cc: Fabio Estevam CC: Albert Aribaud --- Makefile |6 ++ doc/README.mx28_common | 39 +