[flashrom] erase failed: ASUS A8AE-LE
Paul Menzel
paulepanter at users.sourceforge.net
Wed May 4 09:24:44 CEST 2011
Dear Stefan,
Am Mittwoch, den 04.05.2011, 03:27 +0200 schrieb Stefan Tauner:
> with the help of xvilka, idwer and roysjosh i did my first board enable
> today. it was a standard awdflash RE job; the disassembly is on
> xvilka's gobby server, if you are interested.
is there a tutorial somewhere or could you write something up and put
into the coreboot (blog) planet.
[…]
> Subject: [PATCH] add board enable for Asus A8AE-LE (HP OEM)
>
>
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> ---
> board_enable.c | 26 ++++++++++++++++++++++++++
> 1 files changed, 26 insertions(+), 0 deletions(-)
>
> diff --git a/board_enable.c b/board_enable.c
> index 3b0a4fb..a368809 100644
> --- a/board_enable.c
> +++ b/board_enable.c
> @@ -1081,6 +1081,31 @@ static int board_artecgroup_dbe6x(void)
> }
>
> /*
> + * Suited for:
> + * - Asus A8AE-LE (Codename AmberineM; used in Compaq Presario 061)
> + */
> +static int amd_sbxxx_gpio9_raise(void)
> +{
> + struct pci_dev *dev;
> + uint32_t reg; //GPIO_12_to_4_Cntrl CI_Reg: A8h
> +
> + dev = pci_dev_find(0x1002, 0x4372); /* AMD SMBus Controller */
> + if (!dev) {
> + msg_perr("\nERROR: AMD SMBus Controller (0x4372) not found.\n");
> + return -1;
> + }
> +
> + reg = pci_read_long(dev, 0xA8);
> + // enable output (0: enable, 1: tristate)
> + reg &= ~((uint32_t)0x20<<8);// GPIO9 output enabble is at bit 5 in 0xA9
If your patch gets committed, please fix s/enabble/enable/.
[…]
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110504/d3b26ba9/attachment.asc>
More information about the flashrom
mailing list