Re: [U-Boot] [PATCH 2/2] sunxi/spl: Detect at runtime where from SPL was read

2015-05-29 Thread Hans de Goede
Hi, On 29-05-15 14:18, Daniel Kochmański wrote: Hi, Hans de Goede writes: Hi, On 28-05-15 15:18, Daniel Kochmański wrote: Make possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. D

Re: [U-Boot] [PATCH 2/2] sunxi/spl: Detect at runtime where from SPL was read

2015-05-29 Thread Daniel Kochmański
Hi, Hans de Goede writes: > Hi, > > On 28-05-15 15:18, Daniel Kochmański wrote: >> Make possible using single `u-boot-sunxi-with-spl.bin` binary for both >> NAND memory and SD card. Detection where SPL was read from is >> implemented in `spl_boot_device`. >> >> Detection is performed only if `SPL

Re: [U-Boot] [PATCH 2/2] sunxi/spl: Detect at runtime where from SPL was read

2015-05-29 Thread Hans de Goede
Hi, On 28-05-15 15:18, Daniel Kochmański wrote: Make possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. Detection is performed only if `SPL_NAND_SUPPORT` is enabled. Unless SD card con

[U-Boot] [PATCH 2/2] sunxi/spl: Detect at runtime where from SPL was read

2015-05-28 Thread Daniel Kochmański
Make possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. Detection is performed only if `SPL_NAND_SUPPORT` is enabled. Unless SD card contains valid signature we assume, that SPL was read