On Fri, Nov 28, 2008 at 1:45 AM, Carl-Daniel Hailfinger
<[EMAIL PROTECTED]> wrote:

> +/* Error codes */
> +#define SPI_INVALID_OPCODE     2
> +#define SPI_INVALID_ADDRESS    3

I did meet access block problem because of reading addresses below
BBA, when trying to implement sst25lf040a support. I was given
"Transaction error", and it took me a little while to figure out the
reason.

>        /* unknown / not programmed command */
>        if (opcode_index == -1) {
>                printf_debug("Invalid OPCODE 0x%02x\n", cmd);
> -               return 1;
> +               return SPI_INVALID_OPCODE;

Looking forward to more diagnostic output.

yu ning

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to